Initialize render windows individually
Summary:
Only initialize the newly created render window
If the user creates a new render window (widget) by
changing the multi widget layout, only newly created / added
render window (widgets) are reinitialized.
Allow initializing a render window with bounding objects
This allows to initialize a specific render window with the bounding geometry
of all available data nodes, if they are visible inside the render window.
Initialize the render window part correctly to null
Test Plan:
manual testing
- open MITK, load an image
- close the StdMultiWidget, open the mxnMultiWidget
- use the icon in the right toolbar to create a second / third render window
- navigate inside each render window individually
- use the top right render window menu to "Reset view"
- see how only the selected render window is reset to the bounding geometry
Reviewers: s434n, O3 MITK Reviewer Group II, O1 MITK Reviewer Group I
Reviewed By: s434n, O3 MITK Reviewer Group II, O1 MITK Reviewer Group I
Subscribers: kalali, s434n
Maniphest Tasks: T26496
Differential Revision: https://phabricator.mitk.org/D708