PanoCommand::UpdateCropFactorCmd Class Reference

Update the crop factor. More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::UpdateCropFactorCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 UpdateCropFactorCmd (HuginBase::Panorama &p, HuginBase::UIntSet imgs, double newCropFactor)
virtual bool processPanorama (HuginBase::Panorama &pano)
 Called by execute().
virtual std::string getName () const
 returns the name of the command

Private Attributes

HuginBase::UIntSet imgNrs
double m_cropFactor

Detailed Description

Update the crop factor.

Definition at line 491 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::UpdateCropFactorCmd::UpdateCropFactorCmd ( HuginBase::Panorama p,
HuginBase::UIntSet  imgs,
double  newCropFactor 
) [inline]

Definition at line 494 of file PanoCommand.h.


Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 498 of file PanoCommand.h.

bool PanoCommand::UpdateCropFactorCmd::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 357 of file PanoCommand.cpp.

References HuginBase::StandardImageVariableGroups::getLenses(), HuginBase::Panorama::getNrOfImages(), HuginBase::ConstImageVariableGroup::getPartNumber(), imgNrs, m_cropFactor, set_contains(), and HuginBase::Panorama::UpdateCropFactor().


Member Data Documentation

HuginBase::UIntSet PanoCommand::UpdateCropFactorCmd::imgNrs [private]

Definition at line 498 of file PanoCommand.h.

Referenced by processPanorama().

double PanoCommand::UpdateCropFactorCmd::m_cropFactor [private]

Definition at line 501 of file PanoCommand.h.

Referenced by processPanorama().


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