Kitware / paraviewweb

Web framework for building interactive visualization relying on VTK or ParaView to produce visualization data
http://kitware.github.io/paraviewweb/
BSD 3-Clause "New" or "Revised" License
160 stars 50 forks source link

MouseHandler limitations #527

Open finetjul opened 3 years ago

finetjul commented 3 years ago

MouseHandler does not support middle button.

MouseHandler right button support is broken: You first need to do a full right click (mouse down and up), then hover the mouse (move the mouse with buttons up) to trigger interaction events and finally finish with a full click (mouse down and up).

The pre-interpretation of the mouse behavior client-side (zoom, pan, rotate) should probably fully handled server side via:

  interactionProxy = pxm.GetProxy('settings', 'RenderViewInteractionSettings')
  interactionProxy.Camera3DManipulators = ['Rotate', 'Pan', 'Zoom', 'Pan', 'Roll', 'Pan', 'Zoom', 'Rotate', 'Zoom']

With maybe an exception with gesture events...

jourdain commented 3 years ago

What are you talking about? Which class in this repo is affected?

finetjul commented 3 years ago

I am talking about class MouseHandler and/or VtkWebMouseListener I'm not sure which one is responsible for what. I have them both in my callstack :-)