#include <QmitkMultiLabelSelectionLabel.h>
◆ LabelValueType
◆ LabelValueVectorType
◆ QmitkMultiLabelSelectionLabel()
| QmitkMultiLabelSelectionLabel::QmitkMultiLabelSelectionLabel |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~QmitkMultiLabelSelectionLabel()
| QmitkMultiLabelSelectionLabel::~QmitkMultiLabelSelectionLabel |
( |
| ) |
|
◆ CurrentSelectionChanged
A signal that will be emitted if the selected labels change.
- Parameters
-
| labels | A list of label values that are now selected. |
◆ GetEmptyInfo()
| QString QmitkMultiLabelSelectionLabel::GetEmptyInfo |
( |
| ) |
const |
◆ GetHighlightingActivated()
| bool QmitkMultiLabelSelectionLabel::GetHighlightingActivated |
( |
| ) |
const |
◆ GetMultiLabelNode()
| mitk::DataNode* QmitkMultiLabelSelectionLabel::GetMultiLabelNode |
( |
| ) |
const |
◆ GetMultiLabelSegmentation()
◆ GetSelectedLabels()
Retrieve the currently selected labels (equals the last CurrentSelectionChanged values).
◆ Initialize()
| void QmitkMultiLabelSelectionLabel::Initialize |
( |
| ) |
|
|
protected |
◆ SetEmptyInfo
| void QmitkMultiLabelSelectionLabel::SetEmptyInfo |
( |
QString |
info | ) |
|
|
slot |
Set the info text that should be displayed if no label is selected. The string can contain HTML code, if desired.
◆ SetHighlightingActivated
| void QmitkMultiLabelSelectionLabel::SetHighlightingActivated |
( |
bool |
visiblityMod | ) |
|
|
slot |
◆ SetMultiLabelNode
| void QmitkMultiLabelSelectionLabel::SetMultiLabelNode |
( |
mitk::DataNode * |
node | ) |
|
|
slot |
Sets the segmentation node that will be used /monitored by the widget.
- Parameters
-
| node | A pointer to the segmentation node. |
◆ SetMultiLabelSegmentation
Sets the segmentation that will be used and monitored by the widget.
- Parameters
-
| segmentation | A pointer to the segmentation to set. |
- Precondition
- Segmentation node is nullptr.
◆ SetSelectedLabel
The passed label will be used as new selection in the widget.
- Parameters
-
| selectedLabel | Value of the selected label. |
◆ SetSelectedLabels
| void QmitkMultiLabelSelectionLabel::SetSelectedLabels |
( |
const LabelValueVectorType & |
selectedLabels | ) |
|
|
slot |
Transform a list of label values into the new selection of the inspector.
- Parameters
-
| selectedLabels | A list of selected label values. |
◆ UpdateWidget()
| void QmitkMultiLabelSelectionLabel::UpdateWidget |
( |
| ) |
|
|
protected |
◆ m_Controls
| std::unique_ptr<Ui::QmitkMultiLabelSelectionLabel> QmitkMultiLabelSelectionLabel::m_Controls |
|
protected |
◆ m_LastValidSelectedLabels
◆ m_Segmentation
The documentation for this class was generated from the following file: