I just added an example that is closer to what you want...<br><a href="http://www.vtk.org/Wiki/VTK/Examples/PolyData/FitSplineToCutterOutput">http://www.vtk.org/Wiki/VTK/Examples/PolyData/FitSplineToCutterOutput</a><br><br>
Bill<br><br><div class="gmail_quote">On Wed, May 5, 2010 at 11:09 AM, Jeff Lee <span dir="ltr"><<a href="mailto:jlee1549@gmail.com">jlee1549@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have come across some cases where the stripper doesn't produce continuous polylines from input line segments which are continuous - it happens when the line is not closed, and a start segment is chosen from the middle of the polyline, produces a continuous polyline to the end (i.e. no more neigbors), then produces other parts of the polyline as it encounters them in the loop - so what should be a single continuous polyline typically ends up being multiple polylines. I have a fix for this but haven't had time to check it in yet. SplineFilter will subdivide the polylines independently.<br>
Regards,<br><font color="#888888">-Jeff</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, May 5, 2010 at 10:56 AM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Look at this example:<br><a href="http://vtk.org/Wiki/VTK/Examples/ExtractPolyLinesFromPolyData" target="_blank">http://vtk.org/Wiki/VTK/Examples/ExtractPolyLinesFromPolyData</a><br><br>it shows how to connect the segments produced by the cutter into polylines.<br>
<br><div class="gmail_quote">On Tue, May 4, 2010 at 4:08 PM, pablo p del castillo <span dir="ltr"><<a href="https://mail.google.com/a/cdnorthamerica.com/?view=cm&tf=0&to=pablodecastillo@yahoo.es" target="_blank">pablodecastillo@yahoo.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Hello,<div><br></div><div>I am trying to improve the visualization of sections of surface mesh, so i create a cutter and the apply vtksplinefilter like this;</div><div><br></div><div><div>vtkSplineFilter sf</div><div> #sf SetInput planeCut</div>
<div> sf SetInputConnection [planeCut GetOutputPort]</div><div> sf SetNumberOfSubdivisions 6 </div><div> sf Update</div><div> # sf SetLength 0.01</div><div>vtkTubeFilter rf</div><div> rf SetInput [sf GetOutput]</div>
<div> rf SetRadius 0.1</div><div> rf SetNumberOfSides 6</div></div><div><div><br></div><div>But only i get the initial section with tubes.</div></div><div>Any idea?</div><div><br></div><div>Pablo</div></td>
</tr></tbody></table>
<br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>