31 #ifndef vtkTexturedSphereSource_h
32 #define vtkTexturedSphereSource_h
37 #define VTK_MAX_SPHERE_RESOLUTION 1024
52 vtkGetMacro(Radius,
double);
58 vtkGetMacro(ThetaResolution,
int);
64 vtkGetMacro(PhiResolution,
int);
69 vtkSetClampMacro(Theta,
double,0.0,360.0);
70 vtkGetMacro(Theta,
double);
75 vtkSetClampMacro(Phi,
double,0.0,180.0);
76 vtkGetMacro(Phi,
double);
84 vtkSetMacro(OutputPointsPrecision,
int);
85 vtkGetMacro(OutputPointsPrecision,
int);
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
~vtkTexturedSphereSource()
int OutputPointsPrecision
create a sphere centered at the origin
#define VTK_MAX_SPHERE_RESOLUTION
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation