VTK  9.1.0
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
29#ifndef vtkMatrixToHomogeneousTransform_h
30#define vtkMatrixToHomogeneousTransform_h
31
32#include "vtkCommonTransformsModule.h" // For export macro
34
35class vtkMatrix4x4;
36
37class VTKCOMMONTRANSFORMS_EXPORT vtkMatrixToHomogeneousTransform : public vtkHomogeneousTransform
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
44 // Set the input matrix. Any modifications to the matrix will be
45 // reflected in the transformation.
46 virtual void SetInput(vtkMatrix4x4*);
47 vtkGetObjectMacro(Input, vtkMatrix4x4);
48
53 void Inverse() override;
54
59
64
65protected:
68
69 void InternalUpdate() override;
70 void InternalDeepCopy(vtkAbstractTransform* transform) override;
71
74
75private:
77 void operator=(const vtkMatrixToHomogeneousTransform&) = delete;
78};
79
80#endif
superclass for all geometric transformations
superclass for homogeneous transformations
a simple class to control print indentation
Definition: vtkIndent.h:113
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:145
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Inverse() override
The input matrix is left as-is, but the transformation matrix is inverted.
static vtkMatrixToHomogeneousTransform * New()
void InternalDeepCopy(vtkAbstractTransform *transform) override
Perform any subclass-specific DeepCopy.
vtkAbstractTransform * MakeTransform() override
Make a new transform of the same type.
vtkMTimeType GetMTime() override
Get the MTime: this is the bit of magic that makes everything work.
virtual void SetInput(vtkMatrix4x4 *)
void InternalUpdate() override
Perform any subclass-specific Update.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287