Hugintrunk
0.1
|
#include <PanoramaAlgorithm.h>
Public Member Functions | |
virtual | ~TimeConsumingPanoramaAlgorithm () |
virtual bool | wasCancelled () const |
Public Member Functions inherited from HuginBase::PanoramaAlgorithm | |
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 | |
TimeConsumingPanoramaAlgorithm (PanoramaData &panorama, AppBase::ProgressDisplay *progressDisplay=NULL) | |
[Warning! it keeps the reference to the panorama data!] More... | |
virtual AppBase::ProgressDisplay * | getProgressDisplay () const |
virtual bool | hasProgressDisplay () const |
virtual void | cancelAlgorithm () |
Call this when the algorithm is cancelled. More... | |
virtual void | algorithmCancelled () |
Called when the algorithm got cancelled; override with cleaning up process etc. More... | |
Protected Member Functions inherited from HuginBase::PanoramaAlgorithm | |
PanoramaAlgorithm (PanoramaData &panorama) | |
Private Attributes | |
AppBase::ProgressDisplay * | m_progressDisplay |
bool | m_wasCancelled |
Additional Inherited Members | |
Protected Attributes inherited from HuginBase::PanoramaAlgorithm | |
PanoramaData & | o_panorama |
bool | o_successful |
Definition at line 118 of file PanoramaAlgorithm.h.
|
inlineprotected |
[Warning! it keeps the reference to the panorama data!]
Definition at line 123 of file PanoramaAlgorithm.h.
|
inlinevirtual |
Definition at line 130 of file PanoramaAlgorithm.h.
|
inlineprotectedvirtual |
Called when the algorithm got cancelled; override with cleaning up process etc.
the default implementation does nothing.
Definition at line 177 of file PanoramaAlgorithm.h.
|
inlineprotectedvirtual |
Call this when the algorithm is cancelled.
This method sets wasCancelled() to return true, and calls algorithmCancelled()
Definition at line 167 of file PanoramaAlgorithm.h.
Referenced by HuginBase::PhotometricOptimizer::runAlgorithm(), HuginBase::PointSampler::runAlgorithm(), and HuginBase::SmartPhotometricOptimizer::runAlgorithm().
|
inlineprotectedvirtual |
Definition at line 148 of file PanoramaAlgorithm.h.
Referenced by HuginBase::CalculateOptimalROI::autocrop(), HuginBase::CalculateOptimalROI::calcOptimalROI(), HuginBase::PhotometricOptimizer::runAlgorithm(), HuginBase::PointSampler::runAlgorithm(), HuginBase::SmartPhotometricOptimizer::runAlgorithm(), and HuginBase::NonaFileOutputStitcher::runStitcher().
|
inlineprotectedvirtual |
Definition at line 152 of file PanoramaAlgorithm.h.
|
inlinevirtual |
Definition at line 160 of file PanoramaAlgorithm.h.
Referenced by HuginBase::PhotometricOptimizer::runAlgorithm(), HuginBase::PointSampler::runAlgorithm(), and HuginBase::SmartPhotometricOptimizer::runAlgorithm().
|
private |
Definition at line 177 of file PanoramaAlgorithm.h.
|
private |
Definition at line 184 of file PanoramaAlgorithm.h.