[vtkusers] vtkInteractorStyleTrackballCamera zoom stops zooming?

Wes Turner wes.turner at kitware.com
Tue Dec 15 13:39:46 EST 2009


Did you try the ResetCamera() function?
http://www.vtk.org/doc/nightly/html/classvtkRenderer.html#aceb0cb3110edd6635df5cd99f971012d

<http://www.vtk.org/doc/nightly/html/classvtkRenderer.html#aceb0cb3110edd6635df5cd99f971012d>If
you are using an interactor, this is generally bound to the "r" key.

- Wes

On Tue, Dec 15, 2009 at 1:35 PM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:

> On Tue, Dec 15, 2009 at 11:54 AM, Dominik Szczerba <dominik at itis.ethz.ch>
> wrote:
> > I think this might have to do with the focal point. Try setting it to the
> > object center.
>
> That's the problem- I don't know where this object is ahead of time.
> The scene loads in a very zoomed out view, I manually locate the
> object, then when I go to zoom in, I can't zoom far enough. How would
> I set the focal point at this point?
>
> Thanks,
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Wesley D. Turner, Ph.D.
Kitware, Inc.
Technical Leader
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091215/4ac70bff/attachment.htm>


More information about the vtkusers mailing list