Auto center option in InteractiveViewer
This is a feature request that summarizes two bugs submitted on the old bugzilla:
- "InteractiveViewer option for specifying whether the scene must be centered when a Component is added" submitted by Hadrien Oliveri on 2015-07-07
- "Impossible to scroll through a zoomed image without the image automatically de-zooming" submitted by Nikolai on 2015-01-16
Hello everyone, I'm developping a surgery simulator, and I need to add Components during the simulation. By default, the scene is recentered by the InteractiveViewer each time a Component is added (which is quite annoying). I modified this locally in my sdk and it works well for my ad hoc needs.
I would be great if recentering the scene by default could be specified in the Imp user preferences for example.
-- Hadrien Oliveri
Imp de-zooms automatically when it's not expected. In this case, the 2D medical viewer panes de-zoom when you try to scroll through the image's volume with the vertical slider.
Steps to Reproduce: Open Imp. Open any 3D image. Zoom in on any of the 2D viewers using the scroll wheel of your mouse. Move the vertical slider to another image plane. You will see the viewer de-zoom automatically.
The viewer should stay zoomed while scrolling with the sliders.
Interpretation & Possible fixes
Both problems can be solved by implementing a special "Auto Center" option for the
- When a new component is loaded (default is yes)
- When a slice is changed (default is yes)
As well as a "Center" Icon on the toolbar or the slice viewer side bar.
Depends on #17