27 #ifndef vtkSphereSource_h
28 #define vtkSphereSource_h
30 #include "vtkFiltersSourcesModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
56 vtkGetMacro(Radius,
double);
63 vtkSetVector3Macro(Center,
double);
64 vtkGetVectorMacro(Center,
double, 3);
72 vtkSetClampMacro(ThetaResolution,
int, 3,
VTK_INT_MAX);
73 vtkGetMacro(ThetaResolution,
int);
81 vtkSetClampMacro(PhiResolution,
int, 3,
VTK_INT_MAX);
82 vtkGetMacro(PhiResolution,
int);
89 vtkSetClampMacro(StartTheta,
double, 0.0, 360.0);
90 vtkGetMacro(StartTheta,
double);
97 vtkSetClampMacro(EndTheta,
double, 0.0, 360.0);
98 vtkGetMacro(EndTheta,
double);
106 vtkSetClampMacro(StartPhi,
double, 0.0, 360.0);
107 vtkGetMacro(StartPhi,
double);
114 vtkSetClampMacro(EndPhi,
double, 0.0, 360.0);
115 vtkGetMacro(EndPhi,
double);
138 vtkSetMacro(OutputPointsPrecision,
int);
139 vtkGetMacro(OutputPointsPrecision,
int);
176 VTK_ABI_NAMESPACE_END
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.
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTypeBool LatLongTessellation
int OutputPointsPrecision
vtkTypeBool GenerateNormals
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.