PanoCommand::AddCtrlPointCmd Class Reference

add a control point More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::AddCtrlPointCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AddCtrlPointCmd (HuginBase::Panorama &p, const HuginBase::ControlPoint &cpoint)
virtual bool processPanorama (HuginBase::Panorama &pano)
 Called by execute().
virtual std::string getName () const
 returns the name of the command

Private Attributes

HuginBase::ControlPoint point

Detailed Description

add a control point

Definition at line 268 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::AddCtrlPointCmd::AddCtrlPointCmd ( HuginBase::Panorama p,
const HuginBase::ControlPoint cpoint 
) [inline]

Definition at line 271 of file PanoCommand.h.


Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 275 of file PanoCommand.h.

bool PanoCommand::AddCtrlPointCmd::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 221 of file PanoCommand.cpp.

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


Member Data Documentation

HuginBase::ControlPoint PanoCommand::AddCtrlPointCmd::point [private]

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