[vtkusers] apply vtktubes to unstructured mesh

pablo p del castillo pablodecastillo at yahoo.es
Thu Jan 28 04:46:01 EST 2010


It seems better write scalar to create subdomains depending of the number of nodes per cell, and then with vtkThreshold select lines.

But it is strange that vtk has tools to extract edges, but not to select diferent cells based in their shape.

I am newbie in vtk.

Pablo

--- El mié, 27/1/10, David Doria <daviddoria+vtk at gmail.com> escribió:

De: David Doria <daviddoria+vtk at gmail.com>
Asunto: Re: [vtkusers] apply vtktubes to unstructured mesh
Para: 
CC: "vtkusers at vtk.org" <vtkusers at vtk.org>
Fecha: miércoles, 27 de enero, 2010 14:05

On Wed, Jan 27, 2010 at 6:50 AM, pablo p del castillo <pablodecastillo at yahoo.es> wrote:

Hello,

I have a unstructured mesh with triangles and lines, how can i extract lines to apply tubes.

Advanced thanks




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.

Pablo, if you can get your lines into a vtkPolyData, you can use this method to get tubes on your lines:http://www.cmake.org/Wiki/VTK/Examples/TubeFilter

Thanks,

David

-----Adjunto en línea a continuación-----

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100128/419836a2/attachment.htm>


More information about the vtkusers mailing list