37 #ifndef __vtkSphereSource_h
38 #define __vtkSphereSource_h
42 #define VTK_MAX_SPHERE_RESOLUTION 1024
58 vtkGetMacro(Radius,
double);
63 vtkSetVector3Macro(Center,
double);
64 vtkGetVectorMacro(Center,
double,3);
71 vtkGetMacro(ThetaResolution,
int);
78 vtkGetMacro(PhiResolution,
int);
83 vtkSetClampMacro(StartTheta,
double,0.0,360.0);
84 vtkGetMacro(StartTheta,
double);
89 vtkSetClampMacro(EndTheta,
double,0.0,360.0);
90 vtkGetMacro(EndTheta,
double);
96 vtkSetClampMacro(StartPhi,
double,0.0,360.0);
97 vtkGetMacro(StartPhi,
double);
102 vtkSetClampMacro(EndPhi,
double,0.0,360.0);
103 vtkGetMacro(EndPhi,
double);
113 vtkSetMacro(LatLongTessellation,
int);
114 vtkGetMacro(LatLongTessellation,
int);
115 vtkBooleanMacro(LatLongTessellation,
int);
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
create a polygonal sphere centered at the origin
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_MAX_SPHERE_RESOLUTION