Page MenuHomePhabricator

Fix different issues with re-initialization
Closed, ResolvedPublic

Description

During testing several issues occurred, when it comes to initializing the render windows:

  1. when creating a new segmentation, all render windows are re-initialized
    • the problem is that the used function QmitkAbstractView::InitializeRenderWindows stored the current crosshair position of the active render window and reset it after the geometry was re-initialized (without changing the camera view).
    • re-initializing all render windows but only resetting the crosshair for the active one set the camera of all other render windows to the zero-slice
    • the segmentation view only has access to the render window part but doesn't know the specific implementation. However, it has to decide if the StdMultiWidget is present in order to reinit all render windows or the MxNMultiWidget in order to reinit only a single render window
    • the solution is to move the initialize-function to the render window part where the specific implementation (in the subclasses) can handle the different requests
  1. when using the "Reset to node geometry" action of the render window specific context-menu, the individual render window is not correctly reset to the current slice

Revisions and Commits

rMITK MITK
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision

Event Timeline

kalali triaged this task as Normal priority.Oct 6 2022, 5:04 PM
kalali created this task.
kalali added a revision: Restricted Differential Revision.Oct 6 2022, 5:16 PM
kalali claimed this task.
kalali moved this task from Backlog to Cycle on the MITK (v2022.10) board.