VTK
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
32
#ifndef vtkMatrixToHomogeneousTransform_h
33
#define vtkMatrixToHomogeneousTransform_h
34
35
#include "vtkCommonTransformsModule.h"
// For export macro
36
#include "
vtkHomogeneousTransform.h
"
37
38
class
vtkMatrix4x4
;
39
40
class
VTKCOMMONTRANSFORMS_EXPORT
vtkMatrixToHomogeneousTransform
:
public
vtkHomogeneousTransform
41
{
42
public
:
43
static
vtkMatrixToHomogeneousTransform
*
New
();
44
vtkTypeMacro(
vtkMatrixToHomogeneousTransform
,
vtkHomogeneousTransform
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
46
47
// Set the input matrix. Any modifications to the matrix will be
48
// reflected in the transformation.
49
virtual
void
SetInput(
vtkMatrix4x4
*);
50
vtkGetObjectMacro(Input,
vtkMatrix4x4
);
51
56
void
Inverse
() VTK_OVERRIDE;
57
61
vtkMTimeType
GetMTime() VTK_OVERRIDE;
62
66
vtkAbstractTransform
*MakeTransform() VTK_OVERRIDE;
67
68
protected:
69
vtkMatrixToHomogeneousTransform
();
70
~
vtkMatrixToHomogeneousTransform
() VTK_OVERRIDE;
71
72
void
InternalUpdate() VTK_OVERRIDE;
73
void
InternalDeepCopy(
vtkAbstractTransform
*transform) VTK_OVERRIDE;
74
75
int
InverseFlag;
76
vtkMatrix4x4
*Input;
77
private:
78
vtkMatrixToHomogeneousTransform
(const
vtkMatrixToHomogeneousTransform
&) VTK_DELETE_FUNCTION;
79
void
operator=(const
vtkMatrixToHomogeneousTransform
&) VTK_DELETE_FUNCTION;
80
};
81
82
#endif
vtkHomogeneousTransform
superclass for homogeneous transformations
Definition:
vtkHomogeneousTransform.h:34
vtkAbstractTransform
superclass for all geometric transformations
Definition:
vtkAbstractTransform.h:50
vtkAbstractTransform::Inverse
virtual void Inverse()=0
Invert the transformation.
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkMatrixToHomogeneousTransform
convert a matrix to a transform
Definition:
vtkMatrixToHomogeneousTransform.h:40
vtkMTimeType
vtkTypeUInt64 vtkMTimeType
Definition:
vtkType.h:248
vtkHomogeneousTransform.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkMatrix4x4
represent and manipulate 4x4 transformation matrices
Definition:
vtkMatrix4x4.h:41
vtkHomogeneousTransform::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Generated by
1.8.16