TomographicImaging / CILViewer

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

Linker does not monitor and link slider events #387

Closed DanicaSTFC closed 3 months ago

DanicaSTFC commented 5 months ago

The 3D viewer is not updated when the slider is moved

this seems to update only with the mouse.

This is done here for the standalone app. It also needs to be updated in the iDVC app. See https://github.com/TomographicImaging/iDVC/issues/237

DanicaSTFC commented 5 months ago

The linker is https://github.com/vais-ral/CILViewer/blob/471c82a81f3b95dd6f177a7890596d9c40f4df22/Wrappers/Python/ccpi/viewer/viewerLinker.py#L305-L312

As a temporary solution (and quick fix) we could unlink the two viewers when the mouse wheel is used.