I am trying to find out how to access the mouse drag&drop navigation feature that the crosshair used to have. I use the latest nightlies, and cannot find the option. In the documentation, in the first screenshot here it is available, but even in 4.10.2 it is not.
Can someone tell me whether it was removed completely for some reason, or just hidden from the UI but can be evoked programmatically? It would be nice to have it somehow, because for a certain application it is important not to have to use the keyboard, but the shift+move kind of navigation is very useful.
Drag-and-drop of crosshair was dropped 5-6 years ago. There were some issues and inconsistencies in the interactions and it was easier to remove it than figure out a new operating mode.
Now that we have mouse modes, view widgets, and ability to rotate slice views, it makes sense to implement slice intersection manipulation with drag-and-drop.
Probably we could leave crosshair as is, and make slice intersection lines interactive instead (as it is very hard to find the crosshair in 3D, there is only one of that in the whole scene - not per view group, and it does not support slice rotation). You can implement everything in vtkMRMLSliceIntersectionWidget.
The interaction could be something like this:
- adjust slice offset of all views if you click near the intersection point
- offset a single slice if click on an intersection line a bit farther from the intersection point
- rotate slice if clicking near the tip of an intersection line (or maybe Ctrl key + click on an intersection line)
Thanks Andras! I figured it was removed quite a while ago, and indeed couldn’t see much of the logic in the code (other than vtkMRMLCrosshairNode::Navigation, which we should remove btw for 5.0).
OK, if we get to the point where we start implementing the mouse-only crosshair, then I’ll start with your high-level plan and probably ask for more details if I’m stuck. Thanks again!