29 #ifndef vtkTexturedSphereSource_h 30 #define vtkTexturedSphereSource_h 32 #include "vtkFiltersSourcesModule.h" 35 #define VTK_MAX_SPHERE_RESOLUTION 1024 54 vtkGetMacro(Radius,
double);
62 vtkGetMacro(ThetaResolution,
int);
70 vtkGetMacro(PhiResolution,
int);
77 vtkSetClampMacro(Theta,
double,0.0,360.0);
78 vtkGetMacro(Theta,
double);
85 vtkSetClampMacro(Phi,
double,0.0,180.0);
86 vtkGetMacro(Phi,
double);
95 vtkSetMacro(OutputPointsPrecision,
int);
96 vtkGetMacro(OutputPointsPrecision,
int);
~vtkTexturedSphereSource() override
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int OutputPointsPrecision
create a sphere centered at the origin
#define VTK_MAX_SPHERE_RESOLUTION
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.