36 #ifndef vtkSphereSource_h
37 #define vtkSphereSource_h
39 #include "vtkFiltersSourcesModule.h"
42 VTK_ABI_NAMESPACE_BEGIN
65 vtkGetMacro(Radius,
double);
72 vtkSetVector3Macro(Center,
double);
73 vtkGetVectorMacro(Center,
double, 3);
82 vtkGetMacro(ThetaResolution,
int);
91 vtkGetMacro(PhiResolution,
int);
98 vtkSetClampMacro(StartTheta,
double, 0.0, 360.0);
99 vtkGetMacro(StartTheta,
double);
106 vtkSetClampMacro(EndTheta,
double, 0.0, 360.0);
107 vtkGetMacro(EndTheta,
double);
115 vtkSetClampMacro(StartPhi,
double, 0.0, 360.0);
116 vtkGetMacro(StartPhi,
double);
123 vtkSetClampMacro(EndPhi,
double, 0.0, 360.0);
124 vtkGetMacro(EndPhi,
double);
147 vtkSetMacro(OutputPointsPrecision,
int);
148 vtkGetMacro(OutputPointsPrecision,
int);
185 VTK_ABI_NAMESPACE_END
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(int res=8)
int OutputPointsPrecision
~vtkSphereSource() override=default
vtkTypeBool LatLongTessellation
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for obtaining type information, and printing.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTypeBool GenerateNormals
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override