32 #ifndef vtkSphereSource_h
33 #define vtkSphereSource_h
35 #include "vtkFiltersSourcesModule.h"
38 #define VTK_MAX_SPHERE_RESOLUTION 1024
57 vtkGetMacro(Radius,
double);
64 vtkSetVector3Macro(Center,
double);
65 vtkGetVectorMacro(Center,
double,3);
74 vtkGetMacro(ThetaResolution,
int);
83 vtkGetMacro(PhiResolution,
int);
90 vtkSetClampMacro(StartTheta,
double,0.0,360.0);
91 vtkGetMacro(StartTheta,
double);
98 vtkSetClampMacro(EndTheta,
double,0.0,360.0);
99 vtkGetMacro(EndTheta,
double);
107 vtkSetClampMacro(StartPhi,
double,0.0,360.0);
108 vtkGetMacro(StartPhi,
double);
115 vtkSetClampMacro(EndPhi,
double,0.0,360.0);
116 vtkGetMacro(EndPhi,
double);
129 vtkGetMacro(LatLongTessellation,
int);
140 vtkGetMacro(OutputPointsPrecision,
int);
158 int LatLongTessellation;
159 int OutputPointsPrecision;
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
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
#define VTK_MAX_SPHERE_RESOLUTION
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.