33 #ifndef vtkConeSource_h
34 #define vtkConeSource_h
36 #include "vtkFiltersSourcesModule.h"
41 VTK_ABI_NAMESPACE_BEGIN
61 vtkGetMacro(Height,
double);
69 vtkGetMacro(Radius,
double);
77 vtkGetMacro(Resolution,
int);
86 vtkSetVector3Macro(Center,
double);
87 vtkGetVectorMacro(Center,
double, 3);
96 vtkSetVector3Macro(Direction,
double);
97 vtkGetVectorMacro(Direction,
double, 3);
127 vtkSetMacro(OutputPointsPrecision,
int);
128 vtkGetMacro(OutputPointsPrecision,
int);
151 VTK_ABI_NAMESPACE_END
~vtkConeSource() override=default
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void SetAngle(double angle)
Set the angle of the cone.
double GetAngle()
Set the angle of the cone.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int OutputPointsPrecision
static vtkConeSource * New()
Construct with default resolution 6, height 1.0, radius 0.5, and capping on.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.