38#ifndef vtkSphereSource_h
39#define vtkSphereSource_h
41#include "vtkFiltersSourcesModule.h"
44#define VTK_MAX_SPHERE_RESOLUTION 1024
63 vtkGetMacro(Radius,
double);
70 vtkSetVector3Macro(Center,
double);
71 vtkGetVectorMacro(Center,
double,3);
80 vtkGetMacro(ThetaResolution,
int);
89 vtkGetMacro(PhiResolution,
int);
96 vtkSetClampMacro(StartTheta,
double,0.0,360.0);
97 vtkGetMacro(StartTheta,
double);
104 vtkSetClampMacro(EndTheta,
double,0.0,360.0);
105 vtkGetMacro(EndTheta,
double);
113 vtkSetClampMacro(StartPhi,
double,0.0,360.0);
114 vtkGetMacro(StartPhi,
double);
121 vtkSetClampMacro(EndPhi,
double,0.0,360.0);
122 vtkGetMacro(EndPhi,
double);
135 vtkGetMacro(LatLongTessellation,
int);
146 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
~vtkSphereSource() override
vtkSphereSource(int res=8)
int OutputPointsPrecision
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.
static vtkSphereSource * New()
Construct sphere with radius=0.5 and default resolution 8 in both Phi and Theta directions.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_MAX_SPHERE_RESOLUTION