13 #ifndef mitkSegChangeOperationApplier_h
14 #define mitkSegChangeOperationApplier_h
58 bool noLabels =
false,
bool noGroupImages =
false,
bool noNames =
false);
84 const GroupIndexSetType& relevantGroupIDs,
bool noLabels =
false,
bool noGroupImages =
false);
107 const GroupIndexSetType& relevantGroupIDs,
bool noLabels =
false,
bool noGroupImages =
false);
#define MITKSEGMENTATION_EXPORT
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
std::vector< LabelValueType > LabelValueVectorType
abstract class, that can be used by Undo to undo an operation.
Base class of all Operation-classes.
Executes a all operations based on SegChangeOperationBase.
mitkClassMacroNoParent(SegChangeOperationApplier) static SegChangeOperationApplier *GetInstance()
Returns an instance of the class.
void ExecuteOperation(Operation *op) override
Executes a SegGroupModifyOperation.
~SegChangeOperationApplier() override
SegChangeOperationApplier()
Base class for any operation based on a MultiLabelSegmentation instance.
~SegGroupInsertUndoRedoHelper()
void RegisterUndoRedoOperationEvent(const std::string &description)
GroupIndexSetType m_RelevantGroupIDs
SegGroupInsertUndoRedoHelper(MultiLabelSegmentation *segmentation, const GroupIndexSetType &relevantGroupIDs, bool noLabels=false, bool noGroupImages=false)
std::set< MultiLabelSegmentation::GroupIndexType > GroupIndexSetType
SegChangeOperationBase * m_UndoOperation
MultiLabelSegmentation::Pointer m_Segmentation
SegChangeOperationBase * m_UndoOperation
GroupIndexSetType m_RelevantGroupIDs
~SegGroupModifyUndoRedoHelper()
SegGroupModifyUndoRedoHelper(MultiLabelSegmentation *segmentation, const GroupIndexSetType &relevantGroupIDs, bool coverAllTimeSteps, TimeStepType timeStep=0, bool noLabels=false, bool noGroupImages=false, bool noNames=false)
std::set< MultiLabelSegmentation::GroupIndexType > GroupIndexSetType
MultiLabelSegmentation::Pointer m_Segmentation
void RegisterUndoRedoOperationEvent(const std::string &description)
MultiLabelSegmentation::Pointer m_Segmentation
SegGroupRemoveUndoRedoHelper(MultiLabelSegmentation *segmentation, const GroupIndexSetType &relevantGroupIDs, bool noLabels=false, bool noGroupImages=false)
std::set< MultiLabelSegmentation::GroupIndexType > GroupIndexSetType
SegChangeOperationBase * m_UndoOperation
void RegisterUndoRedoOperationEvent(const std::string &description)
~SegGroupRemoveUndoRedoHelper()
GroupIndexSetType m_RelevantGroupIDs
MultiLabelSegmentation::LabelValueVectorType m_RelevantLabels
~SegLabelPropModifyUndoRedoHelper()
SegLabelPropModifyUndoRedoHelper(MultiLabelSegmentation *segmentation, const MultiLabelSegmentation::LabelValueVectorType &relevantLabels)
void RegisterUndoRedoOperationEvent(const std::string &description)
MultiLabelSegmentation::Pointer m_Segmentation
SegChangeOperationBase * m_UndoOperation
Find image slices visible on a given plane.