Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
QmitkRenderWindowContextDataStorageInspector Class Reference

#include <QmitkRenderWindowContextDataStorageInspector.h>

Inheritance diagram for QmitkRenderWindowContextDataStorageInspector:
Collaboration diagram for QmitkRenderWindowContextDataStorageInspector:

Signals

void ReinitAction (QList< mitk::DataNode::Pointer > selectedNodes)
 
void ResetAction (QList< mitk::DataNode::Pointer > selectedNodes)
 
- Signals inherited from QmitkAbstractDataStorageInspector
void CurrentSelectionChanged (NodeList nodes)
 A signal that will be emitted if the selected node has changed. More...
 

Public Member Functions

 QmitkRenderWindowContextDataStorageInspector (QWidget *parent=nullptr, mitk::BaseRenderer *renderer=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...
 
QItemSelectionModel * GetDataNodeSelectionModel () const
 
- 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...
 
- 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 'QmitkRenderWindowContextDataStorageInspector' 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 36 of file QmitkRenderWindowContextDataStorageInspector.h.

Constructor & Destructor Documentation

◆ QmitkRenderWindowContextDataStorageInspector()

QmitkRenderWindowContextDataStorageInspector::QmitkRenderWindowContextDataStorageInspector ( QWidget *  parent = nullptr,
mitk::BaseRenderer renderer = nullptr 
)

Member Function Documentation

◆ GetDataNodeSelectionModel()

QItemSelectionModel* QmitkRenderWindowContextDataStorageInspector::GetDataNodeSelectionModel ( ) const

◆ GetSelectionMode()

SelectionMode QmitkRenderWindowContextDataStorageInspector::GetSelectionMode ( ) const
overridevirtual

◆ GetView() [1/2]

const QAbstractItemView* QmitkRenderWindowContextDataStorageInspector::GetView ( ) const
overridevirtual

◆ GetView() [2/2]

QAbstractItemView* QmitkRenderWindowContextDataStorageInspector::GetView ( )
overridevirtual

◆ ReinitAction

void QmitkRenderWindowContextDataStorageInspector::ReinitAction ( QList< mitk::DataNode::Pointer selectedNodes)
signal

◆ ResetAction

void QmitkRenderWindowContextDataStorageInspector::ResetAction ( QList< mitk::DataNode::Pointer selectedNodes)
signal

◆ SetSelectionMode()

void QmitkRenderWindowContextDataStorageInspector::SetSelectionMode ( SelectionMode  mode)
overridevirtual

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