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 =========================================================================*/
28 #ifndef vtkMatrixMathFilter_h
29 #define vtkMatrixMathFilter_h
30 
31 #include "vtkFiltersVerdictModule.h" // For export macro
32 #include "vtkDataSetAlgorithm.h"
33 
34 class vtkCell;
35 class vtkDataArray;
36 
37 class VTKFILTERSVERDICT_EXPORT vtkMatrixMathFilter : public vtkDataSetAlgorithm
38 {
39 
40  enum
41  {
42  NONE = 0,
43  DETERMINANT,
44  EIGENVALUE,
45  EIGENVECTOR,
46  INVERSE
47  };
48  enum
49  {
50  POINT_QUALITY = 0,
51  CELL_QUALITY
52  };
53 
54 public:
55  void PrintSelf (ostream&, vtkIndent);
58 
60 
63  vtkSetMacro(Operation, int)
64  vtkGetMacro(Operation, int)
65  void SetOperationToDeterminant ()
66  {
67  this->SetOperation(DETERMINANT);
68  }
70  {
71  this->SetOperation(EIGENVALUE);
72  }
74  {
75  this->SetOperation(EIGENVECTOR);
76  }
78  {
79  this->SetOperation(INVERSE);
80  }
82 
83 protected:
86 
87  virtual int RequestData
89 
90  int Operation;
91 
92 private:
93  vtkMatrixMathFilter(const vtkMatrixMathFilter&) VTK_DELETE_FUNCTION;
94  void operator=(const vtkMatrixMathFilter&) VTK_DELETE_FUNCTION;
95 };
96 
97 #endif // vtkMatrixMathFilter_h
vtkMatrixMathFilter::SetOperationToEigenvector
void SetOperationToEigenvector()
Definition: vtkMatrixMathFilter.h:73
vtkMatrixMathFilter::New
static vtkMatrixMathFilter * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
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:52
vtkMatrixMathFilter
Calculate functions of quality of the elements of a mesh.
Definition: vtkMatrixMathFilter.h:38
vtkCell
abstract class to specify cell behavior
Definition: vtkCell.h:60
vtkMatrixMathFilter::Operation
int Operation
Definition: vtkMatrixMathFilter.h:90
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkMatrixMathFilter::~vtkMatrixMathFilter
~vtkMatrixMathFilter()
vtkMatrixMathFilter::PrintSelf
void PrintSelf(ostream &, vtkIndent)
Methods invoked by print to print information about the object including superclasses.
vtkMatrixMathFilter::SetOperationToInverse
void SetOperationToInverse()
Definition: vtkMatrixMathFilter.h:77
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkDataSetAlgorithm.h
vtkMatrixMathFilter::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkMatrixMathFilter::vtkMatrixMathFilter
vtkMatrixMathFilter()
vtkMatrixMathFilter::SetOperationToEigenvalue
void SetOperationToEigenvalue()
Definition: vtkMatrixMathFilter.h:69