38 #ifndef vtkSphereSource_h 39 #define vtkSphereSource_h 41 #include "vtkFiltersSourcesModule.h" 44 #define VTK_MAX_SPHERE_RESOLUTION 1024 63 vtkGetMacro(Radius,
double);
70 vtkSetVector3Macro(Center,
double);
71 vtkGetVectorMacro(Center,
double,3);
80 vtkGetMacro(ThetaResolution,
int);
89 vtkGetMacro(PhiResolution,
int);
96 vtkSetClampMacro(StartTheta,
double,0.0,360.0);
97 vtkGetMacro(StartTheta,
double);
104 vtkSetClampMacro(EndTheta,
double,0.0,360.0);
105 vtkGetMacro(EndTheta,
double);
113 vtkSetClampMacro(StartPhi,
double,0.0,360.0);
114 vtkGetMacro(StartPhi,
double);
121 vtkSetClampMacro(EndPhi,
double,0.0,360.0);
122 vtkGetMacro(EndPhi,
double);
145 vtkSetMacro(OutputPointsPrecision,
int);
146 vtkGetMacro(OutputPointsPrecision,
int);
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
create a polygonal sphere centered at the origin
Superclass for algorithms that produce only polydata as output.
~vtkSphereSource() override
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTypeBool LatLongTessellation
int OutputPointsPrecision
#define VTK_MAX_SPHERE_RESOLUTION
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.