[vtkusers] Get a list of selected graph vertices

David Doria daviddoria at gmail.com
Sun Sep 19 09:49:09 EDT 2010


I can't seem to figure out how to get a list of selected vertices when
using a vtkGraphLayoutView. I would expect to see some kind of
GetSelection function either on vtkGraphLayoutView or
vtkRenderedGraphRepresentation, but I see nothing of the sort.

I tried to do this:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Graphs/SelectedVertices

but it always says there are 0 nodes selected.

Does anyone know how to do this?

Thanks,

David



More information about the vtkusers mailing list