On Mon, Oct 25, 2010 at 2:30 AM, Nicola Creati <<a href="mailto:ncreati@inogs.it">ncreati@inogs.it</a>> wrote:<br>><br>> Hello,<br>> I'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>
><br>> Thanks,<br>><br>> Nicola<br><br>You could probably use<div><br>double bounds[6];<br>this->VisibleFilter->GetOutput()->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>