[vtkusers] Converting mesh/polydata to graph data structure

David Doria daviddoria at gmail.com
Tue Jun 24 11:57:55 EDT 2014

On Tue, Jun 24, 2014 at 4:01 AM, Saad Khan <saadkkhan64 at gmail.com> wrote:

> Hey , Apologies for the noobish question but I just started using VTK and
> have been stuck with this problem for a few days ..
> 1) I have a triangulated mesh . I need to run a restrtricted 'Breadth first
> search' on a particular vertex inside the mesh( for removing a certain
> section following a research paper)
> 2) How do I convert the mesh(polydata) into a graph like data structure ( I
> can use SetPoints for the points but how do I Add Edges to the vertices
> without having to do it manually?)
> 3) Is there any filter that I can use to get a data structure
> representation
> of the mesh so I can run the BFS?.
> Thanks in advance! . Any help/suggestion will be greatly appreciated !

Some of these things might get you started:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140624/6d6bded7/attachment.html>

More information about the vtkusers mailing list