PanoCommand::UpdateCPsCmd Class Reference

update all control points More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::UpdateCPsCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 UpdateCPsCmd (HuginBase::Panorama &p, const HuginBase::CPVector &cps, bool doUpdateCPError=true)
virtual bool processPanorama (HuginBase::Panorama &pano)
 Called by execute().
virtual std::string getName () const
 returns the name of the command

Private Attributes

HuginBase::CPVector cps
bool updateCPError

Detailed Description

update all control points

Definition at line 117 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::UpdateCPsCmd::UpdateCPsCmd ( HuginBase::Panorama p,
const HuginBase::CPVector cps,
bool  doUpdateCPError = true 
) [inline]

Definition at line 120 of file PanoCommand.h.


Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 124 of file PanoCommand.h.

bool PanoCommand::UpdateCPsCmd::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 94 of file PanoCommand.cpp.

References HuginBase::PTools::calcCtrlPointErrors(), HuginBase::Panorama::changeControlPoint(), cps, and updateCPError.


Member Data Documentation

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

Definition at line 124 of file PanoCommand.h.

Referenced by processPanorama().

bool PanoCommand::UpdateCPsCmd::updateCPError [private]

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