<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks Bill and Jeff, with vtkStripper is working nice.<div><br></div><div>Pablo<br><br>--- El <b>mié, 5/5/10, Bill Lorensen <i>&lt;bill.lorensen@gmail.com&gt;</i></b> escribió:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Bill Lorensen &lt;bill.lorensen@gmail.com&gt;<br>Asunto: Re: [vtkusers] vtkSplineFilter<br>Para: "Jeff Lee" &lt;jlee1549@gmail.com&gt;<br>CC: "pablo p del castillo" &lt;pablodecastillo@yahoo.es&gt;, vtkusers@vtk.org<br>Fecha: miércoles, 5 de mayo, 2010 18:16<br><br><div id="yiv1006021512">I just added an example that is closer to what you want...<br><a rel="nofollow" target="_blank" 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">&lt;<a rel="nofollow" ymailto="mailto:jlee1549@gmail.com" target="_blank" href="/mc/compose?to=jlee1549@gmail.com">jlee1549@gmail.com</a>&gt;</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.&nbsp; I have a fix for this but haven't had time to check it in yet.&nbsp; 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">&lt;<a rel="nofollow" ymailto="mailto:bill.lorensen@gmail.com" target="_blank" href="/mc/compose?to=bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;</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 rel="nofollow" target="_blank" href="http://vtk.org/Wiki/VTK/Examples/ExtractPolyLinesFromPolyData">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">&lt;<a rel="nofollow" target="_blank" href="https://mail.google.com/a/cdnorthamerica.com/?view=cm&amp;tf=0&amp;to=pablodecastillo@yahoo.es">pablodecastillo@yahoo.es</a>&gt;</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>&nbsp;&nbsp; &nbsp;#sf SetInput planeCut</div>


<div>&nbsp;&nbsp; &nbsp;sf SetInputConnection [planeCut GetOutputPort]</div><div>&nbsp;&nbsp; &nbsp;sf SetNumberOfSubdivisions 6&nbsp;</div><div>&nbsp;&nbsp; &nbsp;sf Update</div><div>&nbsp;&nbsp; # sf SetLength 0.01</div><div>vtkTubeFilter rf</div><div>&nbsp;&nbsp; &nbsp;rf SetInput [sf GetOutput]</div>


<div>&nbsp;&nbsp; &nbsp;rf SetRadius 0.1</div><div>&nbsp;&nbsp; &nbsp;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 rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>
</div></blockquote></div></td></tr></table><br>