Hugintrunk
0.1
|
#include <PanoramaAlgorithm.h>
Public Member Functions | |
virtual | ~PanoramaAlgorithm () |
virtual bool | modifiesPanoramaData () const =0 |
returns true if the algorithm changes the PanoramaData. More... | |
virtual bool | hasRunSuccessfully () |
virtual void | run () |
runs the algorithm. More... | |
virtual bool | runAlgorithm ()=0 |
implementation of the algorithm. More... | |
Protected Member Functions | |
PanoramaAlgorithm (PanoramaData &panorama) | |
Protected Attributes | |
PanoramaData & | o_panorama |
bool | o_successful |
Definition at line 46 of file PanoramaAlgorithm.h.
|
inlineprotected |
Definition at line 51 of file PanoramaAlgorithm.h.
|
inlinevirtual |
Definition at line 57 of file PanoramaAlgorithm.h.
|
inlinevirtual |
Definition at line 65 of file PanoramaAlgorithm.h.
Referenced by PanoPanel::DoCalcOptimalROI(), HuginBase::CalculateOptimalROIOutside::getResultOptimalROI(), GLPreviewFrame::OnAutocrop(), and GLPreviewFrame::OnAutocropOutside().
|
pure virtual |
returns true if the algorithm changes the PanoramaData.
Implemented in HuginBase::CalculateOptimalROIOutside, HuginBase::PointSampler, HuginBase::SetWidthOptimal, HuginBase::PhotometricOptimizer, HuginBase::FitPanorama, HuginBase::RANSACOptimizer, HuginBase::StitcherAlgorithm, HuginBase::RotatePanorama, HuginBase::CalculateOptimalROI, HuginBase::PTOptimizer, HuginBase::CalculateOptimalScale, HuginBase::ComputeImageROI, HuginBase::CalculateCPStatistics, HuginBase::TranslatePanorama, HuginBase::CalculateFOV, HuginBase::CenterHorizontally, HuginBase::CalculateMeanExposure, and HuginBase::CalculateFitPanorama.
|
inlinevirtual |
runs the algorithm.
Definition at line 71 of file PanoramaAlgorithm.h.
Referenced by HuginLines::_getVerticalLines(), autoCrop(), HuginBase::CenterHorizontally::centerHorizontically(), PanoPanel::DoCalcFOV(), PanoPanel::DoCalcOptimalROI(), main(), GLPreviewFrame::OnAutocrop(), GLPreviewFrame::OnAutocropOutside(), PreviewFrame::OnFitPano(), GLPreviewFrame::OnFitPano(), GLPreviewFrame::panoramaChanged(), PanoCommand::CenterPanoCmd::processPanorama(), PanoCommand::StraightenPanoCmd::processPanorama(), PanoCommand::RotatePanoCmd::processPanorama(), PanoCommand::TranslatePanoCmd::processPanorama(), ReadPanoramaOptionsFromIni(), OptimizePanel::runOptimizer(), HuginBase::PointSampler::sampleAndExtractPoints(), SetCrop(), SetFOV(), and HuginBase::SmartOptimise::smartOptimize().
|
pure virtual |
implementation of the algorithm.
You should override with your algorithm's implementiation.
Implemented in HuginBase::CalculateCPStatisticsRadial, HuginBase::SmartOptimise, HuginBase::SmartPhotometricOptimizer, HuginBase::CalculateCPStatisticsError, HuginBase::AutoOptimise, HuginBase::CalculateOptimalROIOutside, HuginBase::PointSampler, HuginBase::SetWidthOptimal, HuginBase::PhotometricOptimizer, HuginBase::FitPanorama, HuginBase::RANSACOptimizer, HuginBase::StitcherAlgorithm, HuginBase::RotatePanorama, HuginBase::CalculateOptimalROI, HuginBase::PTOptimizer, HuginBase::CalculateOptimalScale, HuginBase::CalculateCPStatistics, HuginBase::ComputeImageROI, HuginBase::TranslatePanorama, HuginBase::CalculateFOV, HuginBase::CenterHorizontally, HuginBase::CalculateMeanExposure, HuginBase::CalculateFitPanorama, and HuginBase::StraightenPanorama.
|
protected |
Definition at line 108 of file PanoramaAlgorithm.h.
Referenced by HuginBase::PTOptimizer::runAlgorithm(), HuginBase::RANSACOptimizer::runAlgorithm(), HuginBase::FitPanorama::runAlgorithm(), HuginBase::PhotometricOptimizer::runAlgorithm(), HuginBase::SetWidthOptimal::runAlgorithm(), HuginBase::SmartPhotometricOptimizer::runAlgorithm(), HuginBase::NonaFileOutputStitcher::runStitcher(), HuginBase::PointSampler::sampleAndExtractPoints(), and HuginBase::CalculateOptimalROI::stackPixel().
|
protected |
Definition at line 109 of file PanoramaAlgorithm.h.