13 #ifndef mitkSegChangeOperationBase_h
14 #define mitkSegChangeOperationBase_h
#define MITKSEGMENTATION_EXPORT
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
Base class for all operations in the undo/redo framework.
Base class for any operation based on a MultiLabelSegmentation instance.
SegChangeOperationBase(SegChangeOperationBase &&)=default
SegChangeOperationBase & operator=(SegChangeOperationBase &&)=default
SegChangeOperationBase & operator=(const SegChangeOperationBase &)=default
const mitk::MultiLabelSegmentation::ConstPointer GetSegmentation() const
Get the target segmentation (const).
bool IsValid() const override
Check whether the operation is still valid (i.e., the segmentation still exists).
mitkClassMacro(SegChangeOperationBase, Operation)
mitk::MultiLabelSegmentation::Pointer GetSegmentation()
Get the target segmentation (mutable).
SegChangeOperationBase(mitk::MultiLabelSegmentation *segmentation, OperationType operationType)
~SegChangeOperationBase() override=default
A weak pointer that observes an itk::Object without preventing its deletion.
Find image slices visible on a given plane.
int OperationType
Type alias for operation type identifiers.