33 #ifndef vtkSphereSource_h
34 #define vtkSphereSource_h
36 #include "vtkFiltersSourcesModule.h"
61 vtkGetMacro(Radius,
double);
68 vtkSetVector3Macro(Center,
double);
69 vtkGetVectorMacro(Center,
double, 3);
78 vtkGetMacro(ThetaResolution,
int);
87 vtkGetMacro(PhiResolution,
int);
94 vtkSetClampMacro(StartTheta,
double, 0.0, 360.0);
95 vtkGetMacro(StartTheta,
double);
102 vtkSetClampMacro(EndTheta,
double, 0.0, 360.0);
103 vtkGetMacro(EndTheta,
double);
111 vtkSetClampMacro(StartPhi,
double, 0.0, 360.0);
112 vtkGetMacro(StartPhi,
double);
119 vtkSetClampMacro(EndPhi,
double, 0.0, 360.0);
120 vtkGetMacro(EndPhi,
double);
143 vtkSetMacro(OutputPointsPrecision,
int);
144 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(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