Man Page for vtkShrinkPolyData
Table of Contents

NAME

vtkShrinkPolyData - shrink cells composing PolyData

SYNOPSIS


#include "/opt/vtk-c++/graphics/vtkShrinkPolyData.h"

class VTK_EXPORT vtkShrinkPolyData : public vtkPolyDataToPolyDataFilter

vtkShrinkPolyData(float sf=0.5);
static vtkShrinkPolyData *New() {return new vtkShrinkPolyData;};
const char *GetClassName() {return "vtkShrinkPolyData";};
void PrintSelf(ostream& os, vtkIndent indent);
void SetShrinkFactor(float);
float GetShrinkFactor();

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.

CAVEATS

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

SEE ALSO

vtkShrinkFilter

SUMMARY

void SetShrinkFactor(float)
Set the fraction of shrink for each cell.

float GetShrinkFactor()
Get the fraction of shrink for each cell.


Table of Contents