Synchronizing zoom factor between views

Currently, when slice views are linked, zoom factor is only synchronized between views that have the same orientation. It means that when you zoom in on an axial view, you still need to go to sagittal and coronal views if you want to have a close-up view there, too. This can be quite inconvenient when you need to zoom in/out many times.

Proposal: change view link behavior so that zoom factor (field of view) is synchronized between slice views, regardless of their orientation.

Demo of the proposed new behavior:

This is the behavior of slice views in ITK-Snap, too.

You can still have different zoom factors in views by not enabling view linking or setting different view group IDs. There should be no performance issues, as on slow computers hot-linking can be disabled (so synchronization only happens when the mouse button is released).

This is a very small, easy modification in the code.

Are there any objections to making this change?


When I zoom into a slice view, I automatically zoom in the other views, almost 100% of the time. This change would save me those clicks.

My only concern would be about showing different datasets at a time or wanting to show certain views differently on purpose (like an overview for example), but the view groups can handle these cases.

My vote goes for making this change.


Thank you for the feedback, the change is committed in r28536.