VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
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
=========================================================================*/
27
#ifndef __vtkMatrixMathFilter_h
28
#define __vtkMatrixMathFilter_h
29
30
#include "
vtkDataSetAlgorithm.h
"
31
32
class
vtkCell
;
33
class
vtkDataArray
;
34
35
class
VTK_GRAPHICS_EXPORT
vtkMatrixMathFilter
:
public
vtkDataSetAlgorithm
36
{
37
//BTX
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
//ETX
52
53
public
:
54
void
PrintSelf
(ostream&,
vtkIndent
);
55
vtkTypeMacro(
vtkMatrixMathFilter
,
vtkDataSetAlgorithm
);
56
static
vtkMatrixMathFilter
*
New
();
57
59
61
vtkSetMacro(Operation,
int
)
62
vtkGetMacro(Operation,
int
)
63
void
SetOperationToDeterminant ()
64
{
65
this->SetOperation(DETERMINANT);
66
}
67
void
SetOperationToEigenvalue
()
68
{
69
this->SetOperation(EIGENVALUE);
70
}
71
void
SetOperationToEigenvector
()
72
{
73
this->SetOperation(EIGENVECTOR);
74
}
75
void
SetOperationToInverse
()
76
{
77
this->SetOperation(INVERSE);
78
}
80
81
protected
:
82
~
vtkMatrixMathFilter
();
83
vtkMatrixMathFilter
();
84
85
virtual
int
RequestData
86
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
87
88
int
Operation
;
89
90
private
:
91
vtkMatrixMathFilter
(
const
vtkMatrixMathFilter
&);
// Not implemented
92
void
operator=(
const
vtkMatrixMathFilter
&);
// Not implemented
93
};
94
95
#endif // __vtkMatrixMathFilter_h
Generated on Fri Aug 2 2013 12:19:49 for VTK by
1.8.4