VTK  9.3.20240328
vtkMatrixMathFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
35 #ifndef vtkMatrixMathFilter_h
36 #define vtkMatrixMathFilter_h
37 
38 #include "vtkDataSetAlgorithm.h"
39 #include "vtkFiltersVerdictModule.h" // For export macro
40 
41 VTK_ABI_NAMESPACE_BEGIN
42 class vtkCell;
43 class vtkDataArray;
44 
45 class VTKFILTERSVERDICT_EXPORT vtkMatrixMathFilter : public vtkDataSetAlgorithm
46 {
47 
48  enum
49  {
50  NONE = 0,
51  DETERMINANT,
52  EIGENVALUE,
53  EIGENVECTOR,
54  INVERSE
55  };
56  enum
57  {
58  POINT_QUALITY = 0,
59  CELL_QUALITY
60  };
61 
62 public:
63  void PrintSelf(ostream& os, vtkIndent indent) override;
66 
68 
71  vtkSetMacro(Operation, int);
72  vtkGetMacro(Operation, int);
73  void SetOperationToDeterminant() { this->SetOperation(DETERMINANT); }
74  void SetOperationToEigenvalue() { this->SetOperation(EIGENVALUE); }
75  void SetOperationToEigenvector() { this->SetOperation(EIGENVECTOR); }
76  void SetOperationToInverse() { this->SetOperation(INVERSE); }
78 
79 protected:
82 
84 
85  int Operation;
86 
87 private:
89  void operator=(const vtkMatrixMathFilter&) = delete;
90 };
91 
92 VTK_ABI_NAMESPACE_END
93 #endif // vtkMatrixMathFilter_h
abstract class to specify cell behavior
Definition: vtkCell.h:130
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:154
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:108
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