TomographicImaging / CILViewer

A simple Viewer for 3D data built with VTK
Apache License 2.0
8 stars 6 forks source link

Observing w and s char event #415

Open paskino opened 3 months ago

paskino commented 3 months ago

We observe w and s key events to auto window/level and save the view to png, but they are also observed by VTK to trigger wireframe or surface visualisation of polydata. This means that when we use them, both actions happen and especially switching rendering of surfaces is annoying.

We could consume w and s as I described in https://discourse.vtk.org/t/consume-a-vtk-event-in-python/13052/3