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

#include <QmitkRenderWindowDataStorageTreeModel.h>

Inheritance diagram for QmitkRenderWindowDataStorageTreeModel:
Collaboration diagram for QmitkRenderWindowDataStorageTreeModel:

Public Member Functions

 QmitkRenderWindowDataStorageTreeModel (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 &parent) 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
 
- 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 33 of file QmitkRenderWindowDataStorageTreeModel.h.

Constructor & Destructor Documentation

◆ QmitkRenderWindowDataStorageTreeModel()

QmitkRenderWindowDataStorageTreeModel::QmitkRenderWindowDataStorageTreeModel ( QObject *  parent = nullptr)

Member Function Documentation

◆ columnCount()

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

◆ data()

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

◆ DataStorageChanged()

void QmitkRenderWindowDataStorageTreeModel::DataStorageChanged ( )
overridevirtual

◆ dropMimeData()

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

◆ flags()

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

◆ GetCurrentRenderer()

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

◆ index()

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

◆ mimeData()

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

◆ mimeTypes()

QStringList QmitkRenderWindowDataStorageTreeModel::mimeTypes ( ) const
override

◆ NodeAdded()

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

◆ NodeChanged()

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

◆ NodePredicateChanged()

void QmitkRenderWindowDataStorageTreeModel::NodePredicateChanged ( )
overridevirtual

◆ NodeRemoved()

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

◆ parent()

QModelIndex QmitkRenderWindowDataStorageTreeModel::parent ( const QModelIndex &  parent) const
override

◆ rowCount()

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

◆ SetControlledRenderer()

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

◆ SetCurrentRenderer()

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

◆ setData()

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

◆ supportedDragActions()

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

◆ supportedDropActions()

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

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