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