VTK  9.3.20240423
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
41VTK_ABI_NAMESPACE_BEGIN
42class vtkCell;
43class vtkDataArray;
44
45class 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
62public:
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
79protected:
82
84
86
87private:
89 void operator=(const vtkMatrixMathFilter&) = delete;
90};
91
92VTK_ABI_NAMESPACE_END
93#endif // vtkMatrixMathFilter_h
abstract class to specify cell behavior
Definition vtkCell.h:130
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: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.
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()