[vtkusers] Correct approach for assembly of polylines?

Amy Henderson amy.henderson at kitware.com
Wed Apr 14 11:31:27 EDT 2004


At 11:07 AM 4/14/2004, jarv0075 wrote:
>
>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?

Try passing the output of vtkCutter through vtkStripper.  The online 
documentation for that class is here:
http://www.vtk.org/doc/nightly/html/classvtkStripper.html

- Amy

>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
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers






More information about the vtkusers mailing list