Hi,<br>I forward this e-mail from the VTK mailing list, as ParaView users may be interested<br>and not necessary VTK subscribers...<br><br>I add a note: the concerned vtkStripper is called Triangle Strips in the ParaView Filters list.<br>
But it can be used to strip lines as well as triangles!<br><br>Jerome<br><br><div class="gmail_quote">2010/5/5 pablo p del castillo <span dir="ltr"><<a href="mailto:pablodecastillo@yahoo.es">pablodecastillo@yahoo.es</a>></span><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">
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><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></i></b> escribió:<br>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>><br>Asunto: Re: [vtkusers] vtkSplineFilter<br>
Para: "Jeff Lee" <<a href="mailto:jlee1549@gmail.com" target="_blank">jlee1549@gmail.com</a>><br>CC: "pablo p del castillo" <<a href="mailto:pablodecastillo@yahoo.es" target="_blank">pablodecastillo@yahoo.es</a>>, <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Fecha: miércoles, 5 de mayo, 2010 18:16<div><div></div><div class="h5"><br><br><div>I just added an example that is closer to what you want...<br><a rel="nofollow" href="http://www.vtk.org/Wiki/VTK/Examples/PolyData/FitSplineToCutterOutput" target="_blank">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 rel="nofollow" href="http://mc/compose?to=jlee1549@gmail.com" target="_blank">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><br><br><div class="gmail_quote">On Wed, May 5, 2010 at 10:56 AM, Bill Lorensen <span dir="ltr"><<a rel="nofollow" href="http://mc/compose?to=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 rel="nofollow" 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 rel="nofollow" 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 rel="nofollow" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a rel="nofollow" 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 rel="nofollow" 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 rel="nofollow" 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 rel="nofollow" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a rel="nofollow" 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 rel="nofollow" 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 rel="nofollow" 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>
</div></div></div></blockquote></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>