28 #ifndef vtkArrowSource_h
29 #define vtkArrowSource_h
31 #include "vtkFiltersSourcesModule.h"
49 vtkSetClampMacro(TipLength,
double, 0.0, 1.0);
50 vtkGetMacro(TipLength,
double);
51 vtkSetClampMacro(TipRadius,
double, 0.0, 10.0);
52 vtkGetMacro(TipRadius,
double);
60 vtkSetClampMacro(TipResolution,
int, 1, 128);
61 vtkGetMacro(TipResolution,
int);
68 vtkSetClampMacro(ShaftRadius,
double, 0.0, 5.0);
69 vtkGetMacro(ShaftRadius,
double);
78 vtkSetClampMacro(ShaftResolution,
int, 0, 128);
79 vtkGetMacro(ShaftResolution,
int);
88 vtkBooleanMacro(Invert,
bool);
89 vtkSetMacro(Invert,
bool);
90 vtkGetMacro(Invert,
bool);
Appends a cylinder to a cone to form an arrow.
~vtkArrowSource() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGetEnumMacro(ArrowOrigin, ArrowOrigins)
std::string GetArrowOriginAsString() const
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetArrowOriginToCenter()
void SetArrowOriginToDefault()
static vtkArrowSource * New()
Construct cone with angle of 45 degrees.
vtkSetEnumMacro(ArrowOrigin, ArrowOrigins)
Sets and Gets the location used for orienting and scaling the arrow.
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.