VTK
vtkMatrixToLinearTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMatrixToLinearTransform.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 __vtkMatrixToLinearTransform_h
32 #define __vtkMatrixToLinearTransform_h
33 
34 #include "vtkLinearTransform.h"
35 
36 class vtkMatrix4x4;
37 
39 {
40  public:
43  void PrintSelf (ostream& os, vtkIndent indent);
44 
46 
48  virtual void SetInput(vtkMatrix4x4*);
49  vtkGetObjectMacro(Input,vtkMatrix4x4);
51 
54  void Inverse();
55 
57  unsigned long GetMTime();
58 
61 
63  VTK_LEGACY(void SetMatrix(vtkMatrix4x4 *matrix));
64 
65 protected:
68 
69  void InternalUpdate();
70  void InternalDeepCopy(vtkAbstractTransform *transform);
71 
74 private:
75  vtkMatrixToLinearTransform(const vtkMatrixToLinearTransform&); // Not implemented.
76  void operator=(const vtkMatrixToLinearTransform&); // Not implemented.
77 };
78 
79 #endif
unsigned long GetMTime()
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:37
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
static vtkObject * New()
void PrintSelf(ostream &os, vtkIndent indent)
abstract superclass for linear transformations
convert a matrix to a transform