2008 Summer Project Week:3DWidgetsInSlicer
- BWH: Nicole Aucoin
- Kitware: Will Schroeder
Integrate more vtk 3D widgets into Slicer. The vtkPointWidget is used for manipulating fiducials in 3D, and the implicit plane widget is used for slices, these need to be optimised and more added.
Our approach is to clear up issues with existing widgets issues (vtkPointWidget, vtkImplicitPlaneWidget) then incorporate new ones.
Our plan for the project week is to first collaborate on debugging and then decide on a plan of attack for adding new widgets.
Will noticed that we're using the prior generation of the box and implicit plane widgets, so those are first to be upgraded.
Slice plane widget is converted, changes checked into Slicer3 svn trunk.
Volume Rendering box widget was copied and modified from VTK. New widget and representation copied and modified by Nicole. Found that the level of detail changes were not in synch with the handle resizing on both plane and box widgets, Will looking into it. Seems to be an issue with the custom volume rendering classes in the VolumeRendering module, as it can't be reproduced in plain VTK.
Using the vtkSeedWidget as a fiducials replacement will take some work, as the VTK widget needs to be modified to support programmable glyphs (ie 2d starburst, 3d sphere), text strings, and hopefully longer notes (like post it notes, Ron's request). On Will's to-do list.