bool canRedo() const
Return true iff there is a command to redo.
std::string getLastCommandName() const
returns the name of the last command
std::vector< PanoCommand * > commands
void clearRedoQueue()
clear all commands in the redo queue
virtual void redo()
Redoes the last undone action.
void addCommand(PanoCommand *command, bool execute=true)
Adds a command to the history.
virtual ~CommandHistory()
dtor.
const PanoCommand * getLastCommand() const
return the last PanoCommand
void clear()
Erases all the undo/redo history.
bool canUndo() const
Return true iff there is a command to undo.
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.