vtkTextureMapToPlane.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00056 #ifndef __vtkTextureMapToPlane_h
00057 #define __vtkTextureMapToPlane_h
00058
00059 #include "vtkDataSetToDataSetFilter.h"
00060
00061 class VTK_GRAPHICS_EXPORT vtkTextureMapToPlane : public vtkDataSetToDataSetFilter
00062 {
00063 public:
00064 vtkTypeRevisionMacro(vtkTextureMapToPlane,vtkDataSetToDataSetFilter);
00065 void PrintSelf(ostream& os, vtkIndent indent);
00066
00069 static vtkTextureMapToPlane *New();
00070
00072
00074 vtkSetVector3Macro(Origin,double);
00075 vtkGetVectorMacro(Origin,double,3);
00077
00079
00080 vtkSetVector3Macro(Point1,double);
00081 vtkGetVectorMacro(Point1,double,3);
00083
00085
00086 vtkSetVector3Macro(Point2,double);
00087 vtkGetVectorMacro(Point2,double,3);
00089
00091
00094 vtkSetVector3Macro(Normal,double);
00095 vtkGetVectorMacro(Normal,double,3);
00097
00099
00100 vtkSetVector2Macro(SRange,double);
00101 vtkGetVectorMacro(SRange,double,2);
00103
00105
00106 vtkSetVector2Macro(TRange,double);
00107 vtkGetVectorMacro(TRange,double,2);
00109
00111
00112 vtkSetMacro(AutomaticPlaneGeneration,int);
00113 vtkGetMacro(AutomaticPlaneGeneration,int);
00114 vtkBooleanMacro(AutomaticPlaneGeneration,int);
00116
00117 protected:
00118 vtkTextureMapToPlane();
00119 ~vtkTextureMapToPlane() {};
00120
00121 void Execute();
00122 void ComputeNormal();
00123
00124 double Origin[3];
00125 double Point1[3];
00126 double Point2[3];
00127 double Normal[3];
00128 double SRange[2];
00129 double TRange[2];
00130 int AutomaticPlaneGeneration;
00131
00132 private:
00133 vtkTextureMapToPlane(const vtkTextureMapToPlane&);
00134 void operator=(const vtkTextureMapToPlane&);
00135 };
00136
00137 #endif