Difference between revisions of "Slicer4:VTKWidgets"

From Slicer Wiki
Jump to: navigation, search
Line 9: Line 9:
 
<font color=red> '''[A]'''</font> = <font color=red> High priority </font> widget for the Annotation module in the December Release
 
<font color=red> '''[A]'''</font> = <font color=red> High priority </font> widget for the Annotation module in the December Release
  
 +
*vtkDistanceWidget (need to have 3D version of this!) <font color=red> '''[A]'''</font>
 +
*'''vtkBidimensionalWidget''' <font color=red> '''[A]'''</font>
 +
*'''vtkTextWidget''' <font color=red> '''[A]'''</font>
 +
*'''vtkSeedWidget''' <font color=red> '''[A]'''</font>
 
*'''vtkAngleWidget'''
 
*'''vtkAngleWidget'''
 
*'''vtkBalloonWidget''' (and other special classes of vtkHoverWidget)
 
*'''vtkBalloonWidget''' (and other special classes of vtkHoverWidget)
*'''vtkBidimensionalWidget''' <font color=red> '''[A]'''</font>
 
 
*'''vtkCaptionWidget'''
 
*'''vtkCaptionWidget'''
 
*'''vtkImplicitPlaneWidget2'''
 
*'''vtkImplicitPlaneWidget2'''
 
*'''vtkLineWidget2'''
 
*'''vtkLineWidget2'''
*'''vtkTextWidget''' <font color=red> '''[A]'''</font>
 
*'''vtkSeedWidget''' <font color=red> '''[A]'''</font>
 
 
*'''vtkSplineWidget2'''
 
*'''vtkSplineWidget2'''
 
*vtkAffineWidget (need 3D version: a backport from vtkSlicerBoxWidget2 has required logic)
 
*vtkAffineWidget (need 3D version: a backport from vtkSlicerBoxWidget2 has required logic)
Line 22: Line 23:
 
*vtkSplineWidget
 
*vtkSplineWidget
 
*vtkContourWidget
 
*vtkContourWidget
*vtkDistanceWidget (need to have 3D version of this!) <font color=red> '''[A]'''</font>
 
 
*vtkHandleWidget
 
*vtkHandleWidget
 
*vtkLineWidget
 
*vtkLineWidget

Revision as of 16:38, 10 September 2010

Home < Slicer4:VTKWidgets
Back to Slicer 4 Developer Projects
  • See discussions during 2010 June project week here
  • See more detailed wishlist here

List of VTK widgets used in Slicer 4

Bold widgets below are being used by Slicer3.6. Other widgets included are widgets that we know we'd like to use in Slicer4.

[A] = High priority widget for the Annotation module in the December Release

  • vtkDistanceWidget (need to have 3D version of this!) [A]
  • vtkBidimensionalWidget [A]
  • vtkTextWidget [A]
  • vtkSeedWidget [A]
  • vtkAngleWidget
  • vtkBalloonWidget (and other special classes of vtkHoverWidget)
  • vtkCaptionWidget
  • vtkImplicitPlaneWidget2
  • vtkLineWidget2
  • vtkSplineWidget2
  • vtkAffineWidget (need 3D version: a backport from vtkSlicerBoxWidget2 has required logic)
  • vtkBoxWidget (lower priority)
  • vtkSplineWidget
  • vtkContourWidget
  • vtkHandleWidget
  • vtkLineWidget
  • vtkTensorProbeWidget
  • Expand ROI widget (RON):
    • The most general case is a boolean of multiple prisms (like in the AZE demo on Thursday late afternoon).
    • brick, skewed brick, cone, ellipsoid as special cases.
    • applicable to volumes (with resampling), surface models (properly closing cut surfaces), tensor fields (with resampling).
  • cutting planes (any kind of cuts, maybe reformat widget is the right one, with clip outside option)

Whishlist as of September 2010

  • Annotation module for the December release of Slicer4: (Daniel)
    • fire appropriate events during interaction to enable appropriate changes of the mouse cursor (no VTK cursors, we want QT cursors)
      • f.e. Hover event, move, resize, select etc..
    • vtkDistanceWidget
      • enable programmatically placement!!
      • add a 3D representation (vtkDistanceRepresentation3D)
    • vtkBidimensionalWidget
      • enable programmatically placement!!
      • remove the interaction bugs
    • vtkTextWidget
      • enable programmatically placement with display coordinates (not normalized viewport via vtkTextRepresentation)
      • add a second point which is the anchor for a line connection to the text representation. the text representation can be moved around (also programmatically!!) and the line connects it always to the anchor. The type of line can vary (f.e. point, thickness, color.. etc.).
    • vtkSeedWidget
      • enable individual display properties (color, shape etc.) for each seed of a vtkSeedWidget (individual representations for each seed)
      • associated text should also be connected via a line connection similar to the text widget (see above)