13 #ifndef mitkSegLabelPropModifyOperation_h
14 #define mitkSegLabelPropModifyOperation_h
#define MITKSEGMENTATION_EXPORT
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
ConstLabelVector ConstLabelVectorType
std::vector< LabelValueType > LabelValueVectorType
Base class for any operation based on a MultiLabelSegmentation instance.
An Operation for modifying the properties (e.g. name, color) of labels in a MultiLabelSegmentation.
mitkClassMacro(SegLabelPropModifyOperation, SegChangeOperationBase)
ModifyLabelsVectorType m_ModifiedLabels
SegLabelPropModifyOperation(MultiLabelSegmentation *segmentation, const ModifyLabelsVectorType &modifiedLabel)
Construct a label property modify operation with the given label data.
static SegLabelPropModifyOperation * CreatFromSegmentation(MultiLabelSegmentation *segmentation, const MultiLabelSegmentation::LabelValueVectorType &relevantLabels)
Factory method that creates a label property modify operation from the current segmentation state.
SegLabelPropModifyOperation & operator=(const SegLabelPropModifyOperation &)=delete
const ModifyLabelsVectorType & GetModifiedLabels() const
Get the vector of modified labels stored in this operation.
SegLabelPropModifyOperation(const SegLabelPropModifyOperation &)=delete
MultiLabelSegmentation::ConstLabelVectorType ModifyLabelsVectorType
~SegLabelPropModifyOperation() override=default
Find image slices visible on a given plane.