142#ifndef vtkSphereSource_h
143#define vtkSphereSource_h
145#include "vtkFiltersSourcesModule.h"
170 vtkGetMacro(Radius,
double);
177 vtkSetVector3Macro(Center,
double);
178 vtkGetVectorMacro(Center,
double, 3);
187 vtkGetMacro(ThetaResolution,
int);
196 vtkGetMacro(PhiResolution,
int);
203 vtkSetClampMacro(StartTheta,
double, 0.0, 360.0);
204 vtkGetMacro(StartTheta,
double);
211 vtkSetClampMacro(EndTheta,
double, 0.0, 360.0);
212 vtkGetMacro(EndTheta,
double);
220 vtkSetClampMacro(StartPhi,
double, 0.0, 360.0);
221 vtkGetMacro(StartPhi,
double);
228 vtkSetClampMacro(EndPhi,
double, 0.0, 360.0);
229 vtkGetMacro(EndPhi,
double);
252 vtkSetMacro(OutputPointsPrecision,
int);
253 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