|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Dialog for copying a label to another group within a multi-label segmentation. More...
#include <QmitkCopyLabelToGroupDialog.h>


Public Member Functions | |
| QmitkCopyLabelToGroupDialog (mitk::MultiLabelSegmentation *segmentation, mitk::Label *label, QWidget *parent=nullptr) | |
| Constructs the dialog for copying a label to another group. More... | |
| ~QmitkCopyLabelToGroupDialog () override | |
| Destructor. More... | |
| void | accept () override |
| Accepts the dialog and performs the label copy operation. More... | |
| mitk::Label * | GetDestinationLabel () const |
| Returns the destination label after the copy operation. More... | |
Dialog for copying a label to another group within a multi-label segmentation.
Allows the user to select a destination group within the segmentation and copies the source label to that group. The destination label will have a different label value since all label values in a MultiLabelSegmentation must be unique.
Definition at line 41 of file QmitkCopyLabelToGroupDialog.h.
| QmitkCopyLabelToGroupDialog::QmitkCopyLabelToGroupDialog | ( | mitk::MultiLabelSegmentation * | segmentation, |
| mitk::Label * | label, | ||
| QWidget * | parent = nullptr |
||
| ) |
Constructs the dialog for copying a label to another group.
| [in] | segmentation | The multi-label segmentation containing the label. |
| [in] | label | The source label to copy. |
| [in] | parent | Optional parent widget. |
|
override |
Destructor.
|
override |
Accepts the dialog and performs the label copy operation.
| mitk::Label* QmitkCopyLabelToGroupDialog::GetDestinationLabel | ( | ) | const |
Returns the destination label after the copy operation.