Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkRenderWindowDataStorageListModel Class Reference

#include <QmitkRenderWindowDataStorageListModel.h>

Inheritance diagram for QmitkRenderWindowDataStorageListModel:
Collaboration diagram for QmitkRenderWindowDataStorageListModel:

Public Member Functions

 QmitkRenderWindowDataStorageListModel (QObject *parent=nullptr)
 
void DataStorageChanged () override
 See 'QmitkAbstractDataStorageModel'. More...
 
void NodePredicateChanged () override
 See 'QmitkAbstractDataStorageModel'. More...
 
void NodeAdded (const mitk::DataNode *node) override
 See 'QmitkAbstractDataStorageModel'. More...
 
void NodeChanged (const mitk::DataNode *node) override
 See 'QmitkAbstractDataStorageModel'. More...
 
void NodeRemoved (const mitk::DataNode *node) override
 See 'QmitkAbstractDataStorageModel'. More...
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const override
 
QModelIndex parent (const QModelIndex &child) const override
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
Qt::DropActions supportedDropActions () const override
 
Qt::DropActions supportedDragActions () const override
 
QStringList mimeTypes () const override
 
QMimeData * mimeData (const QModelIndexList &indexes) const override
 
bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override
 
void SetControlledRenderer (mitk::RenderWindowLayerUtilities::RendererVector controlledRenderer)
 
void SetCurrentRenderer (mitk::BaseRenderer *baseRenderer)
 
mitk::BaseRenderer::Pointer GetCurrentRenderer () const
 
void AddDataNodeToAllRenderer (mitk::DataNode *dataNode)
 Use the RenderWindowLayerController to insert the given data node into all controlled render windows. The new node is placed on top of all existing layer nodes in the render window. More...
 
- Public Member Functions inherited from QmitkAbstractDataStorageModel
 ~QmitkAbstractDataStorageModel () override
 
void SetDataStorage (mitk::DataStorage *dataStorage)
 
mitk::DataStorage::Pointer GetDataStorage () const
 
void SetNodePredicate (const mitk::NodePredicateBase *nodePredicate)
 
const mitk::NodePredicateBaseGetNodePredicate () const
 

Additional Inherited Members

- Protected Member Functions inherited from QmitkAbstractDataStorageModel
 QmitkAbstractDataStorageModel (QObject *parent=nullptr)
 
 QmitkAbstractDataStorageModel (mitk::DataStorage *dataStorage, QObject *parent=nullptr)
 
- Protected Attributes inherited from QmitkAbstractDataStorageModel
mitk::WeakPointer< mitk::DataStoragem_DataStorage
 
mitk::NodePredicateBase::ConstPointer m_NodePredicate
 

Detailed Description

Definition at line 32 of file QmitkRenderWindowDataStorageListModel.h.

Constructor & Destructor Documentation

◆ QmitkRenderWindowDataStorageListModel()

QmitkRenderWindowDataStorageListModel::QmitkRenderWindowDataStorageListModel ( QObject *  parent = nullptr)

Member Function Documentation

◆ AddDataNodeToAllRenderer()

void QmitkRenderWindowDataStorageListModel::AddDataNodeToAllRenderer ( mitk::DataNode dataNode)

Use the RenderWindowLayerController to insert the given data node into all controlled render windows. The new node is placed on top of all existing layer nodes in the render window.

Parameters
dataNodeThe data node that should be inserted.

◆ columnCount()

int QmitkRenderWindowDataStorageListModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
override

◆ data()

QVariant QmitkRenderWindowDataStorageListModel::data ( const QModelIndex &  index,
int  role 
) const
override

◆ DataStorageChanged()

void QmitkRenderWindowDataStorageListModel::DataStorageChanged ( )
overridevirtual

◆ dropMimeData()

bool QmitkRenderWindowDataStorageListModel::dropMimeData ( const QMimeData *  data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex &  parent 
)
override

◆ flags()

Qt::ItemFlags QmitkRenderWindowDataStorageListModel::flags ( const QModelIndex &  index) const
override

◆ GetCurrentRenderer()

mitk::BaseRenderer::Pointer QmitkRenderWindowDataStorageListModel::GetCurrentRenderer ( ) const

◆ index()

QModelIndex QmitkRenderWindowDataStorageListModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
override

◆ mimeData()

QMimeData* QmitkRenderWindowDataStorageListModel::mimeData ( const QModelIndexList &  indexes) const
override

◆ mimeTypes()

QStringList QmitkRenderWindowDataStorageListModel::mimeTypes ( ) const
override

◆ NodeAdded()

void QmitkRenderWindowDataStorageListModel::NodeAdded ( const mitk::DataNode node)
overridevirtual

◆ NodeChanged()

void QmitkRenderWindowDataStorageListModel::NodeChanged ( const mitk::DataNode node)
overridevirtual

◆ NodePredicateChanged()

void QmitkRenderWindowDataStorageListModel::NodePredicateChanged ( )
overridevirtual

◆ NodeRemoved()

void QmitkRenderWindowDataStorageListModel::NodeRemoved ( const mitk::DataNode node)
overridevirtual

◆ parent()

QModelIndex QmitkRenderWindowDataStorageListModel::parent ( const QModelIndex &  child) const
override

◆ rowCount()

int QmitkRenderWindowDataStorageListModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
override

◆ SetControlledRenderer()

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

◆ SetCurrentRenderer()

void QmitkRenderWindowDataStorageListModel::SetCurrentRenderer ( mitk::BaseRenderer baseRenderer)

◆ setData()

bool QmitkRenderWindowDataStorageListModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)
override

◆ supportedDragActions()

Qt::DropActions QmitkRenderWindowDataStorageListModel::supportedDragActions ( ) const
override

◆ supportedDropActions()

Qt::DropActions QmitkRenderWindowDataStorageListModel::supportedDropActions ( ) const
override

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