45#ifndef vtkConeSource_h
46#define vtkConeSource_h
48#include "vtkFiltersSourcesModule.h"
72 vtkGetMacro(Height,
double);
80 vtkGetMacro(Radius,
double);
88 vtkGetMacro(Resolution,
int);
97 vtkSetVector3Macro(Center,
double);
98 vtkGetVectorMacro(Center,
double, 3);
107 vtkSetVector3Macro(Direction,
double);
108 vtkGetVectorMacro(Direction,
double, 3);
138 vtkSetMacro(OutputPointsPrecision,
int);
139 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.