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().

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.

Definition at line 257 of file AutoCtrlPointCreator.cpp.

References AutoPanoSiftPreAlign::automatch(), AutoPanoSiftMultiRowStack::automatch(), AutoPanoSiftMultiRow::automatch(), AutoPanoSiftStack::automatch(), AutoPanoSift::automatch(), AutoPanoKolor::automatch(), CanStartProg(), CPDetector_AutoPano, CPDetector_AutoPanoSift, CPDetector_AutoPanoSiftMultiRow, CPDetector_AutoPanoSiftMultiRowStack, CPDetector_AutoPanoSiftPreAlign, CPDetector_AutoPanoSiftStack, CPDetectorType, DEBUG_ERROR, CPDetectorSetting::GetProg(), CPDetectorSetting::GetProgMatcher(), CPDetectorSetting::GetProgStack(), CPDetectorSetting::GetType(), and CPDetectorSetting::IsTwoStepDetector().

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().

Referenced by AutoPanoSiftPreAlign::automatch(), AutoPanoSiftMultiRowStack::automatch(), AutoPanoSiftMultiRow::automatch(), and AutoPanoSift::automatch().

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

Definition at line 137 of file AutoCtrlPointCreator.cpp.

References HuginBase::CPVector, 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 HuginBase::CPVector, 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 AutoPanoKolor::automatch(), and AutoPanoSift::automatch().


The documentation for this class was generated from the following files:
Generated on Tue Sep 16 01:25:45 2014 for Hugintrunk by  doxygen 1.3.9.1