dox/Common/vtkMatrixToHomogeneousTransform.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 __vtkMatrixToHomogeneousTransform_h
00036
#define __vtkMatrixToHomogeneousTransform_h
00037
00038
#include "vtkHomogeneousTransform.h"
00039
00040
class vtkMatrix4x4;
00041
00042 class VTK_COMMON_EXPORT vtkMatrixToHomogeneousTransform :
public vtkHomogeneousTransform
00043 {
00044
public:
00045
static vtkMatrixToHomogeneousTransform *
New();
00046 vtkTypeRevisionMacro(vtkMatrixToHomogeneousTransform,
vtkHomogeneousTransform);
00047
void PrintSelf (ostream& os,
vtkIndent indent);
00048
00049
00050
00051
virtual void SetInput(
vtkMatrix4x4*);
00052 vtkGetObjectMacro(Input,
vtkMatrix4x4);
00053
00056
void Inverse();
00057
00059
unsigned long GetMTime();
00060
00062
vtkAbstractTransform *
MakeTransform();
00063
00065
00066 void SetMatrix(
vtkMatrix4x4 *matrix) {
00067 this->SetInput(matrix);
00068 vtkWarningMacro(
"SetMatrix: deprecated, use SetInput() instead"); }
00070
00071
protected:
00072 vtkMatrixToHomogeneousTransform();
00073 ~vtkMatrixToHomogeneousTransform();
00074
00075
void InternalUpdate();
00076
void InternalDeepCopy(
vtkAbstractTransform *transform);
00077
00078 int InverseFlag;
00079 vtkMatrix4x4 *Input;
00080
private:
00081 vtkMatrixToHomogeneousTransform(
const vtkMatrixToHomogeneousTransform&);
00082
void operator=(
const vtkMatrixToHomogeneousTransform&);
00083 };
00084
00085
#endif