[vtkusers] Displaying graphs side by side

Xiaofeng Z xf10036 at hotmail.com
Tue Aug 17 14:17:01 EDT 2010


> 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).
> 
That's probably the way to go, as the documentation says: "vtkGraphLayoutView performs graph layout and displays a vtkGraph."
 

> 
> 
> On Aug 17, 2010, at 2:03 PM, David Doria wrote:
> 
> > On Tue, Aug 17, 2010 at 2:00 PM, Xiaofeng Z <xf10036 at hotmail.com> wrote:
> >> SetRenderWindow() is a method of a base class vtkRenderView from which
> >> vtkGraphLayoutView is derived from.
> >> 
> >> Xiaofeng Zhao
> > 
> > Right, so I called SetRenderWindow on the vtkGraphLayoutView, I
> > attached two vtkRenderers to the vtkRenderWindow, but now I don't know
> > how to add one graph to each renderer through the vtkGraphLayoutView?
> > Am I missing something simple here?
> > 
> > Thanks,
> > 
> > David
> > _______________________________________________
> > Powered by www.kitware.com
> > 
> > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> > 
> > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> > 
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100817/19216fc3/attachment.htm>


More information about the vtkusers mailing list