33 #ifndef __vtkCylinderSource_h
34 #define __vtkCylinderSource_h
36 #include "vtkFiltersSourcesModule.h"
37 #include "vtkPolyDataAlgorithm.h"
46 void PrintSelf(ostream& os, vtkIndent indent);
50 vtkSetClampMacro(Height,
double,0.0,VTK_DOUBLE_MAX)
51 vtkGetMacro(Height,
double);
56 vtkSetClampMacro(Radius,
double,0.0,VTK_DOUBLE_MAX)
57 vtkGetMacro(Radius,
double);
62 vtkSetVector3Macro(Center,
double);
63 vtkGetVectorMacro(Center,
double,3);
68 vtkSetClampMacro(Resolution,
int,2,VTK_CELL_SIZE)
69 vtkGetMacro(Resolution,
int);
75 vtkSetMacro(Capping,
int);
76 vtkGetMacro(Capping,
int);
77 vtkBooleanMacro(Capping,
int);
84 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
generate a cylinder centered at origin