Thanks but it only move cam to setted bounds, if Imove the screen the bounds are the same. There would be something like crop in 3D.<br>any suggestions?<br><br>sergio<br><br><div class="gmail_quote">On Sun, Dec 4, 2011 at 2:45 PM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com" target="_blank">daviddoria@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>On Sun, Dec 4, 2011 at 7:49 AM, sergio campos &lt;<a href="mailto:camposs968@gmail.com" target="_blank">camposs968@gmail.com</a>&gt; wrote:<br>


&gt; Hello<br>
&gt;<br>
&gt; How to set bounds to renderer polydata? I have polydata with these bounds<br>
&gt; [xmin xmax ymin ymax zmin zmax] how to set a new bounds to renderer it? It<br>
&gt; just that I want to extract a subset or subvolumen to display it. It<br>
&gt; something like axes[x...zmax] in matlab.<br>
<br>
</div></div>Did you try vtkRenderer::ResetCamera    (double bounds[6])      ?<br>
<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkRenderer.html#a3a376771a56c5e56a934d89653e9c218" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkRenderer.html#a3a376771a56c5e56a934d89653e9c218</a><br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br>