#include <PanoCommand.h>
Inheritance diagram for HuginBase::PanoCommand< StringType >:

Public Member Functions | |
| PanoCommand (ManagedPanoramaData &panoData) | |
| PanoCommand (ManagedPanoramaData &panoData, const StringType &commandName) | |
| virtual | ~PanoCommand () |
| virtual void | execute () |
| Processes the panorama and saves the stateThe default implementation calls processPanorama() and saveMemento(). | |
| virtual void | undo () |
| undoes from saved state | |
| virtual void | redo () |
| redoes from saved state | |
Protected Member Functions | |
| virtual void | saveMemento () |
| saves the state for undo | |
| virtual void | saveRedoMemento () |
| saves the state for redo | |
| virtual bool | processPanorama (ManagedPanoramaData &panoramaData) |
| Called by execute(). | |
Protected Attributes | |
| ManagedPanoramaData & | pano |
| PanoramaDataMemento * | memento |
| PanoramaDataMemento * | redoMemento |
| bool | m_clearDirty |
Definition at line 38 of file PanoCommand.h.
|
||||||||||
|
Definition at line 43 of file PanoCommand.h. |
|
||||||||||||||||
|
Definition at line 48 of file PanoCommand.h. |
|
|||||||||
|
Reimplemented in PT::PanoCommand. Definition at line 53 of file PanoCommand.h. |
|
|||||||||
|
Processes the panorama and saves the stateThe default implementation calls processPanorama() and saveMemento(). Only override this method when you want to customize the undo behaviour. Implements AppBase::Command< StringType >. Definition at line 86 of file PanoCommand.h. |
|
||||||||||
|
Called by execute(). The default implementation does nothing and returns true. Should return false when the processing was unsuccessful. Definition at line 118 of file PanoCommand.h. |
|
|||||||||
|
redoes from saved state the derived class must call PanoComand::execute() or saveRedoMemento() in its execute() method to save the state. Reimplemented from AppBase::Command< StringType >. Definition at line 144 of file PanoCommand.h. |
|
|||||||||
|
saves the state for undo
Definition at line 64 of file PanoCommand.h. |
|
|||||||||
|
saves the state for redo
Definition at line 72 of file PanoCommand.h. |
|
|||||||||
|
undoes from saved state the derived class must call PanoComand::execute() or saveMemento() in its execute() method to save the state. Implements AppBase::Command< StringType >. Definition at line 131 of file PanoCommand.h. |
|
|||||
|
Definition at line 168 of file PanoCommand.h. |
|
|||||
|
Definition at line 162 of file PanoCommand.h. |
|
|||||
|
Definition at line 157 of file PanoCommand.h. |
|
|||||
|
Definition at line 165 of file PanoCommand.h. |
1.3.9.1