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
31VTK_ABI_NAMESPACE_BEGIN
32class vtkCell;
33class vtkDataArray;
34
35class 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
52public:
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
69protected:
72
74
76
77private:
79 void operator=(const vtkMatrixMathFilter&) = delete;
80};
81
82VTK_ABI_NAMESPACE_END
83#endif // vtkMatrixMathFilter_h
abstract class to specify cell behavior
Definition vtkCell.h:59
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: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.
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()