[vtkusers] Correct approach for assembly of polylines?

Goodwin Lawlor goodwin.lawlor at ucd.ie
Wed Apr 14 12:35:15 EDT 2004


vtkStripper will convert lines into polylines for you. You might need to
increase the max length property.

Hth,

Goodwin

Date: Wed, 14 Apr 2004 10:07:55 CDT
From: jarv0075 <jarv0075 at umn.edu>
To: vtkusers at vtk.org
Subject: [vtkusers] Correct approach for assembly of polylines?

 
I'm currently trying to reassemble some polylines that vtk broke up into
several different cells...  My current approach is to use nested loops
to
match up the end points.

Is there a better way to do this?

This is using the vtkcutter output which then gives many different
polylines, some closed, some not, so I can't just plug it into a
polyline
loop.

Is there a way to use a polyline loop over for each set of polylines
with
matching end points and keep adding the output to a polydata set?

I'm still very much a VTK newbie and always am unsure whether a certain
operation is atomic or if it's going to do some big propagation through
the
entire pipeline.

Thanks





More information about the vtkusers mailing list