PanoCommand::RemoveImageCmd Class Reference

remove an image from a panorama More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::RemoveImageCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Private Attributes

unsigned int imgNr

Detailed Description

remove an image from a panorama

Todo:
would be nice to remove multiple at once

Definition at line 79 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::RemoveImageCmd::RemoveImageCmd ( HuginBase::Panorama p,
unsigned int  imgNr 
) [inline]

Definition at line 82 of file PanoCommand.h.


Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 87 of file PanoCommand.h.

bool PanoCommand::RemoveImageCmd::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 72 of file PanoCommand.cpp.

References imgNr, and HuginBase::Panorama::removeImage().


Member Data Documentation

unsigned int PanoCommand::RemoveImageCmd::imgNr [private]

Definition at line 87 of file PanoCommand.h.

Referenced by processPanorama().


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