Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
QmitkDataSelectionWidget Class Reference

#include <QmitkDataSelectionWidget.h>

Inheritance diagram for QmitkDataSelectionWidget:
Collaboration diagram for QmitkDataSelectionWidget:

Public Types

enum  Predicate {
  ImagePredicate, SegmentationPredicate, SurfacePredicate, ImageAndSegmentationPredicate,
  ContourModelPredicate, SegmentationOrSurfacePredicate
}
 

Signals

void SelectionChanged (unsigned int index, const mitk::DataNode *selection)
 

Public Member Functions

 QmitkDataSelectionWidget (QWidget *parent=nullptr)
 
 ~QmitkDataSelectionWidget () override
 
unsigned int AddDataSelection (Predicate predicate)
 
unsigned int AddDataSelection (mitk::NodePredicateBase *predicate=nullptr)
 
unsigned int AddDataSelection (const QString &labelText, const QString &info, const QString &popupTitel, const QString &popupHint, Predicate predicate)
 
unsigned int AddDataSelection (const QString &labelText, const QString &info, const QString &popupTitel, const QString &popupHint, mitk::NodePredicateBase *predicate=nullptr)
 
void SetDataStorage (mitk::DataStorage *dataStorage)
 
mitk::DataStorage::Pointer GetDataStorage () const
 
mitk::DataNode::Pointer GetSelection (unsigned int index)
 
void SetPredicate (unsigned int index, Predicate predicate)
 
void SetPredicate (unsigned int index, const mitk::NodePredicateBase *predicate)
 
const mitk::NodePredicateBaseGetPredicate (unsigned int index) const
 
void SetHelpText (const QString &text)
 

Detailed Description

Definition at line 32 of file QmitkDataSelectionWidget.h.

Member Enumeration Documentation

◆ Predicate

Enumerator
ImagePredicate 
SegmentationPredicate 
SurfacePredicate 
ImageAndSegmentationPredicate 
ContourModelPredicate 
SegmentationOrSurfacePredicate 

Definition at line 37 of file QmitkDataSelectionWidget.h.

Constructor & Destructor Documentation

◆ QmitkDataSelectionWidget()

QmitkDataSelectionWidget::QmitkDataSelectionWidget ( QWidget *  parent = nullptr)
explicit

◆ ~QmitkDataSelectionWidget()

QmitkDataSelectionWidget::~QmitkDataSelectionWidget ( )
override

Member Function Documentation

◆ AddDataSelection() [1/4]

unsigned int QmitkDataSelectionWidget::AddDataSelection ( const QString &  labelText,
const QString &  info,
const QString &  popupTitel,
const QString &  popupHint,
mitk::NodePredicateBase predicate = nullptr 
)

◆ AddDataSelection() [2/4]

unsigned int QmitkDataSelectionWidget::AddDataSelection ( const QString &  labelText,
const QString &  info,
const QString &  popupTitel,
const QString &  popupHint,
Predicate  predicate 
)

◆ AddDataSelection() [3/4]

unsigned int QmitkDataSelectionWidget::AddDataSelection ( mitk::NodePredicateBase predicate = nullptr)

◆ AddDataSelection() [4/4]

unsigned int QmitkDataSelectionWidget::AddDataSelection ( Predicate  predicate)

◆ GetDataStorage()

mitk::DataStorage::Pointer QmitkDataSelectionWidget::GetDataStorage ( ) const

◆ GetPredicate()

const mitk::NodePredicateBase* QmitkDataSelectionWidget::GetPredicate ( unsigned int  index) const

◆ GetSelection()

mitk::DataNode::Pointer QmitkDataSelectionWidget::GetSelection ( unsigned int  index)

◆ SelectionChanged

void QmitkDataSelectionWidget::SelectionChanged ( unsigned int  index,
const mitk::DataNode selection 
)
signal

◆ SetDataStorage()

void QmitkDataSelectionWidget::SetDataStorage ( mitk::DataStorage dataStorage)

◆ SetHelpText()

void QmitkDataSelectionWidget::SetHelpText ( const QString &  text)

◆ SetPredicate() [1/2]

void QmitkDataSelectionWidget::SetPredicate ( unsigned int  index,
const mitk::NodePredicateBase predicate 
)

◆ SetPredicate() [2/2]

void QmitkDataSelectionWidget::SetPredicate ( unsigned int  index,
Predicate  predicate 
)

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