59 #ifndef vtkTubeFilter_h
60 #define vtkTubeFilter_h
65 #define VTK_VARY_RADIUS_OFF 0
66 #define VTK_VARY_RADIUS_BY_SCALAR 1
67 #define VTK_VARY_RADIUS_BY_VECTOR 2
68 #define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR 3
70 #define VTK_TCOORDS_OFF 0
71 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
72 #define VTK_TCOORDS_FROM_LENGTH 2
73 #define VTK_TCOORDS_FROM_SCALARS 3
96 vtkGetMacro(Radius,
double);
101 vtkSetClampMacro(VaryRadius,
int,
103 vtkGetMacro(VaryRadius,
int);
112 const char *GetVaryRadiusAsString();
119 vtkGetMacro(NumberOfSides,
int);
125 vtkSetMacro(RadiusFactor,
double);
126 vtkGetMacro(RadiusFactor,
double);
132 vtkSetVector3Macro(DefaultNormal,
double);
133 vtkGetVectorMacro(DefaultNormal,
double,3);
139 vtkSetMacro(UseDefaultNormal,
int);
140 vtkGetMacro(UseDefaultNormal,
int);
141 vtkBooleanMacro(UseDefaultNormal,
int);
148 vtkSetMacro(SidesShareVertices,
int);
149 vtkGetMacro(SidesShareVertices,
int);
150 vtkBooleanMacro(SidesShareVertices,
int);
156 vtkSetMacro(Capping,
int);
157 vtkGetMacro(Capping,
int);
158 vtkBooleanMacro(Capping,
int);
165 vtkGetMacro(OnRatio,
int);
173 vtkGetMacro(Offset,
int);
183 vtkGetMacro(GenerateTCoords,
int);
192 const char *GetGenerateTCoordsAsString();
200 vtkSetClampMacro(TextureLength,
double,0.000001,
VTK_INT_MAX);
201 vtkGetMacro(TextureLength,
double);
208 vtkSetMacro(OutputPointsPrecision,
int);
209 vtkGetMacro(OutputPointsPrecision,
int);
223 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)
#define VTKFILTERSCORE_EXPORT
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()
int OutputPointsPrecision
void SetVaryRadiusToVaryRadiusByVector()
object to represent cell connectivity
void SetGenerateTCoordsToUseLength()
#define VTK_VARY_RADIUS_BY_VECTOR
void SetGenerateTCoordsToOff()
void SetGenerateTCoordsToUseScalars()
#define VTK_VARY_RADIUS_OFF
void SetVaryRadiusToVaryRadiusByAbsoluteScalar()
represent and manipulate 3D points
void SetVaryRadiusToVaryRadiusOff()