PanoCommand::SetVariableCmd Class Reference

update a single variable, possibly for a group of images More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::SetVariableCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 SetVariableCmd (HuginBase::Panorama &p, const HuginBase::UIntSet &images, const HuginBase::Variable &var)
virtual bool processPanorama (HuginBase::Panorama &pano)
 Called by execute().
virtual std::string getName () const
 returns the name of the command

Private Attributes

HuginBase::UIntSet images
HuginBase::Variable var

Detailed Description

update a single variable, possibly for a group of images

Definition at line 236 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::SetVariableCmd::SetVariableCmd ( HuginBase::Panorama p,
const HuginBase::UIntSet images,
const HuginBase::Variable var 
) [inline]

Definition at line 239 of file PanoCommand.h.


Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 243 of file PanoCommand.h.

bool PanoCommand::SetVariableCmd::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 176 of file PanoCommand.cpp.

References HuginBase::PTools::calcCtrlPointErrors(), images, HuginBase::Panorama::updateVariable(), and var.


Member Data Documentation

HuginBase::UIntSet PanoCommand::SetVariableCmd::images [private]

Definition at line 245 of file PanoCommand.h.

Referenced by processPanorama().

HuginBase::Variable PanoCommand::SetVariableCmd::var [private]

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