VTK  9.1.0
vtkMatrixMathFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkObject.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
47#ifndef vtkMatrixMathFilter_h
48#define vtkMatrixMathFilter_h
49
50#include "vtkDataSetAlgorithm.h"
51#include "vtkFiltersVerdictModule.h" // For export macro
52
53class vtkCell;
54class vtkDataArray;
55
56class VTKFILTERSVERDICT_EXPORT vtkMatrixMathFilter : public vtkDataSetAlgorithm
57{
58
59 enum
60 {
61 NONE = 0,
62 DETERMINANT,
63 EIGENVALUE,
64 EIGENVECTOR,
65 INVERSE
66 };
67 enum
68 {
69 POINT_QUALITY = 0,
70 CELL_QUALITY
71 };
72
73public:
74 void PrintSelf(ostream& os, vtkIndent indent) override;
77
79
82 vtkSetMacro(Operation, int);
83 vtkGetMacro(Operation, int);
84 void SetOperationToDeterminant() { this->SetOperation(DETERMINANT); }
85 void SetOperationToEigenvalue() { this->SetOperation(EIGENVALUE); }
86 void SetOperationToEigenvector() { this->SetOperation(EIGENVECTOR); }
87 void SetOperationToInverse() { this->SetOperation(INVERSE); }
89
90protected:
93
95
97
98private:
100 void operator=(const vtkMatrixMathFilter&) = delete;
101};
102
103#endif // vtkMatrixMathFilter_h
abstract class to specify cell behavior
Definition: vtkCell.h:147
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:159
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:113
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()