17 #ifndef UNDOMODEL_H_HEADER_INCLUDED_C16ED098
18 #define UNDOMODEL_H_HEADER_INCLUDED_C16ED098
22 #include <itkObject.h>
23 #include <itkObjectFactory.h>
45 virtual bool Undo() = 0;
46 virtual bool Undo(
bool fine) = 0;
48 virtual bool Redo() = 0;
49 virtual bool Redo(
bool fine) = 0;
53 virtual void Clear() = 0;
57 virtual void ClearRedoList() = 0;
61 virtual bool RedoListEmpty() = 0;
67 virtual int GetLastObjectEventIdInList() = 0;
73 virtual int GetLastGroupEventIdInList() = 0;
DataCollection - Class to facilitate loading/accessing structured data.
abstract class, that can be used by Undo to undo an operation.
#define mitkClassMacroItkParent(className, SuperClassName)
Represents an entry of the undo or redo stack.
superclass for all UndoModels
Represents a pair of operations: undo and the according redo.