Diffusion MITK 4974a335ada8

Show warning for interaction reference geometry


Show warning for interaction reference geometry

Provide functions to enable overlay warnings for not-aligned geometries

In order to move the logic for comparing base renderer and given input
geometry - to find out if a reference geometry matches the current
world time geometry of a base renderer - additional functions
have been introduced.

Remove segmentation interactor and use new approach

Remove the first concept of showing a overlay geometry warning
that was introduced in D722 (and following) by using the recent changes
(previous commit: moving the logic to the render window itself).

Clean base renderer

Test Plan:
manual UI testing

  • start MITK, open the segmentation plugin view, load different images
  • open the MxNMultiWidget and add several render windows
  • create a segmentation node for one of the image
  • activate a tool and try to draw on the render window
    • drawing should be possible but warning signs should appear
    • perhaps you have to perform a global reinit or reint to another node to see the warnings
  • reinit to the reference geometry
    • drawing should be possible without warning signs
  • also test 4D images, static / dynamic segmentation

Reviewers: floca, s434n, O1 MITK Reviewer Group I, O3 MITK Reviewer Group II

Reviewed By: floca, O1 MITK Reviewer Group I, O3 MITK Reviewer Group II

Subscribers: s434n, floca, kalali

Maniphest Tasks: T29335

Differential Revision: https://phabricator.mitk.org/D774