HomePhabricator
Diffusion MITK 5526efb9500a

Optimization of the mxnmultiwidget

Description

Optimization of the mxnmultiwidget

Summary:
move slider navigation to QtWidgets

add utility widget at the top of MxN render windows

correctly set render window properties of nodes

move view direction selection from context menu to utility widget

Replace view direction in newly introduced class

The class was created before the "Frontal" view direction
was changed to "Coronal".

Clean render window utility widget

Remove unnecessary parameters, which can be retrieved from the
passed QmitkRenderWindow.
The widget name was not used at all.

Add slice navigation inversion check

Completely remove RenderWindowManager Module

Add simple context menu for the data storage inspector

The contex menu allows to reinit the specific renderer to a
selected data node or reinit the renderer's world geometry to
the image geometry of the selected data node.

Test Plan: manual testing of the mxnmultiwidget and its render windows

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

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

Subscribers: kalali, s434n, floca

Maniphest Tasks: T28578

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

Details

Provenance
kalaliAuthored on Oct 6 2022, 5:35 AM
kislinskCommitted on Oct 6 2022, 5:35 AM
kislinskPushed on Oct 6 2022, 5:35 AM
Reviewer
O1: MITK Reviewer Group I
Differential Revision
Restricted Differential Revision
Parents
rMITKd9a873d36b18: Optimization of the mxnmultiwidget
rMITKa01053ad3faa: Render window specific geometry comparison
Branches
Unknown
Tags
Unknown
Tasks
T28578: [mxn multi widget] Optimization of the mxn multi widget

Event Timeline

/Modules/QtWidgets/include/QmitkRenderWindowWidget.h
27

This should not have happened.

/Modules/QtWidgets/src/QmitkRenderWindowWidget.cpp
188

This should be a horizontal layout.

/Modules/QtWidgets/include/QmitkRenderWindowWidget.h
27

Nevermind, I was mistaken.

/Modules/QtWidgets/src/QmitkRenderWindowWidget.cpp
188

Nevermind, I was mistaken.