PanoCommand::UpdateVariablesCPSetCmd Class Reference

update all variables & control points More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::UpdateVariablesCPSetCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 UpdateVariablesCPSetCmd (HuginBase::Panorama &p, HuginBase::UIntSet imgs, const HuginBase::VariableMapVector &vars, const HuginBase::CPVector &cps)
virtual bool processPanorama (HuginBase::Panorama &pano)
 Called by execute().
virtual std::string getName () const
 returns the name of the command

Private Attributes

HuginBase::UIntSet m_imgs
HuginBase::VariableMapVector vars
HuginBase::CPVector cps

Detailed Description

update all variables & control points

Definition at line 145 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::UpdateVariablesCPSetCmd::UpdateVariablesCPSetCmd ( HuginBase::Panorama p,
HuginBase::UIntSet  imgs,
const HuginBase::VariableMapVector vars,
const HuginBase::CPVector cps 
) [inline]

Definition at line 148 of file PanoCommand.h.


Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 152 of file PanoCommand.h.

bool PanoCommand::UpdateVariablesCPSetCmd::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 117 of file PanoCommand.cpp.

References cps, m_imgs, HuginBase::Panorama::markAsOptimized(), HuginBase::Panorama::updateCtrlPointErrors(), HuginBase::Panorama::updateVariables(), and vars.


Member Data Documentation

HuginBase::CPVector PanoCommand::UpdateVariablesCPSetCmd::cps [private]

Definition at line 156 of file PanoCommand.h.

Referenced by processPanorama().

HuginBase::UIntSet PanoCommand::UpdateVariablesCPSetCmd::m_imgs [private]

Definition at line 152 of file PanoCommand.h.

Referenced by processPanorama().

HuginBase::VariableMapVector PanoCommand::UpdateVariablesCPSetCmd::vars [private]

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