Correctly use the node predicates for the render window data storage inspector
Summary:
Simplify the utilities-nodepredicate
Excluding helper nodes should not be defined by this function.
Combine the node predicates for node filtering
The 'fixed layer' node predicate is combined with the user-defined
node predicate member to filter nodes.
This needs to be done either when updating the model (e.g. changing
the data storage or the node predicate) or when a new node is added
to the model by listening to the data storage.
Set a custom node predicate to filter out helper nodes
This data storage inspector should not show helper / hidden nodes so
we add a predicate for that.
Remove custom function and rely on base class function
A function for retrieving the currently selected nodes of the view / model
was already present in the base class 'QmitkAbstractDataStorageInspector'.
It uses the 'QmitkModelViewSelectionConnector' to retrieve the selcted nodes
via model indices.
Test Plan:
manual testing
- open the MITK workbench, load some data
- close the Standard Display, open the MxN Display
- check the "Data" drop down to select data
- see how the crosshair (helper nodes) is not available as nodes
Reviewers: s434n, O3 MITK Reviewer Group II
Reviewed By: s434n, O3 MITK Reviewer Group II
Subscribers: kalali, s434n
Maniphest Tasks: T29331
Differential Revision: https://phabricator.mitk.org/D732