13 #ifndef UNDOMODEL_H_HEADER_INCLUDED_C16ED098 14 #define UNDOMODEL_H_HEADER_INCLUDED_C16ED098 18 #include <itkObject.h> 19 #include <itkObjectFactory.h> 41 virtual bool Undo() = 0;
42 virtual bool Undo(
bool fine) = 0;
44 virtual bool Redo() = 0;
45 virtual bool Redo(
bool fine) = 0;
49 virtual void Clear() = 0;
53 virtual void ClearRedoList() = 0;
57 virtual bool RedoListEmpty() = 0;
64 virtual std::size_t GetUndoLimit()
const = 0;
72 virtual void SetUndoLimit(std::size_t limit) = 0;
78 virtual int GetLastObjectEventIdInList() = 0;
84 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.