[vtkusers] Re: Extract vertices from polydata

Goodwin Lawlor goodwin.lawlor at ucd.ie
Mon Jan 21 19:35:28 EST 2008


John Platt wrote:
> Hi,  
> 
> Is there a filter to extract all the vertices (or other cell type) from 
> vtkPolyData without resorting to Id lists or scalar data?

Hi John,

Have a look at vtkMaskPoints and its GenerateVerticesOn method. Set the 
OnRatio var to 1...

hth

Goodwin




More information about the vtkusers mailing list