VTK  9.2.5
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=========================================================================*/
28#ifndef vtkMatrixMathFilter_h
29#define vtkMatrixMathFilter_h
30
31#include "vtkDataSetAlgorithm.h"
32#include "vtkFiltersVerdictModule.h" // For export macro
33
34class vtkCell;
35class vtkDataArray;
36
37class VTKFILTERSVERDICT_EXPORT vtkMatrixMathFilter : public vtkDataSetAlgorithm
38{
39
40 enum
41 {
42 NONE = 0,
43 DETERMINANT,
44 EIGENVALUE,
45 EIGENVECTOR,
46 INVERSE
47 };
48 enum
49 {
50 POINT_QUALITY = 0,
51 CELL_QUALITY
52 };
53
54public:
55 void PrintSelf(ostream& os, vtkIndent indent) override;
58
60
63 vtkSetMacro(Operation, int);
64 vtkGetMacro(Operation, int);
65 void SetOperationToDeterminant() { this->SetOperation(DETERMINANT); }
66 void SetOperationToEigenvalue() { this->SetOperation(EIGENVALUE); }
67 void SetOperationToEigenvector() { this->SetOperation(EIGENVECTOR); }
68 void SetOperationToInverse() { this->SetOperation(INVERSE); }
70
71protected:
74
76
78
79private:
81 void operator=(const vtkMatrixMathFilter&) = delete;
82};
83
84#endif // vtkMatrixMathFilter_h
abstract class to specify cell behavior
Definition: vtkCell.h:61
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:56
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:40
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()