fw4spl
fwCommand::ImageDiffCommand Class Reference
+ Inheritance diagram for fwCommand::ImageDiffCommand:
+ Collaboration diagram for fwCommand::ImageDiffCommand:

Public Member Functions

FWCOMMAND_API ImageDiffCommand (const ::fwData::Image::sptr &img,::fwDataTools::ImageDiff diff)
 Constructor, uses an image and a change list for that image.
 
virtual FWCOMMAND_API size_t getSize () const
 The diff size.
 
virtual FWCOMMAND_API bool redo ()
 Apply diff.
 
virtual FWCOMMAND_API bool undo ()
 Revert diff.
 
virtual FWCOMMAND_API const std::string getDescription () const
 Returns "ImageDiff".
 
- Public Member Functions inherited from fwCommand::ICommand
virtual FWCOMMAND_API ~ICommand ()
 Virtual destructor.
 

Additional Inherited Members

- Public Types inherited from fwCommand::ICommand
typedef std::shared_ptr< ICommandsptr
 

Detailed Description

Definition at line 21 of file ImageDiffCommand.hpp.


The documentation for this class was generated from the following files: