VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
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 "
vtkHomogeneousTransform.h
"
35
36
class
vtkMatrix4x4
;
37
38
class
VTK_COMMON_EXPORT
vtkMatrixToHomogeneousTransform
:
public
vtkHomogeneousTransform
39
{
40
public
:
41
static
vtkMatrixToHomogeneousTransform
*
New
();
42
vtkTypeMacro(
vtkMatrixToHomogeneousTransform
,
vtkHomogeneousTransform
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent);
44
45
// Set the input matrix. Any modifications to the matrix will be
46
// reflected in the transformation.
47
virtual
void
SetInput(
vtkMatrix4x4
*);
48
vtkGetObjectMacro(Input,
vtkMatrix4x4
);
49
52
void
Inverse
();
53
55
unsigned
long
GetMTime
();
56
58
vtkAbstractTransform
*
MakeTransform
();
59
61
VTK_LEGACY(
void
SetMatrix(
vtkMatrix4x4
*matrix));
62
63
protected
:
64
vtkMatrixToHomogeneousTransform
();
65
~
vtkMatrixToHomogeneousTransform
();
66
67
void
InternalUpdate
();
68
void
InternalDeepCopy
(
vtkAbstractTransform
*transform);
69
70
int
InverseFlag
;
71
vtkMatrix4x4
*
Input
;
72
private
:
73
vtkMatrixToHomogeneousTransform
(
const
vtkMatrixToHomogeneousTransform
&);
// Not implemented.
74
void
operator=(
const
vtkMatrixToHomogeneousTransform
&);
// Not implemented.
75
};
76
77
#endif
Generated on Sun Sep 15 2013 03:44:19 for VTK by
1.8.4