00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00040 #ifndef __vtkTransformTextureCoords_h
00041 #define __vtkTransformTextureCoords_h
00042
00043 #include "vtkDataSetAlgorithm.h"
00044
00045 class VTK_GRAPHICS_EXPORT vtkTransformTextureCoords : public vtkDataSetAlgorithm
00046 {
00047 public:
00048 vtkTypeRevisionMacro(vtkTransformTextureCoords,vtkDataSetAlgorithm);
00049 void PrintSelf(ostream& os, vtkIndent indent);
00050
00054 static vtkTransformTextureCoords *New();
00055
00057
00059 vtkSetVector3Macro(Position,double);
00060 vtkGetVectorMacro(Position,double,3);
00062
00064
00066 void AddPosition(double deltaR, double deltaS, double deltaT);
00067 void AddPosition(double deltaPosition[3]);
00069
00071
00073 vtkSetVector3Macro(Scale,double);
00074 vtkGetVectorMacro(Scale,double,3);
00076
00078
00082 vtkSetVector3Macro(Origin,double);
00083 vtkGetVectorMacro(Origin,double,3);
00085
00087
00089 vtkSetMacro(FlipR,int);
00090 vtkGetMacro(FlipR,int);
00091 vtkBooleanMacro(FlipR,int);
00093
00095
00097 vtkSetMacro(FlipS,int);
00098 vtkGetMacro(FlipS,int);
00099 vtkBooleanMacro(FlipS,int);
00101
00103
00105 vtkSetMacro(FlipT,int);
00106 vtkGetMacro(FlipT,int);
00107 vtkBooleanMacro(FlipT,int);
00109
00110 protected:
00111 vtkTransformTextureCoords();
00112 ~vtkTransformTextureCoords() {};
00113
00114 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00115
00116 double Origin[3];
00117 double Position[3];
00118 double Scale[3];
00119 int FlipR;
00120 int FlipS;
00121 int FlipT;
00122 private:
00123 vtkTransformTextureCoords(const vtkTransformTextureCoords&);
00124 void operator=(const vtkTransformTextureCoords&);
00125 };
00126
00127 #endif