[vtkusers] Vtk.js and scroll wheel click

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Sep 3 21:29:13 EDT 2018

Hi Rick,

The style itself will handle all events the way you want but you will have
to define all the interactions.
The manipulators on the other hand use a manipulator style in which you can
plug a bunch of manipulators to handle specific part

In your case, you may have to implement a panManipulator that only deals
with the mouse wheel/pinch. You can look at the zoom one which has an
option to support the mouse wheel.



On Mon, Sep 3, 2018 at 3:44 PM Richard Frank via vtkusers <
vtkusers at public.kitware.com> wrote:

> Hi
> I want to use scroll wheel down for Pan in my interactor instead of a
> modifier key. What’s the best way to do this? I don’t see how to get it in
> an interactor style and if I add a PanManipulator it seems to take over all
> the mouse handling.
> What’s the relationship between an interactor and a manipulator?
> Thanks
> Rick Frank
> _______________________________________________
> 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:
> https://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180903/a93cac58/attachment.html>

More information about the vtkusers mailing list