PanoCommand::SwapImagesCmd Class Reference

swap two images More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::SwapImagesCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 SwapImagesCmd (HuginBase::Panorama &p, unsigned int i1, unsigned int i2)
virtual bool processPanorama (HuginBase::Panorama &pano)
 Called by execute().
virtual std::string getName () const
 returns the name of the command

Private Attributes

unsigned int m_i1
unsigned int m_i2

Detailed Description

swap two images

Definition at line 347 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::SwapImagesCmd::SwapImagesCmd ( HuginBase::Panorama p,
unsigned int  i1,
unsigned int  i2 
) [inline]

Definition at line 350 of file PanoCommand.h.


Member Function Documentation

virtual std::string PanoCommand::SwapImagesCmd::getName (  )  const [inline, virtual]

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 354 of file PanoCommand.h.

bool PanoCommand::SwapImagesCmd::processPanorama ( HuginBase::Panorama pano  )  [virtual]

Called by execute().

The default implementation does nothing and returns true. Should return false when the processing was unsuccessful.

Reimplemented from PanoCommand::PanoCommand.

Definition at line 277 of file PanoCommand.cpp.

References m_i1, m_i2, and HuginBase::Panorama::swapImages().


Member Data Documentation

unsigned int PanoCommand::SwapImagesCmd::m_i1 [private]

Definition at line 354 of file PanoCommand.h.

Referenced by processPanorama().

unsigned int PanoCommand::SwapImagesCmd::m_i2 [private]

Definition at line 357 of file PanoCommand.h.

Referenced by processPanorama().


The documentation for this class was generated from the following files:
Generated on 23 Apr 2018 for Hugintrunk by  doxygen 1.4.7