This was an encapsulation decision that the user of the view should not have access to the laid-out graph, but instead the view manages the layout internally. To sidestep the issue, you can manually perform the graph layout outside the view and set the laid-out graph as the input to the graph layout view. If you do this you should set the PassThrough strategy on the view so that the view does not further change the layout.<div>
<br></div><div>HTH,</div><div>Jeff<br><br><div class="gmail_quote">On Fri, Apr 13, 2012 at 10:31 AM, KrishnaPG <span dir="ltr"><<a href="mailto:KrishnaPG@yahoo.com">KrishnaPG@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
How to access the polydata information of the graph laid out and displayed<br>
by the vtkGraphLayoutView ?<br>
<br>
The vtkRenderedGraphRepresentation::Layout->GetGraphOutput() should give<br>
access to the vtkGraph object - but vtkRenderedGraphRepresentation::Layout<br>
is declared as protected and no copy-constructor or assignment operator !!<br>
<br>
Is this a bug?<br>
<br>
How to access the rendered graph post-layout vertices of the<br>
vtkGraphLayoutView?<br>
<br>
Thank you.<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Vertex-Position-from-vtkGraphLayoutView-vtkRenderedGraphRepresentation-Layout-is-protected-tp5638458p5638458.html" target="_blank">http://vtk.1045678.n5.nabble.com/Vertex-Position-from-vtkGraphLayoutView-vtkRenderedGraphRepresentation-Layout-is-protected-tp5638458p5638458.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>