Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitkAbstractSemanticRelationsStorageInspector Class Referenceabstract

#include <QmitkAbstractSemanticRelationsStorageInspector.h>

Inheritance diagram for QmitkAbstractSemanticRelationsStorageInspector:
Collaboration diagram for QmitkAbstractSemanticRelationsStorageInspector:

Public Member Functions

 ~QmitkAbstractSemanticRelationsStorageInspector () override
 
virtual void SetCaseID (const mitk::SemanticTypes::CaseID &caseID)=0
 Extends the abstract base class to allow setting the current case ID which is needed to access the semantic relations storage. The function sets the case ID in the storage model. More...
 
virtual void SetLesion (const mitk::SemanticTypes::Lesion &lesion)=0
 Extends the abstract base class to allow setting the current lesion. The function sets the lesion in the storage model. 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
 
virtual QAbstractItemView * GetView ()=0
 
virtual const QAbstractItemView * GetView () const =0
 
bool GetSelectOnlyVisibleNodes () const
 
virtual void SetSelectionMode (SelectionMode mode)=0
 
virtual SelectionMode GetSelectionMode () const =0
 

Protected Member Functions

 QmitkAbstractSemanticRelationsStorageInspector (QWidget *parent=nullptr)
 
- Protected Member Functions inherited from QmitkAbstractDataStorageInspector
virtual void Initialize ()=0
 
 QmitkAbstractDataStorageInspector (QWidget *parent=nullptr)
 

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 Attributes inherited from QmitkAbstractDataStorageInspector
mitk::WeakPointer< mitk::DataStoragem_DataStorage
 
mitk::NodePredicateBase::ConstPointer m_NodePredicate
 
std::unique_ptr< QmitkModelViewSelectionConnectorm_Connector
 

Detailed Description

Constructor & Destructor Documentation

◆ ~QmitkAbstractSemanticRelationsStorageInspector()

QmitkAbstractSemanticRelationsStorageInspector::~QmitkAbstractSemanticRelationsStorageInspector ( )
override

◆ QmitkAbstractSemanticRelationsStorageInspector()

QmitkAbstractSemanticRelationsStorageInspector::QmitkAbstractSemanticRelationsStorageInspector ( QWidget *  parent = nullptr)
protected

Member Function Documentation

◆ SetCaseID()

virtual void QmitkAbstractSemanticRelationsStorageInspector::SetCaseID ( const mitk::SemanticTypes::CaseID caseID)
pure virtual

Extends the abstract base class to allow setting the current case ID which is needed to access the semantic relations storage. The function sets the case ID in the storage model.

Parameters
caseIDA case ID as string

Implemented in QmitkPatientTableInspector.

◆ SetLesion()

virtual void QmitkAbstractSemanticRelationsStorageInspector::SetLesion ( const mitk::SemanticTypes::Lesion lesion)
pure virtual

Extends the abstract base class to allow setting the current lesion. The function sets the lesion in the storage model.

Parameters
lesionThe selected lesion

Implemented in QmitkPatientTableInspector.


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