On Wed, Nov 10, 2010 at 8:56 AM, Xinghua Lou <span dir="ltr"><<a href="mailto:xinghua.lou@iwr.uni-heidelberg.de">xinghua.lou@iwr.uni-heidelberg.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear all,<br>
<br>
I am developing some Infovis applications based on VTK by following the TreeLayout.cxx example in VTK/Examples/Infovis. One problem I have now is that I don' know how to modify the visibility of certain vertex or edge. I tried to google this question but can not find a clear answer. Can anyone give me some hints? Any suggestion is highly appreciated. Thank you.<br>
<br></blockquote><div><br></div><div>There is no direct way to do this in VTK at the view level. You may instead filter the graph to prune vertices/edges (see vtkExtractSelectedGraph) and display the resulting graph in the view.</div>
<div><br></div><div>Jeff</div></div>