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 "vtkFiltersVerdictModule.h" // For export macro
31 #include "vtkDataSetAlgorithm.h"
32 
33 class vtkCell;
34 class vtkDataArray;
35 
37 {
38  //BTX
39  enum
40  {
41  NONE = 0,
42  DETERMINANT,
43  EIGENVALUE,
44  EIGENVECTOR,
45  INVERSE
46  };
47  enum
48  {
49  POINT_QUALITY = 0,
50  CELL_QUALITY
51  };
52  //ETX
53 
54 public:
55  void PrintSelf (ostream&, vtkIndent);
58 
60 
62  vtkSetMacro(Operation, int)
63  vtkGetMacro(Operation, int)
64  void SetOperationToDeterminant ()
65  {
66  this->SetOperation(DETERMINANT);
67  }
69  {
70  this->SetOperation(EIGENVALUE);
71  }
73  {
74  this->SetOperation(EIGENVECTOR);
75  }
77  {
78  this->SetOperation(INVERSE);
79  }
81 
82 protected:
85 
86  virtual int RequestData
88 
89  int Operation;
90 
91 private:
92  vtkMatrixMathFilter(const vtkMatrixMathFilter&); // Not implemented
93  void operator=(const vtkMatrixMathFilter&); // Not implemented
94 };
95 
96 #endif // vtkMatrixMathFilter_h
vtkMatrixMathFilter::SetOperationToEigenvector
void SetOperationToEigenvector()
Definition: vtkMatrixMathFilter.h:72
VTKFILTERSVERDICT_EXPORT
#define VTKFILTERSVERDICT_EXPORT
Definition: vtkFiltersVerdictModule.h:15
vtkglX::NONE
const GLenum NONE
Definition: vtkgl.h:19335
vtkMatrixMathFilter::New
static vtkMatrixMathFilter * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:51
vtkMatrixMathFilter
Calculate functions of quality of the elements of a mesh.
Definition: vtkMatrixMathFilter.h:37
vtkCell
abstract class to specify cell behavior
Definition: vtkCell.h:62
vtkMatrixMathFilter::Operation
int Operation
Definition: vtkMatrixMathFilter.h:89
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkMatrixMathFilter::~vtkMatrixMathFilter
~vtkMatrixMathFilter()
vtkMatrixMathFilter::PrintSelf
void PrintSelf(ostream &, vtkIndent)
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkMatrixMathFilter::SetOperationToInverse
void SetOperationToInverse()
Definition: vtkMatrixMathFilter.h:76
vtkFiltersVerdictModule.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkDataSetAlgorithm.h
vtkMatrixMathFilter::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkMatrixMathFilter::vtkMatrixMathFilter
vtkMatrixMathFilter()
vtkMatrixMathFilter::SetOperationToEigenvalue
void SetOperationToEigenvalue()
Definition: vtkMatrixMathFilter.h:68