PanoCommand::ChangeCtrlPointCmd Class Reference

change a control point More...

#include <PanoCommand.h>

Inheritance diagram for PanoCommand::ChangeCtrlPointCmd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ChangeCtrlPointCmd (HuginBase::Panorama &p, unsigned int nr, HuginBase::ControlPoint point)
virtual bool processPanorama (HuginBase::Panorama &pano)
 Called by execute().
virtual std::string getName () const
 returns the name of the command

Private Attributes

unsigned int pNr
HuginBase::ControlPoint point

Detailed Description

change a control point

Definition at line 320 of file PanoCommand.h.


Constructor & Destructor Documentation

PanoCommand::ChangeCtrlPointCmd::ChangeCtrlPointCmd ( HuginBase::Panorama p,
unsigned int  nr,
HuginBase::ControlPoint  point 
) [inline]

Definition at line 323 of file PanoCommand.h.


Member Function Documentation

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

returns the name of the command

Reimplemented from PanoCommand::PanoCommand.

Definition at line 327 of file PanoCommand.h.

bool PanoCommand::ChangeCtrlPointCmd::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 253 of file PanoCommand.cpp.

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


Member Data Documentation

unsigned int PanoCommand::ChangeCtrlPointCmd::pNr [private]

Definition at line 327 of file PanoCommand.h.

Referenced by processPanorama().

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

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