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
16#ifndef vtkMatrixMathFilter_h
17#define vtkMatrixMathFilter_h
18
19#include "vtkDataSetAlgorithm.h"
20#include "vtkFiltersVerdictModule.h" // For export macro
21
22VTK_ABI_NAMESPACE_BEGIN
23class vtkCell;
24class vtkDataArray;
25
26class 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
43public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
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
60protected:
63
65
67
68private:
70 void operator=(const vtkMatrixMathFilter&) = delete;
71};
72
73VTK_ABI_NAMESPACE_END
74#endif // vtkMatrixMathFilter_h
abstract class to specify cell behavior
Definition vtkCell.h:50
abstract superclass for arrays of numeric data
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition vtkIndent.h:29
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.
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
static vtkMatrixMathFilter * New()