00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00046 #ifndef __vtkTextureMapToSphere_h
00047 #define __vtkTextureMapToSphere_h
00048
00049 #include "vtkDataSetAlgorithm.h"
00050
00051 class VTK_GRAPHICS_EXPORT vtkTextureMapToSphere : public vtkDataSetAlgorithm
00052 {
00053 public:
00054 vtkTypeRevisionMacro(vtkTextureMapToSphere,vtkDataSetAlgorithm);
00055 void PrintSelf(ostream& os, vtkIndent indent);
00056
00059 static vtkTextureMapToSphere *New();
00060
00062
00063 vtkSetVector3Macro(Center,double);
00064 vtkGetVectorMacro(Center,double,3);
00066
00068
00070 vtkSetMacro(AutomaticSphereGeneration,int);
00071 vtkGetMacro(AutomaticSphereGeneration,int);
00072 vtkBooleanMacro(AutomaticSphereGeneration,int);
00074
00076
00080 vtkSetMacro(PreventSeam,int);
00081 vtkGetMacro(PreventSeam,int);
00082 vtkBooleanMacro(PreventSeam,int);
00084
00085 protected:
00086 vtkTextureMapToSphere();
00087 ~vtkTextureMapToSphere() {};
00088
00089 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00090
00091 double Center[3];
00092 int AutomaticSphereGeneration;
00093 int PreventSeam;
00094
00095 private:
00096 vtkTextureMapToSphere(const vtkTextureMapToSphere&);
00097 void operator=(const vtkTextureMapToSphere&);
00098 };
00099
00100 #endif
00101
00102