ALBA
vtkALBAToLinearTransform.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: $RCSfile: vtkALBAToLinearTransform.h,v $
5 Language: C++
6 Date: $Date: 2010-07-08 15:40:18 $
7 Version: $Revision: 1.2.22.1 $
8
9 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
10 All rights reserved.
11 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
12
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notice for more information.
16
17=========================================================================*/
18
19
20#ifndef __vtkALBAToLinearTransform_h
21#define __vtkALBAToLinearTransform_h
22
23#include "vtkLinearTransform.h"
24#include "albaConfigure.h"
25
26
28class albaMatrix;
29
37class ALBA_EXPORT vtkALBAToLinearTransform : public vtkLinearTransform
38{
39 public:
42 void PrintSelf (ostream& os, vtkIndent indent);
43
47 virtual void SetInputMatrix(albaMatrix *);
48
50 albaMatrix *GetInputMatrix() {return m_InputMatrix;}
51
56
58 albaTransformBase *GetInputTransform() {return m_InputTransform;}
59
63 void Inverse();
64
66 unsigned long GetMTime();
67
69 vtkAbstractTransform *MakeTransform();
70
71protected:
74
76 void InternalDeepCopy(vtkAbstractTransform *transform);
77
79
82
83private:
84 vtkALBAToLinearTransform(const vtkALBAToLinearTransform&); // Not implemented.
85 void operator=(const vtkALBAToLinearTransform&); // Not implemented.
86};
87
88#endif
albaMatrix - Time stamped 4x4 Matrix.
Definition: albaMatrix.h:44
Superclass for Homogeneous transformations.
vtkALBAToLinearTransform - convert a ALBA transform or matrix into a VTK transform.
vtkTypeRevisionMacro(vtkALBAToLinearTransform, vtkLinearTransform)
albaMatrix * GetInputMatrix()
return connected matrix if exists.
albaTransformBase * GetInputTransform()
return connected matrix if exists.
virtual void SetInputMatrix(albaMatrix *)
Set the input matrix.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkALBAToLinearTransform * New()
void Inverse()
The input matrix is left as-is, but the transformation matrix is inverted.
albaTransformBase * m_InputTransform
virtual void SetInputTransform(albaTransformBase *)
Set the input transform.
unsigned long GetMTime()
Get the MTime: this is the bit of magic that makes everything work.
void InternalDeepCopy(vtkAbstractTransform *transform)
vtkAbstractTransform * MakeTransform()
Make a new transform of the same type.