00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00037 #ifndef __vtkTransformTextureCoords_h
00038 #define __vtkTransformTextureCoords_h
00039
00040 #include "vtkDataSetAlgorithm.h"
00041
00042 class VTK_GRAPHICS_EXPORT vtkTransformTextureCoords : public vtkDataSetAlgorithm
00043 {
00044 public:
00045 vtkTypeRevisionMacro(vtkTransformTextureCoords,vtkDataSetAlgorithm);
00046 void PrintSelf(ostream& os, vtkIndent indent);
00047
00051 static vtkTransformTextureCoords *New();
00052
00054
00056 vtkSetVector3Macro(Position,double);
00057 vtkGetVectorMacro(Position,double,3);
00059
00061
00063 void AddPosition(double deltaR, double deltaS, double deltaT);
00064 void AddPosition(double deltaPosition[3]);
00066
00068
00070 vtkSetVector3Macro(Scale,double);
00071 vtkGetVectorMacro(Scale,double,3);
00073
00075
00079 vtkSetVector3Macro(Origin,double);
00080 vtkGetVectorMacro(Origin,double,3);
00082
00084
00086 vtkSetMacro(FlipR,int);
00087 vtkGetMacro(FlipR,int);
00088 vtkBooleanMacro(FlipR,int);
00090
00092
00094 vtkSetMacro(FlipS,int);
00095 vtkGetMacro(FlipS,int);
00096 vtkBooleanMacro(FlipS,int);
00098
00100
00102 vtkSetMacro(FlipT,int);
00103 vtkGetMacro(FlipT,int);
00104 vtkBooleanMacro(FlipT,int);
00106
00107 protected:
00108 vtkTransformTextureCoords();
00109 ~vtkTransformTextureCoords() {};
00110
00111 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00112
00113 double Origin[3];
00114 double Position[3];
00115 double Scale[3];
00116 int FlipR;
00117 int FlipS;
00118 int FlipT;
00119 private:
00120 vtkTransformTextureCoords(const vtkTransformTextureCoords&);
00121 void operator=(const vtkTransformTextureCoords&);
00122 };
00123
00124 #endif