VTK  9.2.6
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 =========================================================================*/
37 #ifndef vtkMatrixMathFilter_h
38 #define vtkMatrixMathFilter_h
39 
40 #include "vtkDataSetAlgorithm.h"
41 #include "vtkFiltersVerdictModule.h" // For export macro
42 
43 class vtkCell;
44 class vtkDataArray;
45 
46 class VTKFILTERSVERDICT_EXPORT vtkMatrixMathFilter : public vtkDataSetAlgorithm
47 {
48 
49  enum
50  {
51  NONE = 0,
52  DETERMINANT,
53  EIGENVALUE,
54  EIGENVECTOR,
55  INVERSE
56  };
57  enum
58  {
59  POINT_QUALITY = 0,
60  CELL_QUALITY
61  };
62 
63 public:
64  void PrintSelf(ostream& os, vtkIndent indent) override;
67 
69 
72  vtkSetMacro(Operation, int);
73  vtkGetMacro(Operation, int);
74  void SetOperationToDeterminant() { this->SetOperation(DETERMINANT); }
75  void SetOperationToEigenvalue() { this->SetOperation(EIGENVALUE); }
76  void SetOperationToEigenvector() { this->SetOperation(EIGENVECTOR); }
77  void SetOperationToInverse() { this->SetOperation(INVERSE); }
79 
80 protected:
83 
85 
86  int Operation;
87 
88 private:
90  void operator=(const vtkMatrixMathFilter&) = delete;
91 };
92 
93 #endif // vtkMatrixMathFilter_h
abstract class to specify cell behavior
Definition: vtkCell.h:70
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:65
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:49
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Calculate functions of quality of the elements of a mesh.
void SetOperationToEigenvalue()
Set/Get the particular estimator used to function the quality of query.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOperationToEigenvector()
Set/Get the particular estimator used to function the quality of query.
static vtkMatrixMathFilter * New()
void SetOperationToDeterminant()
Set/Get the particular estimator used to function the quality of query.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetOperationToInverse()
Set/Get the particular estimator used to function the quality of query.
~vtkMatrixMathFilter() override