35 #ifndef __vtkConeSource_h
36 #define __vtkConeSource_h
38 #include "vtkFiltersSourcesModule.h"
39 #include "vtkPolyDataAlgorithm.h"
43 class VTKFILTERSSOURCES_EXPORT
vtkConeSource :
public vtkPolyDataAlgorithm
47 void PrintSelf(ostream& os, vtkIndent indent);
57 vtkSetClampMacro(Height,
double,0.0,VTK_DOUBLE_MAX)
58 vtkGetMacro(Height,
double);
63 vtkSetClampMacro(Radius,
double,0.0,VTK_DOUBLE_MAX)
64 vtkGetMacro(Radius,
double);
69 vtkSetClampMacro(Resolution,
int,0,VTK_CELL_SIZE)
70 vtkGetMacro(Resolution,
int);
77 vtkSetVector3Macro(Center,
double);
78 vtkGetVectorMacro(Center,
double,3);
85 vtkSetVector3Macro(Direction,
double);
86 vtkGetVectorMacro(Direction,
double,3);
94 void SetAngle (
double angle);
100 vtkSetMacro(Capping,
int);
101 vtkGetMacro(Capping,
int);
102 vtkBooleanMacro(Capping,
int);
109 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
110 int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);