[vtkusers] Re: simple question vtkCleanPolyData

Goodwin Lawlor goodwin.lawlor at ucd.ie
Tue Apr 18 09:01:06 EDT 2006


Amy Squillacote wrote:
> Hi Jean-Do,
> 
> No, there is not a filter in VTK to only remove duplicate points in a 
> dataset with no cells.  One thing you could do is to add a vtkVertex 
> cell per point in your dataset.  Then if you pass this new dataset 
> through vtkCleanPolyData, duplicate points will be merged, but you won't 
> have the problem of points being removed because they are not being used 
> by a cell.
> 
> - Amy

vtkMaskPoints with GenerateVerticesOn will create the verts for you

hth

Goodwin




More information about the vtkusers mailing list