[vtkusers] How can I zoom without using mouse wheel in a vtkCanvas?
Sebastien Jourdain
sebastien.jourdain at kitware.com
Sun Sep 13 11:19:15 EDT 2015
If you keep the default interaction style, then I think the right click
with moving the mouse up and down should zoom.
On Sun, Sep 13, 2015 at 4:29 AM, -Daniel- <ich_daniel at habmalnefrage.de>
wrote:
> Hi there,
>
> I use vtkImageSlice's, which are represented in a vtkCanvas.
> Now, when I use the mouse wheel then the images are zoomed. This is okay,
> but I don't want to zoom with the mouse wheel but rather by pressing a
> button.
> By setting Interactor style on NULL zooming is disabled.
>
> How can I, for example using the mouse button to zoom in or out? Or which
> Interactor style should I use?
> Any hints?
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/How-can-I-zoom-without-using-mouse-wheel-in-a-vtkCanvas-tp5733881.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150913/730d8bcf/attachment.html>
More information about the vtkusers
mailing list