49 #ifndef vtkTubeFilter_h
50 #define vtkTubeFilter_h
52 #include "vtkFiltersCoreModule.h"
55 #define VTK_VARY_RADIUS_OFF 0
56 #define VTK_VARY_RADIUS_BY_SCALAR 1
57 #define VTK_VARY_RADIUS_BY_VECTOR 2
58 #define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR 3
59 #define VTK_VARY_RADIUS_BY_VECTOR_NORM 4
61 #define VTK_TCOORDS_OFF 0
62 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
63 #define VTK_TCOORDS_FROM_LENGTH 2
64 #define VTK_TCOORDS_FROM_SCALARS 3
66 VTK_ABI_NAMESPACE_BEGIN
91 vtkGetMacro(Radius,
double);
99 vtkGetMacro(VaryRadius,
int);
111 const char* GetVaryRadiusAsString();
118 vtkSetClampMacro(NumberOfSides,
int, 3,
VTK_INT_MAX);
119 vtkGetMacro(NumberOfSides,
int);
126 vtkSetMacro(RadiusFactor,
double);
127 vtkGetMacro(RadiusFactor,
double);
135 vtkSetVector3Macro(DefaultNormal,
double);
136 vtkGetVectorMacro(DefaultNormal,
double, 3);
176 vtkGetMacro(OnRatio,
int);
186 vtkGetMacro(Offset,
int);
197 vtkGetMacro(GenerateTCoords,
int);
205 const char* GetGenerateTCoordsAsString();
215 vtkSetClampMacro(TextureLength,
double, 0.000001,
VTK_INT_MAX);
216 vtkGetMacro(TextureLength,
double);
225 vtkSetMacro(OutputPointsPrecision,
int);
226 vtkGetMacro(OutputPointsPrecision,
int);
240 double DefaultNormal[3];
269 VTK_ABI_NAMESPACE_END
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH
#define VTK_VARY_RADIUS_BY_SCALAR
represent and manipulate point attribute data
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
represent and manipulate cell attribute data
dynamic, self-adjusting array of float
void SetGenerateTCoordsToNormalizedLength()
Control whether and how texture coordinates are produced.
#define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR
#define VTK_TCOORDS_FROM_LENGTH
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
filter that generates tubes around lines
a simple class to control print indentation
abstract superclass for arrays of numeric data
#define VTK_TCOORDS_FROM_SCALARS
void SetVaryRadiusToVaryRadiusByScalar()
Turn on/off the variation of tube radius with scalar value.
vtkTypeBool SidesShareVertices
int OutputPointsPrecision
void SetVaryRadiusToVaryRadiusByVector()
Turn on/off the variation of tube radius with scalar value.
#define VTK_VARY_RADIUS_BY_VECTOR_NORM
object to represent cell connectivity
void SetGenerateTCoordsToUseLength()
Control whether and how texture coordinates are produced.
#define VTK_VARY_RADIUS_BY_VECTOR
vtkTypeBool UseDefaultNormal
void SetGenerateTCoordsToOff()
Control whether and how texture coordinates are produced.
void SetGenerateTCoordsToUseScalars()
Control whether and how texture coordinates are produced.
#define VTK_VARY_RADIUS_OFF
void SetVaryRadiusToVaryRadiusByAbsoluteScalar()
Turn on/off the variation of tube radius with scalar value.
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetVaryRadiusToVaryRadiusByVectorNorm()
Turn on/off the variation of tube radius with scalar value.
void SetVaryRadiusToVaryRadiusOff()
Turn on/off the variation of tube radius with scalar value.