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);
139 vtkSetMacro(OutputPointsPrecision,
int);
140 vtkGetMacro(OutputPointsPrecision,
int);
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
create a polygonal sphere centered at the origin
static vtkSphereSource * New()
Construct sphere with radius=0.5 and default resolution 8 in both Phi and Theta directions.
~vtkSphereSource() override
vtkSphereSource(int res=8)
int OutputPointsPrecision
vtkTypeBool LatLongTessellation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
#define VTK_MAX_SPHERE_RESOLUTION