Did you try the ResetCamera() function? <a href="http://www.vtk.org/doc/nightly/html/classvtkRenderer.html#aceb0cb3110edd6635df5cd99f971012d">http://www.vtk.org/doc/nightly/html/classvtkRenderer.html#aceb0cb3110edd6635df5cd99f971012d</a><div>
<br></div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkRenderer.html#aceb0cb3110edd6635df5cd99f971012d"></a>If you are using an interactor, this is generally bound to the "r" key.</div><div><br></div>
<div>- Wes<br><br><div class="gmail_quote">On Tue, Dec 15, 2009 at 1:35 PM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Tue, Dec 15, 2009 at 11:54 AM, Dominik Szczerba <<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>> wrote:<br>
> I think this might have to do with the focal point. Try setting it to the<br>
> object center.<br>
<br>
That's the problem- I don't know where this object is ahead of time.<br>
The scene loads in a very zoomed out view, I manually locate the<br>
object, then when I go to zoom in, I can't zoom far enough. How would<br>
I set the focal point at this point?<br>
<br>
Thanks,<br>
<br>
David<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><br clear="all"><br>-- <br>Wesley D. Turner, Ph.D.<br>Kitware, Inc.<br>Technical Leader<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4920<br>
</div>