VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
Transforms
vtkMatrixToHomogeneousTransform.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkMatrixToHomogeneousTransform.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
=========================================================================*/
15
31
#ifndef __vtkMatrixToHomogeneousTransform_h
32
#define __vtkMatrixToHomogeneousTransform_h
33
34
#include "vtkCommonTransformsModule.h"
// For export macro
35
#include "
vtkHomogeneousTransform.h
"
36
37
class
vtkMatrix4x4
;
38
39
class
VTKCOMMONTRANSFORMS_EXPORT
vtkMatrixToHomogeneousTransform
:
public
vtkHomogeneousTransform
40
{
41
public
:
42
static
vtkMatrixToHomogeneousTransform
*
New
();
43
vtkTypeMacro(
vtkMatrixToHomogeneousTransform
,
vtkHomogeneousTransform
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
46
// Set the input matrix. Any modifications to the matrix will be
47
// reflected in the transformation.
48
virtual
void
SetInput(
vtkMatrix4x4
*);
49
vtkGetObjectMacro(Input,
vtkMatrix4x4
);
50
53
void
Inverse
();
54
56
unsigned
long
GetMTime
();
57
59
vtkAbstractTransform
*
MakeTransform
();
60
61
protected
:
62
vtkMatrixToHomogeneousTransform
();
63
~
vtkMatrixToHomogeneousTransform
();
64
65
void
InternalUpdate
();
66
void
InternalDeepCopy
(
vtkAbstractTransform
*transform);
67
68
int
InverseFlag
;
69
vtkMatrix4x4
*
Input
;
70
private
:
71
vtkMatrixToHomogeneousTransform
(
const
vtkMatrixToHomogeneousTransform
&);
// Not implemented.
72
void
operator=(
const
vtkMatrixToHomogeneousTransform
&);
// Not implemented.
73
};
74
75
#endif
Generated on Thu May 24 2012 22:22:13 for VTK by
1.8.1