30 #ifndef vtkConeSource_h
31 #define vtkConeSource_h
33 #include "vtkFiltersSourcesModule.h"
57 vtkGetMacro(Height,
double);
65 vtkGetMacro(Radius,
double);
73 vtkGetMacro(Resolution,
int);
82 vtkSetVector3Macro(Center,
double);
83 vtkGetVectorMacro(Center,
double, 3);
92 vtkSetVector3Macro(Direction,
double);
93 vtkGetVectorMacro(Direction,
double, 3);
123 vtkSetMacro(OutputPointsPrecision,
int);
124 vtkGetMacro(OutputPointsPrecision,
int);
~vtkConeSource() override
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void SetAngle(double angle)
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.