136#ifndef vtkSphereSource_h
137#define vtkSphereSource_h
139#include "vtkFiltersSourcesModule.h"
142VTK_ABI_NAMESPACE_BEGIN
165 vtkGetMacro(Radius,
double);
172 vtkSetVector3Macro(Center,
double);
173 vtkGetVectorMacro(Center,
double, 3);
182 vtkGetMacro(ThetaResolution,
int);
191 vtkGetMacro(PhiResolution,
int);
198 vtkSetClampMacro(StartTheta,
double, 0.0, 360.0);
199 vtkGetMacro(StartTheta,
double);
206 vtkSetClampMacro(EndTheta,
double, 0.0, 360.0);
207 vtkGetMacro(EndTheta,
double);
215 vtkSetClampMacro(StartPhi,
double, 0.0, 360.0);
216 vtkGetMacro(StartPhi,
double);
223 vtkSetClampMacro(EndPhi,
double, 0.0, 360.0);
224 vtkGetMacro(EndPhi,
double);
247 vtkSetMacro(OutputPointsPrecision,
int);
248 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(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.
static vtkSphereSource * New()
Construct sphere with radius=0.5 and default resolution 8 in both Phi and Theta directions.
vtkTypeBool GenerateNormals
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override