00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00021 #ifndef __vtkSMTransformProxy_h_
00022 #define __vtkSMTransformProxy_h_
00023
00024 #include "vtkSMProxy.h"
00025 class vtkMatrix4x4;
00026
00027 class VTK_EXPORT vtkSMTransformProxy : public vtkSMProxy
00028 {
00029 public:
00030 static vtkSMTransformProxy* New();
00031 vtkTypeRevisionMacro(vtkSMTransformProxy, vtkSMProxy);
00032 void PrintSelf(ostream& os, vtkIndent indent);
00033
00035
00036 vtkSetVector3Macro(Position, double);
00037 vtkGetVector3Macro(Position, double);
00039
00041
00042 vtkSetVector3Macro(Rotation, double);
00043 vtkGetVector3Macro(Rotation, double);
00045
00047
00048 vtkSetVector3Macro(Scale, double);
00049 vtkGetVector3Macro(Scale, double);
00051
00055 virtual void UpdateVTKObjects();
00056
00057 protected:
00058 vtkSMTransformProxy();
00059 ~vtkSMTransformProxy();
00060
00061 double Position[3];
00062 double Rotation[3];
00063 double Scale[3];
00064
00066 void GetMatrix(vtkMatrix4x4 *mat);
00067
00068 private:
00069 vtkSMTransformProxy(const vtkSMTransformProxy&);
00070 void operator=(const vtkSMTransformProxy&);
00071 };
00072
00073 #endif
00074