HomePhabricator
Diffusion MITK 540f9ce6f8f4

T28248 Refactor picking tool

Description

T28248 Refactor picking tool

Summary:
BREAKING! Member mitk::Tool::m_ToolManager is now private

Reason: Better control the internal state of the tool (e.g. against unwanted
change of tool manager).

Migration: Use mitk::Tool::GetToolManager() to access the manager.

+ Added mitk::Tool::GetDataStorage() as convience getter.

BREAKING! Changed signature of mitk::AutoSegmentationWithPreviewTool::DoUpdatePreview

Reason: Now also the "old"/current segmentation (aka working image) at the given
time step is passed. That is needed for tools like picking that generate
their preview based on the original segmentation.

Migrate: Adapt signature of DoUpdatePreview.

Refactored PickingTool and its UI.

Now AutoSegmentationWithPreview and
QmitkAutoSemgentationToolGUIBase are used.

Fixed T28248

Test Plan: Code review and application test

Reviewers: O1 MITK Reviewer Group I, kislinsk, O3 MITK Reviewer Group II

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

Subscribers: kislinsk

Maniphest Tasks: T28248

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

Details

Provenance
flocaAuthored on May 12 2021, 5:14 PM
flocaPushed on May 14 2021, 12:27 PM
Reviewer
O1: MITK Reviewer Group I
Differential Revision
Restricted Differential Revision
Parents
rMITK8532f8f56985: Fixed review remarks
rMITKbe464bfe51da: T28250 Level window manager update function not consistent
Branches
Unknown
Tags
Unknown
Tasks
T28248: [Segmentation] Picking 3D Tool creates a 3D segmentation out of a 4D image