VTK
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 
35 
36 class vtkMatrix4x4;
37 
39 {
40  public:
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 
59 
61  VTK_LEGACY(void SetMatrix(vtkMatrix4x4 *matrix));
62 
63 protected:
66 
67  void InternalUpdate();
68  void InternalDeepCopy(vtkAbstractTransform *transform);
69 
72 private:
74  void operator=(const vtkMatrixToHomogeneousTransform&); // Not implemented.
75 };
76 
77 #endif
unsigned long GetMTime()
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:37
superclass for homogeneous transformations
virtual vtkAbstractTransform * MakeTransform()=0
a simple class to control print indentation
Definition: vtkIndent.h:37
void InternalDeepCopy(vtkAbstractTransform *transform)
superclass for all geometric transformations
#define VTK_COMMON_EXPORT
virtual void Inverse()=0
void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()