VTK
vtkMatrixMathFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkObject.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
27 #ifndef __vtkMatrixMathFilter_h
28 #define __vtkMatrixMathFilter_h
29 
30 #include "vtkDataSetAlgorithm.h"
31 
32 class vtkCell;
33 class vtkDataArray;
34 
36 {
37  //BTX
38  enum
39  {
40  NONE = 0,
41  DETERMINANT,
42  EIGENVALUE,
43  EIGENVECTOR,
44  INVERSE
45  };
46  enum
47  {
48  POINT_QUALITY = 0,
49  CELL_QUALITY
50  };
51  //ETX
52 
53 public:
54  void PrintSelf (ostream&, vtkIndent);
56  static vtkMatrixMathFilter* New ();
57 
59 
61  vtkSetMacro(Operation, int)
62  vtkGetMacro(Operation, int)
63  void SetOperationToDeterminant ()
64  {
65  this->SetOperation(DETERMINANT);
66  }
68  {
69  this->SetOperation(EIGENVALUE);
70  }
72  {
73  this->SetOperation(EIGENVECTOR);
74  }
76  {
77  this->SetOperation(INVERSE);
78  }
80 
81 protected:
84 
85  virtual int RequestData
87 
88  int Operation;
89 
90 private:
91  vtkMatrixMathFilter(const vtkMatrixMathFilter&); // Not implemented
92  void operator=(const vtkMatrixMathFilter&); // Not implemented
93 };
94 
95 #endif // __vtkMatrixMathFilter_h
#define VTK_GRAPHICS_EXPORT
Store vtkAlgorithm input/output information.
Calculate functions of quality of the elements of a mesh.
abstract class to specify cell behavior
Definition: vtkCell.h:57
a simple class to control print indentation
Definition: vtkIndent.h:37
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:53
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()