Medical Imaging Interaction Toolkit  2023.04.99-859410e3
Medical Imaging Interaction Toolkit
QmitkRenderWindowDataStorageInspector Class Reference

#include <QmitkRenderWindowDataStorageInspector.h>

Inheritance diagram for QmitkRenderWindowDataStorageInspector:
Collaboration diagram for QmitkRenderWindowDataStorageInspector:

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::NodePredicateBaseGetNodePredicate () 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::DataStoragem_DataStorage
mitk::NodePredicateBase::ConstPointer m_NodePredicate
std::unique_ptr< QmitkModelViewSelectionConnectorm_Connector

Detailed Description

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.

Constructor & Destructor Documentation

◆ QmitkRenderWindowDataStorageInspector()

QmitkRenderWindowDataStorageInspector::QmitkRenderWindowDataStorageInspector ( QWidget *  parent = nullptr)

Member Function Documentation

◆ GetSelectionMode()

SelectionMode QmitkRenderWindowDataStorageInspector::GetSelectionMode ( ) const

◆ GetView() [1/2]

const QAbstractItemView* QmitkRenderWindowDataStorageInspector::GetView ( ) const

◆ GetView() [2/2]

QAbstractItemView* QmitkRenderWindowDataStorageInspector::GetView ( )

◆ SetActiveRenderWindow()

void QmitkRenderWindowDataStorageInspector::SetActiveRenderWindow ( const QString &  renderWindowId)

Set the currently selected render window.

renderWindowIdthe text inside the combo box

◆ SetControlledRenderer()

void QmitkRenderWindowDataStorageInspector::SetControlledRenderer ( mitk::RenderWindowLayerUtilities::RendererVector  controlledRenderer)

Set the controlled base renderer.

◆ SetSelectionMode()

void QmitkRenderWindowDataStorageInspector::SetSelectionMode ( SelectionMode  mode)

The documentation for this class was generated from the following file: