#include <PanoCommand.h>
Inheritance diagram for PanoCommand::AddCtrlPointsCmd:
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 |
Definition at line 281 of file PanoCommand.h.
PanoCommand::AddCtrlPointsCmd::AddCtrlPointsCmd | ( | HuginBase::Panorama & | p, | |
const HuginBase::CPVector & | cpoints | |||
) | [inline] |
Definition at line 284 of file PanoCommand.h.
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.