[vtkusers] Displaying graphs side by side

Clinton Stimpson clinton at elemtech.com
Tue Aug 17 14:45:59 EDT 2010


On Tuesday, August 17, 2010 12:19:18 pm David Doria wrote:
> 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?
> 

vtkRenderView.cxx needs modifications to fix some issues with this test app.
See attached patch.

Clint
-------------- next part --------------
A non-text attachment was scrubbed...
Name: renview.patch
Type: text/x-patch
Size: 1466 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100817/dff61f37/attachment.bin>


More information about the vtkusers mailing list