136#ifndef vtkSphereSource_h
137#define vtkSphereSource_h
139#include "vtkFiltersSourcesModule.h"
143VTK_ABI_NAMESPACE_BEGIN
166 vtkGetMacro(Radius,
double);
173 vtkSetVector3Macro(Center,
double);
174 vtkGetVectorMacro(Center,
double, 3);
183 vtkGetMacro(ThetaResolution,
int);
192 vtkGetMacro(PhiResolution,
int);
199 vtkSetClampMacro(StartTheta,
double, 0.0, 360.0);
200 vtkGetMacro(StartTheta,
double);
207 vtkSetClampMacro(EndTheta,
double, 0.0, 360.0);
208 vtkGetMacro(EndTheta,
double);
216 vtkSetClampMacro(StartPhi,
double, 0.0, 360.0);
217 vtkGetMacro(StartPhi,
double);
224 vtkSetClampMacro(EndPhi,
double, 0.0, 360.0);
225 vtkGetMacro(EndPhi,
double);
248 vtkSetMacro(OutputPointsPrecision,
int);
249 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