Back to
Projects List
New Interaction Widget for Transforms/Markups
Key Investigators
- Kyle Sunderland (PerkLab - Queen’s University, Canada)
Presenter location: In-person
Project Description
This project aims to implement a new interaction handle widget that can be used to modify linear transform nodes. This implementation will be based on the existing interaction handle pipeline in the Markups module, but with improvements to functionality and appearance. Both the transforms and markups interaction widgets will be derived from the same base class.
The center of rotation for the transform node can be changed by holding ALT and clicking+dragging on one of the translation handles. The center of rotation can also be change in python using the “vtkMRMLTransformNode::SetCenterOfTransformation” function.
Transforms can also be scaled uniformly by holding ALT and clicking+dragging on one of the scale handles.
Objective
- Integration of new interaction widget into 3D Slicer.
Approach and Plan
- Provide an installer for precompiled version of Slicer that includes the new interaction widget.
- Update based on feedback gathered from the project week.
- Integrate new widget into the Slicer core.
Progress and Next Steps
- Created installer for a version of 3D Slicer containing the new widget. (See link in “Background and References” section).
- Created PR to integrate changes into 3D Slicer.
- Add options to enable/disable visualization of specific axes.
- Add uniform scaling option.
- Improved visualization based on feedback.
- Integrated into latest preview release!
Next steps
- Use a simplified widget visualization when the user is not interacting with it.
- Add a shortcut to allow users to cancel the transformation.
- Add shortcut to enable snapping to angles.
Illustrations
Transforms |
Markups |
|
|
Transforms |
Markups |
|
|
Background and References