24#ifndef vtkConeSource_h
25#define vtkConeSource_h
27#include "vtkFiltersSourcesModule.h"
32VTK_ABI_NAMESPACE_BEGIN
52 vtkGetMacro(Height,
double);
60 vtkGetMacro(Radius,
double);
68 vtkGetMacro(Resolution,
int);
77 vtkSetVector3Macro(Center,
double);
78 vtkGetVectorMacro(Center,
double, 3);
87 vtkSetVector3Macro(Direction,
double);
88 vtkGetVectorMacro(Direction,
double, 3);
118 vtkSetMacro(OutputPointsPrecision,
int);
119 vtkGetMacro(OutputPointsPrecision,
int);
static vtkConeSource * New()
Construct with default resolution 6, height 1.0, radius 0.5, and capping on.
~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
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.