00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00051 #ifndef __vtkTextureMapToCylinder_h
00052 #define __vtkTextureMapToCylinder_h
00053
00054 #include "vtkDataSetAlgorithm.h"
00055
00056 class VTK_GRAPHICS_EXPORT vtkTextureMapToCylinder : public vtkDataSetAlgorithm
00057 {
00058 public:
00059 vtkTypeMacro(vtkTextureMapToCylinder,vtkDataSetAlgorithm);
00060 void PrintSelf(ostream& os, vtkIndent indent);
00061
00065 static vtkTextureMapToCylinder *New();
00066
00068
00069 vtkSetVector3Macro(Point1,double);
00070 vtkGetVectorMacro(Point1,double,3);
00072
00074
00075 vtkSetVector3Macro(Point2,double);
00076 vtkGetVectorMacro(Point2,double,3);
00078
00080
00082 vtkSetMacro(AutomaticCylinderGeneration,int);
00083 vtkGetMacro(AutomaticCylinderGeneration,int);
00084 vtkBooleanMacro(AutomaticCylinderGeneration,int);
00086
00088
00092 vtkSetMacro(PreventSeam,int);
00093 vtkGetMacro(PreventSeam,int);
00094 vtkBooleanMacro(PreventSeam,int);
00096
00097 protected:
00098 vtkTextureMapToCylinder();
00099 ~vtkTextureMapToCylinder() {};
00100
00101 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00102
00103 double Point1[3];
00104 double Point2[3];
00105 int AutomaticCylinderGeneration;
00106 int PreventSeam;
00107
00108 private:
00109 vtkTextureMapToCylinder(const vtkTextureMapToCylinder&);
00110 void operator=(const vtkTextureMapToCylinder&);
00111 };
00112
00113 #endif
00114
00115