Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
#include <QmitkRenderWindowDataStorageInspector.h>
Public Member Functions | |
QmitkRenderWindowDataStorageInspector (QWidget *parent=nullptr) | |
QAbstractItemView * | GetView () override |
See 'QmitkAbstractDataStorageInspector'. More... | |
const QAbstractItemView * | GetView () const override |
See 'QmitkAbstractDataStorageInspector'. More... | |
void | SetSelectionMode (SelectionMode mode) override |
See 'QmitkAbstractDataStorageInspector'. More... | |
SelectionMode | GetSelectionMode () const override |
See 'QmitkAbstractDataStorageInspector'. More... | |
void | SetControlledRenderer (mitk::RenderWindowLayerUtilities::RendererVector controlledRenderer) |
Set the controlled base renderer. More... | |
void | SetActiveRenderWindow (const QString &renderWindowId) |
Set the currently selected render window. More... | |
Public Member Functions inherited from QmitkAbstractDataStorageInspector | |
~QmitkAbstractDataStorageInspector () override | |
void | SetDataStorage (mitk::DataStorage *dataStorage) |
Sets the data storage that will be used /monitored by the widget. More... | |
virtual void | SetNodePredicate (const mitk::NodePredicateBase *nodePredicate) |
Sets the node predicate and updates the widget, according to the node predicate. More... | |
const mitk::NodePredicateBase * | GetNodePredicate () const |
NodeList | GetSelectedNodes () const |
bool | GetSelectOnlyVisibleNodes () const |
Additional Inherited Members | |
Public Types inherited from QmitkAbstractDataStorageInspector | |
using | NodeList = QList< mitk::DataNode::Pointer > |
using | SelectionMode = QAbstractItemView::SelectionMode |
Public Slots inherited from QmitkAbstractDataStorageInspector | |
void | SetSelectOnlyVisibleNodes (bool selectOnlyVisibleNodes) |
Change the selection modus of the item view's selection model. More... | |
void | SetCurrentSelection (NodeList selectedNodes) |
Transform a list of data nodes into a model selection and set this as a new selection of the selection model of the private member item view. More... | |
Signals inherited from QmitkAbstractDataStorageInspector | |
void | CurrentSelectionChanged (NodeList nodes) |
A signal that will be emitted if the selected node has changed. More... | |
Protected Slots inherited from QmitkAbstractDataStorageInspector | |
void | OnSelectionChanged (NodeList selectedNodes) |
Protected Member Functions inherited from QmitkAbstractDataStorageInspector | |
QmitkAbstractDataStorageInspector (QWidget *parent=nullptr) | |
Protected Attributes inherited from QmitkAbstractDataStorageInspector | |
mitk::WeakPointer< mitk::DataStorage > | m_DataStorage |
mitk::NodePredicateBase::ConstPointer | m_NodePredicate |
std::unique_ptr< QmitkModelViewSelectionConnector > | m_Connector |
The 'QmitkRenderWindowDataStorageInspector' offers a GUI to manipulate the base renderer / render windows of the MITK workbench.
In order to use this widget, a (e.g.) plugin has to set the controlled renderer, which will be forwarded to a render window view direction controller.
Definition at line 34 of file QmitkRenderWindowDataStorageInspector.h.
QmitkRenderWindowDataStorageInspector::QmitkRenderWindowDataStorageInspector | ( | QWidget * | parent = nullptr | ) |
|
overridevirtual |
See 'QmitkAbstractDataStorageInspector'.
Implements QmitkAbstractDataStorageInspector.
|
overridevirtual |
See 'QmitkAbstractDataStorageInspector'.
Implements QmitkAbstractDataStorageInspector.
|
overridevirtual |
See 'QmitkAbstractDataStorageInspector'.
Implements QmitkAbstractDataStorageInspector.
void QmitkRenderWindowDataStorageInspector::SetActiveRenderWindow | ( | const QString & | renderWindowId | ) |
Set the currently selected render window.
renderWindowId | the text inside the combo box |
void QmitkRenderWindowDataStorageInspector::SetControlledRenderer | ( | mitk::RenderWindowLayerUtilities::RendererVector | controlledRenderer | ) |
Set the controlled base renderer.
|
overridevirtual |
See 'QmitkAbstractDataStorageInspector'.
Implements QmitkAbstractDataStorageInspector.