Documentation for vtkShrinkFilter

vtkShrinkFilter - shrink cells composing an arbitrary data set

Super Class: vtkDataSetToUnstructuredGridFilter

Description:

vtkShrinkFilter shrinks cells composing an arbitrary data set 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 of this filter is of general dataset type vtkUnstructuredGrid.

 

Caveats:

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

 

See Also:

vtkShrinkPolyData

 

Methods:

void vtkShrinkFilter (float )
static vtkShrinkFilter *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 ()