VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkIdentityTransform.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkIdentityTransform.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 __vtkIdentityTransform_h
29
#define __vtkIdentityTransform_h
30
31
#include "
vtkLinearTransform.h
"
32
33
class
VTK_COMMON_EXPORT
vtkIdentityTransform
:
public
vtkLinearTransform
34
{
35
public
:
36
static
vtkIdentityTransform
*
New
();
37
38
vtkTypeMacro(
vtkIdentityTransform
,
vtkLinearTransform
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
43
void
TransformPoints
(
vtkPoints
*inPts,
vtkPoints
*outPts);
44
47
void
TransformNormals
(
vtkDataArray
*inNms,
vtkDataArray
*outNms);
48
51
void
TransformVectors
(
vtkDataArray
*inVrs,
vtkDataArray
*outVrs);
52
54
56
void
TransformPointsNormalsVectors
(
vtkPoints
*inPts,
57
vtkPoints
*outPts,
58
vtkDataArray
*inNms,
59
vtkDataArray
*outNms,
60
vtkDataArray
*inVrs,
61
vtkDataArray
*outVrs);
63
64
// Invert the transformation. This doesn't do anything to the
65
// identity transformation.
66
void
Inverse
() {};
67
69
71
void
InternalTransformPoint
(
const
float
in[3],
float
out[3]);
72
void
InternalTransformPoint
(
const
double
in[3],
double
out[3]);
74
76
78
void
InternalTransformNormal
(
const
float
in[3],
float
out[3]);
79
void
InternalTransformNormal
(
const
double
in[3],
double
out[3]);
81
83
85
void
InternalTransformVector
(
const
float
in[3],
float
out[3]);
86
void
InternalTransformVector
(
const
double
in[3],
double
out[3]);
88
90
92
void
InternalTransformDerivative
(
const
float
in[3],
float
out[3],
93
float
derivative[3][3]);
94
void
InternalTransformDerivative
(
const
double
in[3],
double
out[3],
95
double
derivative[3][3]);
97
100
vtkAbstractTransform
*
MakeTransform
();
101
102
protected
:
103
vtkIdentityTransform
();
104
~
vtkIdentityTransform
();
105
106
void
InternalDeepCopy
(
vtkAbstractTransform
*t);
107
108
private
:
109
vtkIdentityTransform
(
const
vtkIdentityTransform
&);
// Not implemented.
110
void
operator=(
const
vtkIdentityTransform
&);
// Not implemented.
111
};
112
113
#endif
114
115
116
117
118
Generated on Sun Sep 9 2012 13:03:26 for VTK by
1.8.1.2