Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
superclass for all UndoModels More...
#include <mitkUndoModel.h>
Public Types | |
typedef UndoModel | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const |
virtual const char * | GetClassName () const |
virtual bool | SetOperationEvent (UndoStackItem *stackItem)=0 |
virtual bool | Undo ()=0 |
virtual bool | Undo (bool fine)=0 |
virtual bool | Redo ()=0 |
virtual bool | Redo (bool fine)=0 |
virtual void | Clear ()=0 |
clears undo and Redolist More... | |
virtual void | ClearRedoList ()=0 |
clears the RedoList More... | |
virtual bool | RedoListEmpty ()=0 |
true if RedoList is empty More... | |
virtual int | GetLastObjectEventIdInList ()=0 |
returns the ObjectEventId of the top Element in the OperationHistory of the selected UndoModel More... | |
virtual int | GetLastGroupEventIdInList ()=0 |
returns the GroupEventId of the top Element in the OperationHistory of the selected UndoModel More... | |
virtual OperationEvent * | GetLastOfType (OperationActor *destination, OperationType opType)=0 |
returns the last specified OperationEvent in Undo-list corresponding to the given values; if nothing found, then returns NULL More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
UndoModel () | |
virtual | ~UndoModel () |
superclass for all UndoModels
all necessary operations, that all UndoModels share.
Definition at line 36 of file mitkUndoModel.h.
typedef itk::SmartPointer<const Self> mitk::UndoModel::ConstPointer |
Definition at line 39 of file mitkUndoModel.h.
Definition at line 39 of file mitkUndoModel.h.
typedef UndoModel mitk::UndoModel::Self |
Definition at line 39 of file mitkUndoModel.h.
typedef itk::Object mitk::UndoModel::Superclass |
Definition at line 39 of file mitkUndoModel.h.
|
inlineprotected |
Definition at line 83 of file mitkUndoModel.h.
|
inlineprotectedvirtual |
Definition at line 84 of file mitkUndoModel.h.
|
pure virtual |
clears undo and Redolist
Implemented in mitk::LimitedLinearUndo.
Referenced by QmitkSurfaceBasedInterpolatorWidget::OnToggleWidgetActivation(), and QmitkSliceBasedInterpolatorWidget::OnToggleWidgetActivation().
|
pure virtual |
clears the RedoList
Implemented in mitk::LimitedLinearUndo.
|
inlinevirtual |
Reimplemented in mitk::LimitedLinearUndo, and mitk::VerboseLimitedLinearUndo.
Definition at line 39 of file mitkUndoModel.h.
|
virtual |
Reimplemented in mitk::LimitedLinearUndo, and mitk::VerboseLimitedLinearUndo.
|
pure virtual |
returns the GroupEventId of the top Element in the OperationHistory of the selected UndoModel
Implemented in mitk::LimitedLinearUndo.
|
pure virtual |
returns the ObjectEventId of the top Element in the OperationHistory of the selected UndoModel
Implemented in mitk::LimitedLinearUndo.
|
pure virtual |
returns the last specified OperationEvent in Undo-list corresponding to the given values; if nothing found, then returns NULL
needed to get the old Position of an Element for declaring an UndoOperation
Implemented in mitk::LimitedLinearUndo.
|
inlinestatic |
Definition at line 39 of file mitkUndoModel.h.
|
pure virtual |
Implemented in mitk::LimitedLinearUndo.
Referenced by QmitkRedoAction::Run().
|
pure virtual |
Implemented in mitk::LimitedLinearUndo.
|
pure virtual |
true if RedoList is empty
Implemented in mitk::LimitedLinearUndo.
|
pure virtual |
Implemented in mitk::VerboseLimitedLinearUndo, and mitk::LimitedLinearUndo.
Referenced by QmitkSlicesInterpolator::AcceptAllInterpolations(), mitk::OverwriteSliceImageFilter::GenerateData(), QmitkSliceBasedInterpolatorWidget::OnAcceptInterpolationClicked(), and mitk::SegTool2D::WriteSliceToVolume().
|
pure virtual |
Implemented in mitk::LimitedLinearUndo.
Referenced by QmitkUndoAction::Run().
|
pure virtual |
Implemented in mitk::LimitedLinearUndo.