Hi devs. Like I mentioned on the Slicer meeting. I would be interested in contributing a transform widget similar to the one used in the following video: Virtual surgical planning using a DCIA free flap for mandibular reconstruction - YouTube
As you can see in the video next 60 seconds the iliac crest is registered to the mandible successfully. This is the software 3D Systems use for planning this kind of surgery. And I think this widget would be useful for making this planning possible in Slicer also.
The widget has two modes (possibly activated with hotkeys):
- The widget reposition mode, where you move the frame of the widget without transforming the mesh
- The widget transform mode, where you are able to rotate the mesh around the widget’s origin or translate the mesh by moving the widget
The widget allows traslations that are:
- Linear, following the arrows of the frame
- In the camara plane, moving the origin of the frame. (*)
The rotations can be:
- Using the rings corrresponding to each arrow of the frame (rotation around that axis)
- Using the ring that has and axis always parallel to the camera direction of view. (*)
Both (*) I consider very useful because those are the only movements used in the registration shown in the video.
I would appreciate comments or suggestions regarding/guiding the implementation.
My objetive would be to make the widget as similar as possible to the one shown in the video because I consider it has great usability.