131#ifndef vtkArrowSource_h
132#define vtkArrowSource_h
134#include "vtkFiltersSourcesModule.h"
137VTK_ABI_NAMESPACE_BEGIN
153 vtkSetClampMacro(TipLength,
double, 0.0, 1.0);
154 vtkGetMacro(TipLength,
double);
155 vtkSetClampMacro(TipRadius,
double, 0.0, 10.0);
156 vtkGetMacro(TipRadius,
double);
164 vtkSetClampMacro(TipResolution,
int, 1, 128);
165 vtkGetMacro(TipResolution,
int);
172 vtkSetClampMacro(ShaftRadius,
double, 0.0, 5.0);
173 vtkGetMacro(ShaftRadius,
double);
180 vtkSetClampMacro(ShaftResolution,
int, 3, 128);
181 vtkGetMacro(ShaftResolution,
int);
190 vtkBooleanMacro(Invert,
bool);
191 vtkSetMacro(Invert,
bool);
192 vtkGetMacro(Invert,
bool);
Appends a cylinder to a cone to form an arrow.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGetEnumMacro(ArrowOrigin, ArrowOrigins)
Sets and Gets the location used for orienting and scaling the arrow.
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.
~vtkArrowSource() override=default
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.