|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
An Operation for removing groups from a MultiLabelSegmentation. More...
#include <mitkSegGroupRemoveOperation.h>


Public Types | |
| using | GroupIndexSetType = std::set< MultiLabelSegmentation::GroupIndexType > |
Public Member Functions | |
| mitkClassMacro (SegGroupRemoveOperation, SegChangeOperationBase) | |
| SegGroupRemoveOperation (MultiLabelSegmentation *segmentation, const GroupIndexSetType &removalGroupIDs) | |
| Construct a remove operation for the specified groups. More... | |
| ~SegGroupRemoveOperation () override=default | |
| GroupIndexSetType | GetGroupIDs () const |
| Get the group indices to be removed. More... | |
| SegGroupRemoveOperation (const SegGroupRemoveOperation &)=delete | |
| SegGroupRemoveOperation & | operator= (const SegGroupRemoveOperation &)=delete |
Public Member Functions inherited from mitk::SegChangeOperationBase | |
| mitkClassMacro (SegChangeOperationBase, Operation) | |
| ~SegChangeOperationBase () override=default | |
| bool | IsValid () const override |
| Check whether the operation is still valid (i.e., the segmentation still exists). More... | |
| mitk::MultiLabelSegmentation::Pointer | GetSegmentation () |
| Get the target segmentation (mutable). More... | |
| const mitk::MultiLabelSegmentation::ConstPointer | GetSegmentation () const |
| Get the target segmentation (const). More... | |
Public Member Functions inherited from mitk::Operation | |
| mitkClassMacroNoParent (Operation) virtual bool IsValid() const | |
| Check whether this operation is still valid and can be executed. More... | |
| virtual | ~Operation ()=default |
| Virtual destructor. More... | |
| OperationType | GetOperationType () |
| Get the type identifier of this operation. More... | |
Protected Attributes | |
| GroupIndexSetType | m_GroupIDs |
Protected Attributes inherited from mitk::Operation | |
| OperationType | m_OperationType |
| The type identifier for this operation. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mitk::SegChangeOperationBase | |
| SegChangeOperationBase (mitk::MultiLabelSegmentation *segmentation, OperationType operationType) | |
| SegChangeOperationBase (SegChangeOperationBase &&)=default | |
| SegChangeOperationBase & | operator= (const SegChangeOperationBase &)=default |
| SegChangeOperationBase & | operator= (SegChangeOperationBase &&)=default |
Protected Member Functions inherited from mitk::Operation | |
| Operation (OperationType operationType) | |
| Construct an operation with the given type. More... | |
| Operation (const Operation &)=default | |
| Operation (Operation &&)=default | |
| Operation & | operator= (const Operation &)=default |
| Operation & | operator= (Operation &&)=default |
An Operation for removing groups from a MultiLabelSegmentation.
This Operation can be used to realize undo-redo functionality for group removal in segmentation workflows. It stores the indices of the groups to be removed.
Definition at line 31 of file mitkSegGroupRemoveOperation.h.
| using mitk::SegGroupRemoveOperation::GroupIndexSetType = std::set<MultiLabelSegmentation::GroupIndexType> |
Definition at line 36 of file mitkSegGroupRemoveOperation.h.
| mitk::SegGroupRemoveOperation::SegGroupRemoveOperation | ( | MultiLabelSegmentation * | segmentation, |
| const GroupIndexSetType & | removalGroupIDs | ||
| ) |
Construct a remove operation for the specified groups.
| segmentation | The target segmentation. |
| removalGroupIDs | The set of group indices to remove. |
|
overridedefault |
|
delete |
| GroupIndexSetType mitk::SegGroupRemoveOperation::GetGroupIDs | ( | ) | const |
Get the group indices to be removed.
| mitk::SegGroupRemoveOperation::mitkClassMacro | ( | SegGroupRemoveOperation | , |
| SegChangeOperationBase | |||
| ) |
|
delete |
|
protected |
Definition at line 55 of file mitkSegGroupRemoveOperation.h.