Kitware / trame-vtk

VTK/ParaView widgets for trame
BSD 3-Clause "New" or "Revised" License
18 stars 8 forks source link

Forward the PinchEvent with vtkRemoteView for touch screens #54

Open banesullivan opened 1 year ago

banesullivan commented 1 year ago

I recently tried using an iPad to view a Trame application and noticed that PinchEvents are not forwarded with remote rendering.

I tried following the example in https://github.com/Kitware/trame/blob/master/examples/06_vtk/01_SimpleCone/RemoteRendering.py to forward and trigger the event on the vtkRenderWindowInteractor, but I can get it working just right.

I'm curious if this is something that could be handled by default in trame-vtk?

jourdain commented 1 year ago

trame-rca does a better a job at mapping client side event to the server. See that issue and that example.

Down the road, that will be the default within trame-vtk, but we could not make it happen in one go.