HuginBase::PanoramaAlgorithm Class Reference

#include <PanoramaAlgorithm.h>

Inheritance diagram for HuginBase::PanoramaAlgorithm:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~PanoramaAlgorithm ()
virtual bool modifiesPanoramaData () const =0
 returns true if the algorithm changes the PanoramaData.
virtual bool hasRunSuccessfully ()
virtual void run ()
 runs the algorithm.
virtual bool runAlgorithm ()=0
 implementation of the algorithm.

Protected Member Functions

 PanoramaAlgorithm (PanoramaData &panorama)

Protected Attributes

PanoramaDatao_panorama
bool o_successful

Constructor & Destructor Documentation

HuginBase::PanoramaAlgorithm::PanoramaAlgorithm PanoramaData panorama  )  [inline, protected]
 

Definition at line 51 of file PanoramaAlgorithm.h.

virtual HuginBase::PanoramaAlgorithm::~PanoramaAlgorithm  )  [inline, virtual]
 

Definition at line 57 of file PanoramaAlgorithm.h.


Member Function Documentation

virtual bool HuginBase::PanoramaAlgorithm::hasRunSuccessfully  )  [inline, virtual]
 

Definition at line 65 of file PanoramaAlgorithm.h.

virtual bool HuginBase::PanoramaAlgorithm::modifiesPanoramaData  )  const [pure virtual]
 

returns true if the algorithm changes the PanoramaData.

Implemented in HuginBase::AssistantMakefilelibExport, HuginBase::CalculateCPStatistics, HuginBase::CalculateMeanExposure, HuginBase::CalculateOptimalROI, HuginBase::CalculateOptimalScale, HuginBase::SetWidthOptimal, HuginBase::RotatePanorama, HuginBase::TranslatePanorama, HuginBase::CalculateFOV, HuginBase::CenterHorizontally, HuginBase::ComputeImageROI, HuginBase::CalculateFitPanorama, HuginBase::FitPanorama, HuginBase::PhotometricOptimizer, HuginBase::PTOptimizer, HuginBase::RANSACOptimizer, HuginBase::PanoramaMakefilelibExport, HuginBase::PointSampler, and HuginBase::StitcherAlgorithm.

virtual void HuginBase::PanoramaAlgorithm::run  )  [inline, virtual]
 

runs the algorithm.

Definition at line 71 of file PanoramaAlgorithm.h.

Referenced by HuginLines::_getVerticalLines(), autoCrop(), PT::Panorama::calcCtrlPntsErrorStats(), PT::Panorama::calcCtrlPntsRadiStats(), PT::Panorama::calcOptimalROI(), PT::Panorama::calcOptimalStackROI(), PT::Panorama::centerHorizontically(), HuginBase::PointSampler::execute(), PT::Panorama::fitPano(), main(), PT::Panorama::rotate(), HuginBase::PointSampler::sampleAndExtractPoints(), PT::Panorama::straighten(), and PT::Panorama::translate().

virtual bool HuginBase::PanoramaAlgorithm::runAlgorithm  )  [pure virtual]
 

implementation of the algorithm.

You should override with your algorithm's implementiation.

Implemented in HuginBase::AssistantMakefilelibExport, HuginBase::CalculateCPStatistics, HuginBase::CalculateCPStatisticsError, HuginBase::CalculateCPStatisticsRadial, HuginBase::CalculateMeanExposure, HuginBase::CalculateOptimalROI, HuginBase::CalculateOptimalScale, HuginBase::SetWidthOptimal, HuginBase::RotatePanorama, HuginBase::StraightenPanorama, HuginBase::TranslatePanorama, HuginBase::CalculateFOV, HuginBase::CenterHorizontally, HuginBase::ComputeImageROI, HuginBase::CalculateFitPanorama, HuginBase::FitPanorama, HuginBase::PhotometricOptimizer, HuginBase::SmartPhotometricOptimizer, HuginBase::PTOptimizer, HuginBase::RANSACOptimizer, HuginBase::AutoOptimise, HuginBase::SmartOptimise, HuginBase::PanoramaMakefilelibExport, HuginBase::PointSampler, and HuginBase::StitcherAlgorithm.


Member Data Documentation

PanoramaData& HuginBase::PanoramaAlgorithm::o_panorama [protected]
 

Definition at line 108 of file PanoramaAlgorithm.h.

bool HuginBase::PanoramaAlgorithm::o_successful [protected]
 

Definition at line 109 of file PanoramaAlgorithm.h.


The documentation for this class was generated from the following file:
Generated on Sat Apr 19 01:25:50 2014 for Hugintrunk by  doxygen 1.3.9.1