32 #ifndef __vtkRegularPolygonSource_h
33 #define __vtkRegularPolygonSource_h
35 #include "vtkFiltersSourcesModule.h"
36 #include "vtkPolyDataAlgorithm.h"
46 void PrintSelf(ostream& os, vtkIndent indent);
52 vtkSetClampMacro(NumberOfSides,
int,3,VTK_INT_MAX);
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);
98 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
99 int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
~vtkRegularPolygonSource()
create a regular, n-sided polygon and/or polyline