Please sign in to comment.
BUG: Move light box renderer manager proxy to abstract displayable ma…
…nager Suggested by Steve Pieper Contributed by Jim Miller Moved the LightBoxRendererManagerProxy up to the superclass of the DisplayableManager hierarchy so that all (2D & 3D) displayable managers can interact with a lightbox. Note that light boxes are only currently supported on 2D viewers, so the proxy is only configured in qMRMLSliceView. CTK will need to be changed to put the LightBoxManager into ctkVTKAbstractView to make it accessible to both ctkVTKSliceView and ctkVTKRenderView. Then qMRMLThreeDView could also create and initialize a LightBoxManagerProxy and set it on its DisplayableManagers. Here, we would also want to move qMRMLSliceViewPrivate::vtkInternalLightBoxRendererManagerProxy class to a place where it could be used by both types of VTK widgets. The proxy can now be set on the DisplayableManagerGroup which broadcasts the proxy to all the DisplayableManagers in that group. See http://www.na-mic.org/Bug/view.php?id=2732 Fixes #2732 git-svn-id: http://svn.slicer.org/Slicer4/trunk@21431 3bd1e089-480b-0410-8dfb-8563597acbee
- Loading branch information...
Showing with 103 additions and 27 deletions.
- +32 −1 Libs/MRML/DisplayableManager/vtkMRMLAbstractDisplayableManager.cxx
- +20 −1 Libs/MRML/DisplayableManager/vtkMRMLAbstractDisplayableManager.h
- +3 −11 Libs/MRML/DisplayableManager/vtkMRMLCrosshairDisplayableManager.cxx
- +0 −5 Libs/MRML/DisplayableManager/vtkMRMLCrosshairDisplayableManager.h
- +30 −0 Libs/MRML/DisplayableManager/vtkMRMLDisplayableManagerGroup.cxx
- +15 −0 Libs/MRML/DisplayableManager/vtkMRMLDisplayableManagerGroup.h
- +3 −9 Libs/MRML/Widgets/qMRMLSliceView.cxx