On Mon, Oct 25, 2010 at 2:30 AM, Nicola Creati &lt;<a href="mailto:ncreati@inogs.it">ncreati@inogs.it</a>&gt; wrote:<br>&gt;<br>&gt; Hello,<br>&gt; I&#39;m looking for a way to get the bounds of the scene rendered in the main window. If I draw a sphere and I zoom a portion of it, is it possible to get the bounds of that portion of the sphere that is currently rendered (visible) ?<br>
&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; Nicola<br><br>You could probably use<div><br>double bounds[6];<br>this-&gt;VisibleFilter-&gt;GetOutput()-&gt;GetBounds(bounds) ;</div><div><br>In the following:<br><br></div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/SelectVisiblePoints">http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/SelectVisiblePoints</a><br>
<br></div><div>David</div>