[vtkusers] zoom in on a specific point

Jothy jothybasu at gmail.com
Wed Oct 20 12:40:07 EDT 2010


Click which about which point you wan tot zoom, then press"F" key.

Jothy

On Wed, Oct 20, 2010 at 5:36 PM, Jonathan Morra <jonmorra at gmail.com> wrote:

> I have a vtkImageViewer2 that I wish to zoom in on.  I have applied
> the vtkInteractorStyleImage to the image, and I can zoom using the right
> mouse button.  However, this always zooms in on the center of the image.
>  I'd like to center the zoom on the location that the mouse was initially
> clicked on.  Does anyone have an example of how to do this?
>
> Thanks
>
> PS I'm working in Java
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101020/3190dd48/attachment.htm>


More information about the vtkusers mailing list