37 #ifndef vtkSphereSource_h
38 #define vtkSphereSource_h
43 #define VTK_MAX_SPHERE_RESOLUTION 1024
59 vtkGetMacro(Radius,
double);
64 vtkSetVector3Macro(Center,
double);
65 vtkGetVectorMacro(Center,
double,3);
72 vtkGetMacro(ThetaResolution,
int);
79 vtkGetMacro(PhiResolution,
int);
84 vtkSetClampMacro(StartTheta,
double,0.0,360.0);
85 vtkGetMacro(StartTheta,
double);
90 vtkSetClampMacro(EndTheta,
double,0.0,360.0);
91 vtkGetMacro(EndTheta,
double);
97 vtkSetClampMacro(StartPhi,
double,0.0,360.0);
98 vtkGetMacro(StartPhi,
double);
103 vtkSetClampMacro(EndPhi,
double,0.0,360.0);
104 vtkGetMacro(EndPhi,
double);
114 vtkSetMacro(LatLongTessellation,
int);
115 vtkGetMacro(LatLongTessellation,
int);
116 vtkBooleanMacro(LatLongTessellation,
int);
124 vtkSetMacro(OutputPointsPrecision,
int);
125 vtkGetMacro(OutputPointsPrecision,
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)
int OutputPointsPrecision
#define VTK_MAX_SPHERE_RESOLUTION