<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 24, 2014 at 4:01 AM, Saad Khan <span dir="ltr"><<a href="mailto:saadkkhan64@gmail.com" target="_blank">saadkkhan64@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey , Apologies for the noobish question but I just started using VTK and<br>
have been stuck with this problem for a few days ..<br>
<br>
1) I have a triangulated mesh . I need to run a restrtricted 'Breadth first<br>
search' on a particular vertex inside the mesh( for removing a certain<br>
section following a research paper)<br>
<br>
2) How do I convert the mesh(polydata) into a graph like data structure ( I<br>
can use SetPoints for the points but how do I Add Edges to the vertices<br>
without having to do it manually?)<br>
<br>
3) Is there any filter that I can use to get a data structure representation<br>
of the mesh so I can run the BFS?.<br>
<br>
<br>
Thanks in advance! . Any help/suggestion will be greatly appreciated !<br></blockquote><div><br>Some of these things might get you started:<br><br><a href="https://github.com/daviddoria/VTK-GraphConversions">https://github.com/daviddoria/VTK-GraphConversions</a><br>
<div><br>David</div></div></div></div></div>