dox/Common/vtkMatrixToLinearTransform.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00035
#ifndef __vtkMatrixToLinearTransform_h
00036
#define __vtkMatrixToLinearTransform_h
00037
00038
#include "vtkLinearTransform.h"
00039
00040
class vtkMatrix4x4;
00041
00042 class VTK_COMMON_EXPORT vtkMatrixToLinearTransform :
public vtkLinearTransform
00043 {
00044
public:
00045
static vtkMatrixToLinearTransform *
New();
00046 vtkTypeRevisionMacro(vtkMatrixToLinearTransform,
vtkLinearTransform);
00047
void PrintSelf (ostream& os,
vtkIndent indent);
00048
00050
00052
virtual void SetInput(
vtkMatrix4x4*);
00053 vtkGetObjectMacro(Input,
vtkMatrix4x4);
00055
00058
void Inverse();
00059
00061
unsigned long GetMTime();
00062
00064
vtkAbstractTransform *
MakeTransform();
00065
00067
00068 void SetMatrix(
vtkMatrix4x4 *matrix) {
00069 this->SetInput(matrix);
00070 vtkWarningMacro(
"SetMatrix: deprecated, use SetInput() instead"); }
00072
00073
protected:
00074 vtkMatrixToLinearTransform();
00075 ~vtkMatrixToLinearTransform();
00076
00077
void InternalUpdate();
00078
void InternalDeepCopy(
vtkAbstractTransform *transform);
00079
00080 int InverseFlag;
00081 vtkMatrix4x4 *Input;
00082
private:
00083 vtkMatrixToLinearTransform(
const vtkMatrixToLinearTransform&);
00084
void operator=(
const vtkMatrixToLinearTransform&);
00085 };
00086
00087
#endif