VTK  9.3.0
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
25 #ifndef vtkMatrixMathFilter_h
26 #define vtkMatrixMathFilter_h
27 
28 #include "vtkDataSetAlgorithm.h"
29 #include "vtkFiltersVerdictModule.h" // For export macro
30 
31 VTK_ABI_NAMESPACE_BEGIN
32 class vtkCell;
33 class vtkDataArray;
34 
35 class VTKFILTERSVERDICT_EXPORT vtkMatrixMathFilter : public vtkDataSetAlgorithm
36 {
37 
38  enum
39  {
40  NONE = 0,
41  DETERMINANT,
42  EIGENVALUE,
43  EIGENVECTOR,
44  INVERSE
45  };
46  enum
47  {
48  POINT_QUALITY = 0,
49  CELL_QUALITY
50  };
51 
52 public:
53  void PrintSelf(ostream& os, vtkIndent indent) override;
56 
58 
61  vtkSetMacro(Operation, int);
62  vtkGetMacro(Operation, int);
63  void SetOperationToDeterminant() { this->SetOperation(DETERMINANT); }
64  void SetOperationToEigenvalue() { this->SetOperation(EIGENVALUE); }
65  void SetOperationToEigenvector() { this->SetOperation(EIGENVECTOR); }
66  void SetOperationToInverse() { this->SetOperation(INVERSE); }
68 
69 protected:
72 
74 
75  int Operation;
76 
77 private:
79  void operator=(const vtkMatrixMathFilter&) = delete;
80 };
81 
82 VTK_ABI_NAMESPACE_END
83 #endif // vtkMatrixMathFilter_h
abstract class to specify cell behavior
Definition: vtkCell.h:59
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:38
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