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
vtkAbstractTransform::GetMTime
unsigned long GetMTime()
vtkMatrix4x4
represent and manipulate 4x4 transformation matrices
Definition:
vtkMatrix4x4.h:37
vtkMatrixToHomogeneousTransform
convert a matrix to a transform
Definition:
vtkMatrixToHomogeneousTransform.h:38
vtkHomogeneousTransform
superclass for homogeneous transformations
Definition:
vtkHomogeneousTransform.h:32
vtkAbstractTransform::InternalUpdate
virtual void InternalUpdate()
Definition:
vtkAbstractTransform.h:257
vtkAbstractTransform::MakeTransform
virtual vtkAbstractTransform * MakeTransform()=0
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:37
vtkHomogeneousTransform::InternalDeepCopy
void InternalDeepCopy(vtkAbstractTransform *transform)
vtkAbstractTransform
superclass for all geometric transformations
Definition:
vtkAbstractTransform.h:48
VTK_COMMON_EXPORT
#define VTK_COMMON_EXPORT
Definition:
vtkWin32Header.h:269
vtkAbstractTransform::Inverse
virtual void Inverse()=0
vtkMatrixToHomogeneousTransform::Input
vtkMatrix4x4 * Input
Definition:
vtkMatrixToHomogeneousTransform.h:71
vtkMatrixToHomogeneousTransform::InverseFlag
int InverseFlag
Definition:
vtkMatrixToHomogeneousTransform.h:70
vtkHomogeneousTransform::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkObject::New
static vtkObject * New()
vtkHomogeneousTransform.h
Generated on Thu Oct 24 2019 21:14:25 for VTK by
1.8.6