[vtkusers] Displaying graphs side by side
David Doria
daviddoria+vtk at gmail.com
Tue Aug 17 14:19:18 EDT 2010
On Tue, Aug 17, 2010 at 2:05 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:
> I really think you'll need to create two vtkGraphLayoutView instances, and try to replace their render windows with your own single one, and grab their renderers and set their viewports (and even then it might now work).
>
> -Eric
Hmm getting very close...
I also had to create an interactor and use
vtkGraphLayoutView::SetInteractor (or you'd have to call
GetInteractor()->Start() twice, which didn't make sense)
The latest attempt is here:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Graphs/SideBySideGraphs
it looks like it actually displays the graphs correctly, but it
crashes right away.
Thoughts?
Thanks,
David
More information about the vtkusers
mailing list