00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00049 #ifndef __vtkTextureMapToSphere_h
00050 #define __vtkTextureMapToSphere_h
00051
00052 #include "vtkDataSetAlgorithm.h"
00053
00054 class VTK_GRAPHICS_EXPORT vtkTextureMapToSphere : public vtkDataSetAlgorithm
00055 {
00056 public:
00057 vtkTypeRevisionMacro(vtkTextureMapToSphere,vtkDataSetAlgorithm);
00058 void PrintSelf(ostream& os, vtkIndent indent);
00059
00062 static vtkTextureMapToSphere *New();
00063
00065
00066 vtkSetVector3Macro(Center,double);
00067 vtkGetVectorMacro(Center,double,3);
00069
00071
00073 vtkSetMacro(AutomaticSphereGeneration,int);
00074 vtkGetMacro(AutomaticSphereGeneration,int);
00075 vtkBooleanMacro(AutomaticSphereGeneration,int);
00077
00079
00083 vtkSetMacro(PreventSeam,int);
00084 vtkGetMacro(PreventSeam,int);
00085 vtkBooleanMacro(PreventSeam,int);
00087
00088 protected:
00089 vtkTextureMapToSphere();
00090 ~vtkTextureMapToSphere() {};
00091
00092 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00093
00094 double Center[3];
00095 int AutomaticSphereGeneration;
00096 int PreventSeam;
00097
00098 private:
00099 vtkTextureMapToSphere(const vtkTextureMapToSphere&);
00100 void operator=(const vtkTextureMapToSphere&);
00101 };
00102
00103 #endif
00104
00105