PanoCommand::MoveImageCmd Class Reference

move image from position1 to position2 More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::MoveImageCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 MoveImageCmd (HuginBase::Panorama &p, size_t i1, size_t 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

move image from position1 to position2

Definition at line 361 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::MoveImageCmd::MoveImageCmd ( HuginBase::Panorama p,
size_t  i1,
size_t  i2 
) [inline]

Definition at line 364 of file PanoCommand.h.


Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 368 of file PanoCommand.h.

bool PanoCommand::MoveImageCmd::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 283 of file PanoCommand.cpp.

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


Member Data Documentation

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

Definition at line 368 of file PanoCommand.h.

Referenced by processPanorama().

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

Definition at line 371 of file PanoCommand.h.

Referenced by processPanorama().


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