<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">It seems better write scalar to create subdomains depending of the number of nodes per cell, and then with vtkThreshold select lines.<br><br>But it is strange that vtk has tools to extract edges, but not to select diferent cells based in their shape.<br><br>I am newbie in vtk.<br><br>Pablo<br><br>--- El <b>mié, 27/1/10, David Doria <i><daviddoria+vtk@gmail.com></i></b> escribió:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: David Doria <daviddoria+vtk@gmail.com><br>Asunto: Re: [vtkusers] apply vtktubes to unstructured mesh<br>Para: <br>CC: "vtkusers@vtk.org" <vtkusers@vtk.org><br>Fecha: miércoles, 27 de enero, 2010 14:05<br><br><div id="yiv1202551944"><div class="gmail_quote">On Wed, Jan 27, 2010 at 6:50 AM, pablo p del castillo <span dir="ltr"><<a rel="nofollow"
ymailto="mailto:pablodecastillo@yahoo.es" target="_blank" href="/mc/compose?to=pablodecastillo@yahoo.es">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; -x-system-font: none;" valign="top">Hello,<br><br>I have a unstructured mesh with triangles and lines, how can i extract lines to apply tubes.<br><br>Advanced thanks<br>
</td></tr></tbody></table><br><br></blockquote><div><br></div><div>Hmm, is there any reason why vtkTubeFilter derives from vtkPolyDataAlgorithm? It seems like if it could derive from vtkPointSetAlgorithm instead this question would be no problem.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Pablo, if you can get your lines into a vtkPolyData, you can use this method to get tubes on your lines:</div><div class="gmail_quote"><a rel="nofollow" target="_blank" href="http://www.cmake.org/Wiki/VTK/Examples/TubeFilter">http://www.cmake.org/Wiki/VTK/Examples/TubeFilter</a></div>
<br clear="all">Thanks,<br><br><div>David</div></div>
</div><br>-----Adjunto en línea a continuación-----<br><br><div class="plainMail">_______________________________________________<br>Powered by www.kitware.com<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></div></blockquote></td></tr></table><br>