|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Base class for any operation based on a MultiLabelSegmentation instance. More...
#include <mitkSegChangeOperationBase.h>


Public Member Functions | |
| 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 Member Functions | |
| 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 |
Additional Inherited Members | |
Protected Attributes inherited from mitk::Operation | |
| OperationType | m_OperationType |
| The type identifier for this operation. More... | |
Base class for any operation based on a MultiLabelSegmentation instance.
This Operation serves as the common base for all undo/redo operations that modify a MultiLabelSegmentation. It holds a weak reference to the target segmentation and provides validity checking.
This Operation can be used to realize undo-redo functionality for e.g. segmentation purposes.
Definition at line 36 of file mitkSegChangeOperationBase.h.
|
overridedefault |
|
protected |
|
protecteddefault |
| mitk::MultiLabelSegmentation::Pointer mitk::SegChangeOperationBase::GetSegmentation | ( | ) |
Get the target segmentation (mutable).
| const mitk::MultiLabelSegmentation::ConstPointer mitk::SegChangeOperationBase::GetSegmentation | ( | ) | const |
Get the target segmentation (const).
|
override |
Check whether the operation is still valid (i.e., the segmentation still exists).
| mitk::SegChangeOperationBase::mitkClassMacro | ( | SegChangeOperationBase | , |
| Operation | |||
| ) |
|
protecteddefault |
|
protecteddefault |