<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
> 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).<BR>> <BR>
That's probably the way to go, as the documentation says: "<A class=el title="Lays out and displays a graph." href="classvtkGraphLayoutView.html">vtkGraphLayoutView</A> performs graph layout and displays a <A class=el title="Base class for graph data types." href="classvtkGraph.html">vtkGraph</A>."<BR>
<BR>
<BR>> <BR>> <BR>> On Aug 17, 2010, at 2:03 PM, David Doria wrote:<BR>> <BR>> > On Tue, Aug 17, 2010 at 2:00 PM, Xiaofeng Z <xf10036@hotmail.com> wrote:<BR>> >> SetRenderWindow() is a method of a base class vtkRenderView from which<BR>> >> vtkGraphLayoutView is derived from.<BR>> >> <BR>> >> Xiaofeng Zhao<BR>> > <BR>> > Right, so I called SetRenderWindow on the vtkGraphLayoutView, I<BR>> > attached two vtkRenderers to the vtkRenderWindow, but now I don't know<BR>> > how to add one graph to each renderer through the vtkGraphLayoutView?<BR>> > Am I missing something simple here?<BR>> > <BR>> > Thanks,<BR>> > <BR>> > David<BR>> > _______________________________________________<BR>> > Powered by www.kitware.com<BR>> > <BR>> > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<BR>> > <BR>> > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<BR>> > <BR>> > Follow this link to subscribe/unsubscribe:<BR>> > http://www.vtk.org/mailman/listinfo/vtkusers<BR>> <BR><BR> </body>
</html>