32 #ifndef vtkRegularPolygonSource_h
33 #define vtkRegularPolygonSource_h
53 vtkGetMacro(NumberOfSides,
int);
59 vtkSetVector3Macro(Center,
double);
60 vtkGetVectorMacro(Center,
double,3);
67 vtkSetVector3Macro(
Normal,
double);
68 vtkGetVectorMacro(
Normal,
double,3);
74 vtkSetMacro(Radius,
double);
75 vtkGetMacro(Radius,
double);
81 vtkSetMacro(GeneratePolygon,
int);
82 vtkGetMacro(GeneratePolygon,
int);
83 vtkBooleanMacro(GeneratePolygon,
int);
89 vtkSetMacro(GeneratePolyline,
int);
90 vtkGetMacro(GeneratePolyline,
int);
91 vtkBooleanMacro(GeneratePolyline,
int);
99 vtkSetMacro(OutputPointsPrecision,
int);
100 vtkGetMacro(OutputPointsPrecision,
int);
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
int OutputPointsPrecision
a simple class to control print indentation
~vtkRegularPolygonSource()
create a regular, n-sided polygon and/or polyline