PanoCommand::AddCtrlPointsCmd Class Reference

add multiple control points More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::AddCtrlPointsCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AddCtrlPointsCmd (HuginBase::Panorama &p, const HuginBase::CPVector &cpoints)
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

Detailed Description

add multiple control points

Definition at line 281 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::AddCtrlPointsCmd::AddCtrlPointsCmd ( HuginBase::Panorama p,
const HuginBase::CPVector cpoints 
) [inline]

Definition at line 284 of file PanoCommand.h.


Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 288 of file PanoCommand.h.

bool PanoCommand::AddCtrlPointsCmd::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 228 of file PanoCommand.cpp.

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


Member Data Documentation

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

Definition at line 288 of file PanoCommand.h.

Referenced by processPanorama().


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