Feature Request: Add Drag-and-Drop Swapping for MPR Planes in Weasis #757
Replies: 1 comment
-
|
A couple of notes from the current code/UX: Drag-and-drop is already used by the views for different actions and for dropping files/folders or series thumbnails, so adding a new global DnD semantic to swap MPR planes would risk conflicts with existing DnD behaviour (and with existing mouse handlers like crosshair dragging). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I'd like to propose adding a drag-and-drop feature to the Multi-Planar Reconstruction (MPR) views in Weasis. This would allow users to swap the planes (e.g., axial with coronal) by dragging one view panel onto another, making it easier to rearrange the layout during analysis without manual reconfiguration.
Current Behavior:
In the current MPR tool (as of v4.6.1+), the three orthogonal planes (axial, coronal, sagittal) are fixed in their positions based on the layout model (e.g., 1x2 or 2x1). Users can rotate or adjust slices, but swapping planes requires closing and reopening the MPR or changing layouts, which disrupts workflow.
Proposed Feature:
actionsInViewunderActionW.DRAG_SWAP.TransferHandlerfor DnD, with customTransferablecarrying the sourceMprViewandPlane.MprControllerfor swap logic (e.g.,swapMprViews(MprView a, MprView b)).CrosshairListener).Why Add This?
This would improve usability for radiologists, especially in dynamic reviews where quick plane rearrangement (e.g., sagittal to axial for better comparison) is common. It's intuitive, reduces clicks, and aligns with modern medical imaging tools like OsiriX or Horos.
Prototype Code Snippet (in MprView.java):
Questions for Community:
MprContainer)?Thanks for the great tool! Looking forward to feedback.
Beta Was this translation helpful? Give feedback.
All reactions