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);
57  static vtkMatrixMathFilter* New ();
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
Store vtkAlgorithm input/output information.
Calculate functions of quality of the elements of a mesh.
#define VTKFILTERSVERDICT_EXPORT
abstract class to specify cell behavior
Definition: vtkCell.h:58
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
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()