Any nodes can now be translated, rotated, or scaled by interactive handles. Editing operations can be constrained to specific axes and center of rotation can be freely chosen. The handles are available both in slice and 3D views.
Transform nodes can be easily added and visualized for any node in 3D Slicer by right-clicking on the node in the Subject hierarchy visibility column and checking “Interaction”.
Visualization options
Visualization options for interaction handle widgets can customized in 3D and Slice views to display only the relevant handles/axes in each view.
Center of transformation
The center of rotation/scaling can now be updated for transform nodes. To change the center of transformation hold ALT and left-click on a translation handle to adjust the center of transformation. Right clicking on a transform in 2D/3D will also display options to reset the center of transformation.
The center of transformation is also applied to the sliders in the Transforms module widget. Adjusting the rotation sliders will rotate the transform around the center of transformation. The center of transformation can also be changed from the Transforms module widget:
Markups
This updated interaction handle pipeline is also integrated with Markups, providing the same improved visualization for both Transforms and Markups.
Acknowledgements
Development was funded in part by a Children’s Hospital of Philadelphia (CHOP) Cardiac Center Innovation Grant, a CHOP Cardiac Center Research Grant, a CHOP Frontier Grant, NIH R01 HL153166 and T32GM008562.
Out of curiosity, what are the recent additions to the transform widget? The updated widget, much more intuitive from the one available in 5.6.2, seems quite old, already there in 5.7.0-2024-05-15 r32859 / 332732c for example. Has there been very recent enhancements?
Sorry, may be I am doing something wrong or not doing right, but when I hold Alt, and left click, the handles move along with the node. I did not find a way to relocate the handles relatively to the node, which was what I am waiting for .
I am always able to do that by manually changing the settings of the coordinates for the center of rotation, but it is a fuss
Thanks for the screen capture, it is very useful. You activated the touch and hold gesture by keeping your finger on the touchpad without moving it or clicking. Once this gesture is activated, dragging the mouse will just pan the view.
On other operating systems, you can click-and-drag really easily with tap-and-move, but macOS touchpad does not support this gesture, so you need to drag your finger while pressing down, which either wears down your skin or you have to learn to orchestrate a two-finger click-and-drag. On other operating systems, you also have two click areas on the touchpad, so you can do a left or right click with the touchpad. Due to all these limitations of the macOS touchpad, many mac users switch to a mouse when they use software that uses many mouse gestures. I would recommend you to do the same.
@Sunderlandkyl it works be great if you could play a but with the macOS touchpad and see if you could improve the usability. Maybe we could remap tap-and-hold to click-and-drag in certain cases?
Thanks for your efforts in helping. I don’t use a trackpad but an Apple Magic Mouse, and I have the issue we are talking about: mouse left click on the white dot at the center of the handles and grading the mouse keep moving tha handles and the node at the same time.
I found the solution. It is by using the option key instead of the Alt key, and then one can move the handles. It is very useful, and I am very happy since it was a function I expected. Thank you so much. Best regards.
I believe that it would be kind to warn Mac users that they can move the center of rotation by left-clicking when holding the Option key (⌥) and dragging the handles with the mouse…
I have a problem despite having updated the program and everything but the interactively does not appear. Can someone tell me what is happening and why it does not appear even though I have the dicom file inserted. I need the arrows to appear so I can work with precision but there is no way. Help
Make sure you use the latest Slicer Preview Release (not the latest Slicer Stable Release. If you still cannot activate the handles then please share a screen recording of how you are doing it (upload the video file to somewhere - dropbox/onedrive/google drive/etc. and copy the link here).