PanoCommand::UpdateSrcImageCmd Class Reference

update source image More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::UpdateSrcImageCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 UpdateSrcImageCmd (HuginBase::Panorama &p, unsigned i, HuginBase::SrcPanoImage img)
virtual bool processPanorama (HuginBase::Panorama &pano)
 Called by execute().
virtual std::string getName () const
 returns the name of the command

Private Attributes

HuginBase::SrcPanoImage img
unsigned imgNr

Detailed Description

update source image

Definition at line 389 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::UpdateSrcImageCmd::UpdateSrcImageCmd ( HuginBase::Panorama p,
unsigned  i,
HuginBase::SrcPanoImage  img 
) [inline]

Definition at line 392 of file PanoCommand.h.


Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 396 of file PanoCommand.h.

bool PanoCommand::UpdateSrcImageCmd::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 296 of file PanoCommand.cpp.

References img, imgNr, and HuginBase::Panorama::setSrcImage().


Member Data Documentation

HuginBase::SrcPanoImage PanoCommand::UpdateSrcImageCmd::img [private]

Definition at line 396 of file PanoCommand.h.

Referenced by processPanorama().

unsigned PanoCommand::UpdateSrcImageCmd::imgNr [private]

Definition at line 399 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