Documentation for vtkRibbonFilter

vtkRibbonFilter - create oriented ribbons from lines defined in polygonal dataset

Super Class: vtkPolyDataToPolyDataFilter

Description:

vtkRibbonFilter is a filter to create oriented ribbons from lines defined in polygonal dataset. The orientation of the ribbon is along the line segments and perpendicular to "projected" line normals. Projected line normals are the original line normals projected to be perpendicular to the local line segment. An offset angle can be specified to rotate the ribbon with respect to the normal. 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:

vtkTubeFilter

 

Methods:

void vtkRibbonFilter ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkRibbonFilter *New ()
void SetWidth (float )
float GetWidth ()
void SetAngle (float )
float GetAngle ()
void SetVaryWidth (int )
int GetVaryWidth ()
void VaryWidthOn ()
void VaryWidthOff ()
void SetWidthFactor (float )
float GetWidthFactor ()
void SetDefaultNormal (float ,float ,float )
void SetDefaultNormal (float *)
float *GetDefaultNormal ()
void SetUseDefaultNormal (int )
int GetUseDefaultNormal ()
void UseDefaultNormalOn ()
void UseDefaultNormalOff ()
void Execute ()

 

Detailed Method Descriptions:

Construct ribbon so that width is 0.1, the width does not vary with scalar values, and the width factor is 2.0.

static vtkRibbonFilter *New ()

Set the "half" width of the ribbon. If the width is allowed to vary, this is the minimum width.

void SetWidth (float )
float GetWidth ()

Set the offset angle of the ribbon from the line normal.

void SetAngle (float )
float GetAngle ()

Turn on/off the variation of ribbon width with scalar value.

void SetVaryWidth (int )
int GetVaryWidth ()
void VaryWidthOn ()
void VaryWidthOff ()

Set the maximum ribbon width in terms of a multiple of the minimum width.

void SetWidthFactor (float )
float GetWidthFactor ()

Set the default normal to use if no normals are supplied, and the DefaultNormalOn is set.

void SetDefaultNormal (float ,float ,float )
void SetDefaultNormal (float *)
float *GetDefaultNormal ()

Set a boolean to control whether to use default normals. DefaultNormalOn is set.

void SetUseDefaultNormal (int )
int GetUseDefaultNormal ()
void UseDefaultNormalOn ()
void UseDefaultNormalOff ()