Documentation for vtkCleanPolyData

vtkCleanPolyData - merge duplicate points and remove degenerate primitives

Super Class: vtkPolyDataToPolyDataFilter

Description:

vtkCleanPolyData is a filter that takes polygonal data as input and generates polygonal as output. vtkCleanPolyData merges duplicate points (within specified tolerance), and transforms degenerate topology into appropriate form (for example, triangle is converted into line if two points of triangle are merged). If tolerance is specified precisely=0.0, then this object will use the vtkMergePoints object to merge points (very fast). Otherwise the slower vtkPointLocator is used.

 

Caveats:

Merging points can alter topology, including introducing non-manifold forms. Tolerance should be chosen carefully to avoid these problems.

 

Methods:

void vtkCleanPolyData ()
void vtkCleanPolyData ()
static vtkCleanPolyData *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void SetTolerance (float )
float GetTolerance ()
void SetLocator (vtkPointLocator *)
vtkPointLocator *GetLocator ()
void CreateDefaultLocator ()
unsigned long GetMTime ()
void SetLocator (vtkPointLocator &)
void Execute ()

 

Detailed Method Descriptions:

Specify tolerance in terms of fraction of bounding box length.

void SetTolerance (float )
float GetTolerance ()

Set/Get a spatial locator for speeding the search process. By default an instance of vtkLocator is used.

void SetLocator (vtkPointLocator *)
vtkPointLocator *GetLocator ()

Create default locator. Used to create one when none is specified.

void CreateDefaultLocator ()

Get the MTime of this object also considering the locator.

unsigned long GetMTime ()

For legacy compatibility. Do not use.

void SetLocator (vtkPointLocator &)