[vtkusers] VTK for tree visualization: how to modify the visibility of individual vertex/edge

Jeff Baumes jeff.baumes at kitware.com
Wed Nov 10 10:24:44 EST 2010


On Wed, Nov 10, 2010 at 8:56 AM, Xinghua Lou <
xinghua.lou at iwr.uni-heidelberg.de> wrote:

> Dear all,
>
> 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.
>
>
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.

Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101110/69f39e4f/attachment.htm>


More information about the vtkusers mailing list