AutoCtrlPointCreator Class Reference

Base class for control point creators. More...

#include <AutoCtrlPointCreator.h>

Inheritance diagram for AutoCtrlPointCreator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AutoCtrlPointCreator ()
 ctor.
virtual ~AutoCtrlPointCreator ()
 dtor.
virtual HuginBase::CPVector automatch (CPDetectorSetting &setting, PT::Panorama &pano, const PT::UIntSet &imgs, int nFeatures, int &ret_value, wxWindow *parent=NULL)
 Do cp matching, calles the right routines, based on the matcher selected.
virtual HuginBase::CPVector automatch (CPDetectorSetting &setting, PT::Panorama &pano, const PT::UIntSet &imgs, int nFeatures, wxWindow *parent=NULL)
virtual void Cleanup (CPDetectorSetting &setting, PT::Panorama &pano, const PT::UIntSet &imgs, std::vector< wxString > &keyFiles, wxWindow *parent=NULL)

Protected Member Functions

HuginBase::CPVector readUpdatedControlPoints (const std::string &file, PT::Panorama &pano)
HuginBase::CPVector readUpdatedControlPoints (const std::string &file, PT::Panorama &pano, const PT::UIntSet &imgs)

Detailed Description

Base class for control point creators.

Definition at line 39 of file AutoCtrlPointCreator.h.


Constructor & Destructor Documentation

AutoCtrlPointCreator::AutoCtrlPointCreator (  )  [inline]

ctor.

Definition at line 45 of file AutoCtrlPointCreator.h.

virtual AutoCtrlPointCreator::~AutoCtrlPointCreator (  )  [inline, virtual]

dtor.

Definition at line 49 of file AutoCtrlPointCreator.h.


Member Function Documentation

CPVector AutoCtrlPointCreator::automatch ( CPDetectorSetting setting,
PT::Panorama pano,
const PT::UIntSet imgs,
int  nFeatures,
wxWindow *  parent = NULL 
) [virtual]

Definition at line 250 of file AutoCtrlPointCreator.cpp.

References automatch().

virtual HuginBase::CPVector AutoCtrlPointCreator::automatch ( CPDetectorSetting setting,
PT::Panorama pano,
const PT::UIntSet imgs,
int  nFeatures,
int &  ret_value,
wxWindow *  parent = NULL 
) [virtual]

Do cp matching, calles the right routines, based on the matcher selected.

Reimplemented in AutoPanoSift, AutoPanoKolor, AutoPanoSiftStack, AutoPanoSiftMultiRow, AutoPanoSiftMultiRowStack, and AutoPanoSiftPreAlign.

Referenced by automatch(), ImagesPanel::CPGenerate(), and iCPApp::OnRun().

void AutoCtrlPointCreator::Cleanup ( CPDetectorSetting setting,
PT::Panorama pano,
const PT::UIntSet imgs,
std::vector< wxString > &  keyFiles,
wxWindow *  parent = NULL 
) [virtual]

Definition at line 331 of file AutoCtrlPointCreator.cpp.

References CPExecute(), DEBUG_DEBUG, CPDetectorSetting::GetArgsCleanup(), HuginBase::Panorama::getOptimizeVector(), HuginBase::Panorama::getOptions(), CPDetectorSetting::GetProg(), GetProgPath(), CPDetectorSetting::IsCleanupPossible(), CPDetectorSetting::IsTwoStepDetector(), and HuginBase::Panorama::printPanoramaScript().

CPVector AutoCtrlPointCreator::readUpdatedControlPoints ( const std::string file,
PT::Panorama pano,
const PT::UIntSet imgs 
) [protected]

Definition at line 137 of file AutoCtrlPointCreator.cpp.

References DEBUG_ERROR, HuginBase::Panorama::getCtrlPoints(), HuginBase::Panorama::getNrOfImages(), PT::PanoramaMemento::loadPTScript(), and HuginBase::Panorama::setMemento().

CPVector AutoCtrlPointCreator::readUpdatedControlPoints ( const std::string file,
PT::Panorama pano 
) [protected]

Definition at line 92 of file AutoCtrlPointCreator.cpp.

References DEBUG_ERROR, HuginBase::Panorama::getCtrlPoints(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), PT::PanoramaMemento::loadPTScript(), set_contains(), HuginBase::Panorama::setMemento(), and hugin_utils::stripPath().

Referenced by AutoPanoSift::automatch().


The documentation for this class was generated from the following files:
Generated on 31 Oct 2014 for Hugintrunk by  doxygen 1.4.7