VTK  9.3.1
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
16 #ifndef vtkMatrixMathFilter_h
17 #define vtkMatrixMathFilter_h
18 
19 #include "vtkDataSetAlgorithm.h"
20 #include "vtkFiltersVerdictModule.h" // For export macro
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class vtkCell;
24 class vtkDataArray;
25 
26 class VTKFILTERSVERDICT_EXPORT vtkMatrixMathFilter : public vtkDataSetAlgorithm
27 {
28 
29  enum
30  {
31  NONE = 0,
32  DETERMINANT,
33  EIGENVALUE,
34  EIGENVECTOR,
35  INVERSE
36  };
37  enum
38  {
39  POINT_QUALITY = 0,
40  CELL_QUALITY
41  };
42 
43 public:
44  void PrintSelf(ostream& os, vtkIndent indent) override;
46  static vtkMatrixMathFilter* New();
47 
49 
52  vtkSetMacro(Operation, int);
53  vtkGetMacro(Operation, int);
54  void SetOperationToDeterminant() { this->SetOperation(DETERMINANT); }
55  void SetOperationToEigenvalue() { this->SetOperation(EIGENVALUE); }
56  void SetOperationToEigenvector() { this->SetOperation(EIGENVECTOR); }
57  void SetOperationToInverse() { this->SetOperation(INVERSE); }
59 
60 protected:
61  ~vtkMatrixMathFilter() override;
63 
65 
66  int Operation;
67 
68 private:
70  void operator=(const vtkMatrixMathFilter&) = delete;
71 };
72 
73 VTK_ABI_NAMESPACE_END
74 #endif // vtkMatrixMathFilter_h
Store vtkAlgorithm input/output information.
void SetOperationToEigenvector()
Set/Get the particular estimator used to function the quality of query.
Calculate functions of quality of the elements of a mesh.
void SetOperationToInverse()
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.
abstract class to specify cell behavior
Definition: vtkCell.h:49
a simple class to control print indentation
Definition: vtkIndent.h:28
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:44
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetOperationToDeterminant()
Set/Get the particular estimator used to function the quality of query.
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
void SetOperationToEigenvalue()
Set/Get the particular estimator used to function the quality of query.
static vtkDataSetAlgorithm * New()