145 #ifndef vtkConeSource_h
146 #define vtkConeSource_h
148 #include "vtkFiltersSourcesModule.h"
172 vtkGetMacro(Height,
double);
180 vtkGetMacro(Radius,
double);
188 vtkGetMacro(Resolution,
int);
197 vtkSetVector3Macro(Center,
double);
198 vtkGetVectorMacro(Center,
double, 3);
207 vtkSetVector3Macro(Direction,
double);
208 vtkGetVectorMacro(Direction,
double, 3);
238 vtkSetMacro(OutputPointsPrecision,
int);
239 vtkGetMacro(OutputPointsPrecision,
int);
~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.