vtkTubeFilter - filter that generates tubes around lines
Super Class: vtkPolyDataToPolyDataFilter
Description:
vtkTubeFilter is a filter that generates a tube around each input line. The tubes are made up of triangle strips and rotate around the tube with the rotation of the line normals. (If no normals are present, they are computed automatically.) The radius of the tube can be set to vary with scalar or vector value. If the radius varies with scalar value the radius is linearly adjusted. If the radius varies with vector value, a mass flux preserving variation is used. The number of sides for the tube also can be specified.
Caveats:
The number of tube sides must be greater than 3. If you wish to use fewer sides (i.e., a ribbon), use vtkRibbonFilter. The input line must not have duplicate points, or normals at points that are parallel to the incoming/outgoing line segments. (Duplicate points can be removed with vtkCleanPolyData.)
See Also:
Methods:
Detailed Method Descriptions:
static vtkTubeFilter *New () |
void SetRadius (float ) | |
float GetRadius () |
void SetVaryRadius (int ) | |
int GetVaryRadius () | |
void SetVaryRadiusToVaryRadiusOff () | |
void SetVaryRadiusToVaryRadiusByScalar () | |
void SetVaryRadiusToVaryRadiusByVector () | |
char *GetVaryRadiusAsString () |
void SetNumberOfSides (int ) | |
int GetNumberOfSides () |
void SetRadiusFactor (float ) | |
float GetRadiusFactor () |
void SetDefaultNormal (float ,float ,float ) | |
void SetDefaultNormal (float *) | |
float *GetDefaultNormal () |
void SetUseDefaultNormal (int ) | |
int GetUseDefaultNormal () | |
void UseDefaultNormalOn () | |
void UseDefaultNormalOff () |