59 #ifndef __vtkTubeFilter_h
60 #define __vtkTubeFilter_h
64 #define VTK_VARY_RADIUS_OFF 0
65 #define VTK_VARY_RADIUS_BY_SCALAR 1
66 #define VTK_VARY_RADIUS_BY_VECTOR 2
67 #define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR 3
69 #define VTK_TCOORDS_OFF 0
70 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
71 #define VTK_TCOORDS_FROM_LENGTH 2
72 #define VTK_TCOORDS_FROM_SCALARS 3
95 vtkGetMacro(Radius,
double);
100 vtkSetClampMacro(VaryRadius,
int,
102 vtkGetMacro(VaryRadius,
int);
111 const char *GetVaryRadiusAsString();
118 vtkGetMacro(NumberOfSides,
int);
124 vtkSetMacro(RadiusFactor,
double);
125 vtkGetMacro(RadiusFactor,
double);
131 vtkSetVector3Macro(DefaultNormal,
double);
132 vtkGetVectorMacro(DefaultNormal,
double,3);
138 vtkSetMacro(UseDefaultNormal,
int);
139 vtkGetMacro(UseDefaultNormal,
int);
140 vtkBooleanMacro(UseDefaultNormal,
int);
147 vtkSetMacro(SidesShareVertices,
int);
148 vtkGetMacro(SidesShareVertices,
int);
149 vtkBooleanMacro(SidesShareVertices,
int);
154 vtkSetMacro(Capping,
int);
155 vtkGetMacro(Capping,
int);
156 vtkBooleanMacro(Capping,
int);
163 vtkGetMacro(OnRatio,
int);
171 vtkGetMacro(Offset,
int);
181 vtkGetMacro(GenerateTCoords,
int);
190 const char *GetGenerateTCoordsAsString();
199 vtkGetMacro(TextureLength,
double);
213 double DefaultNormal[3];
#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)
represent and manipulate cell attribute data
dynamic, self-adjusting array of float
void SetGenerateTCoordsToNormalizedLength()
#define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR
#define VTK_TCOORDS_FROM_LENGTH
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
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()
void SetVaryRadiusToVaryRadiusByVector()
object to represent cell connectivity
void SetGenerateTCoordsToUseLength()
#define VTK_VARY_RADIUS_BY_VECTOR
#define VTK_LARGE_INTEGER
void SetGenerateTCoordsToOff()
void SetGenerateTCoordsToUseScalars()
#define VTK_VARY_RADIUS_OFF
void SetVaryRadiusToVaryRadiusByAbsoluteScalar()
represent and manipulate 3D points
void SetVaryRadiusToVaryRadiusOff()