Medical Imaging Interaction Toolkit
2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkOperationEvent_h
14 #define mitkOperationEvent_h
54 static int GetCurrGroupEventId();
65 static int GetCurrObjectEventId();
69 int GetGroupEventId();
73 int GetObjectEventId();
77 std::string GetDescription();
79 virtual void ReverseOperations();
80 virtual void ReverseAndExecute();
84 virtual bool IsValid()
const = 0;
95 static void IncCurrObjectEventId();
106 static void IncCurrGroupEventId();
114 static int m_CurrObjectEventId;
116 static int m_CurrGroupEventId;
122 std::string m_Description;
155 std::string description =
"");
173 void ReverseOperations()
override;
176 void ReverseAndExecute()
override;
180 bool IsValid()
const override;
183 void OnObjectDeleted();
abstract class, that can be used by Undo to undo an operation.
Convenience class that helps to manage the lifetime of itk event observers.
Base class of all Operation-classes.
Represents an entry of the undo or redo stack.
Find image slices visible on a given plane.
Represents a pair of operations: undo and the according redo.
superclass for all UndoModels
bool m_Reversed
true, if operation and undooperation have been swapped/changed