54 #ifndef vtkTubeFilter_h
55 #define vtkTubeFilter_h
57 #include "vtkFiltersCoreModule.h"
60 #define VTK_VARY_RADIUS_OFF 0
61 #define VTK_VARY_RADIUS_BY_SCALAR 1
62 #define VTK_VARY_RADIUS_BY_VECTOR 2
63 #define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR 3
65 #define VTK_TCOORDS_OFF 0
66 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
67 #define VTK_TCOORDS_FROM_LENGTH 2
68 #define VTK_TCOORDS_FROM_SCALARS 3
94 vtkGetMacro(Radius,
double);
101 vtkSetClampMacro(VaryRadius,
int,
103 vtkGetMacro(VaryRadius,
int);
112 const char *GetVaryRadiusAsString();
120 vtkGetMacro(NumberOfSides,
int);
128 vtkGetMacro(RadiusFactor,
double);
136 vtkSetVector3Macro(DefaultNormal,
double);
137 vtkGetVectorMacro(DefaultNormal,
double,3);
146 vtkGetMacro(UseDefaultNormal,
int);
157 vtkGetMacro(SidesShareVertices,
int);
166 vtkGetMacro(Capping,
int);
177 vtkGetMacro(OnRatio,
int);
187 vtkGetMacro(Offset,
int);
199 vtkGetMacro(GenerateTCoords,
int);
208 const char *GetGenerateTCoordsAsString();
218 vtkSetClampMacro(TextureLength,
double,0.000001,
VTK_INT_MAX);
219 vtkGetMacro(TextureLength,
double);
229 vtkGetMacro(OutputPointsPrecision,
int);
243 double DefaultNormal[3];
244 int UseDefaultNormal;
245 int SidesShareVertices;
250 int OutputPointsPrecision;
251 double TextureLength;
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH
~vtkTubeFilter() override
#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.
void SetVaryRadiusToVaryRadiusByVector()
Turn on/off the variation of tube radius with scalar value.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
object to represent cell connectivity
void SetGenerateTCoordsToUseLength()
Control whether and how texture coordinates are produced.
#define VTK_VARY_RADIUS_BY_VECTOR
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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 SetVaryRadiusToVaryRadiusOff()
Turn on/off the variation of tube radius with scalar value.