Slicer: 1683-launcher-with-output 5fd34f4d

Author Committer Branch Timestamp Parent
jcfr jcfr 1683-launcher-with-output 2012-10-18 20:21:06 1683-launcher-with-output a3d8edfb
Affected Issues 0002664: crash on second point of ruler
Changeset

BUG: Update vtkAnnotationRulerWidget to adequately distinguish 2D and 3D case

Add functions "GetIs2Widget" and "SetIs2DWidget" allowing to build
the appropriate representation.

Note that calling "SetIs2DWidget" after a representation has been built
as a no-op.

See http://www.na-mic.org/Bug/view.php?id=2664

Fixes 0002664

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21214 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Modules/Loadable/Annotations/MRMLDisplayableManager/vtkMRMLAnnotationRulerDisplayableManager.cxx Diff File
mod - Modules/Loadable/Annotations/VTKWidgets/vtkAnnotationRulerWidget.cxx Diff File
mod - Modules/Loadable/Annotations/VTKWidgets/vtkAnnotationRulerWidget.h Diff File