Documentation for vtkShrinkPolyData

vtkShrinkPolyData - shrink cells composing PolyData

Super Class: vtkPolyDataToPolyDataFilter

Description:

vtkShrinkPolyData shrinks cells composing a polygonal dataset (e.g., vertices, lines, polygons, and triangle strips) towards their centroid. The centroid of a cell is computed as the average position of the cell points. Shrinking results in disconnecting the cells from one another. The output dataset type of this filter is polygonal data. During execution the filter passes its input cell data to its output. Point data attributes are copied to the points created during the shrinking process.

 

Caveats:

It is possible to turn cells inside out or cause self intersection in special cases.

 

See Also:

vtkShrinkFilter

 

Methods:

void vtkShrinkPolyData (float )
static vtkShrinkPolyData *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetShrinkFactor (float )
float GetShrinkFactor ()
void Execute ()

 

Detailed Method Descriptions:

Set the fraction of shrink for each cell.

void SetShrinkFactor (float )

Get the fraction of shrink for each cell.

float GetShrinkFactor ()