HuginBase::TimeConsumingPanoramaAlgorithm Class Reference

#include <PanoramaAlgorithm.h>

Inheritance diagram for HuginBase::TimeConsumingPanoramaAlgorithm:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~TimeConsumingPanoramaAlgorithm ()
virtual bool wasCancelled () const

Protected Member Functions

 TimeConsumingPanoramaAlgorithm (PanoramaData &panorama, AppBase::ProgressDisplay *progressDisplay=NULL)
 [Warning! it keeps the reference to the panorama data!]
virtual AppBase::ProgressDisplaygetProgressDisplay () const
virtual bool hasProgressDisplay () const
virtual void cancelAlgorithm ()
 Call this when the algorithm is cancelled.
virtual void algorithmCancelled ()
 Called when the algorithm got cancelled; override with cleaning up process etc.

Private Attributes

AppBase::ProgressDisplaym_progressDisplay
bool m_wasCancelled

Detailed Description

Definition at line 118 of file PanoramaAlgorithm.h.


Constructor & Destructor Documentation

HuginBase::TimeConsumingPanoramaAlgorithm::TimeConsumingPanoramaAlgorithm ( PanoramaData panorama,
AppBase::ProgressDisplay progressDisplay = NULL 
) [inline, protected]

[Warning! it keeps the reference to the panorama data!]

Definition at line 123 of file PanoramaAlgorithm.h.

virtual HuginBase::TimeConsumingPanoramaAlgorithm::~TimeConsumingPanoramaAlgorithm (  )  [inline, virtual]

Definition at line 130 of file PanoramaAlgorithm.h.


Member Function Documentation

virtual void HuginBase::TimeConsumingPanoramaAlgorithm::algorithmCancelled (  )  [inline, protected, virtual]

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.

virtual void HuginBase::TimeConsumingPanoramaAlgorithm::cancelAlgorithm (  )  [inline, protected, virtual]

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::PointSampler::runAlgorithm(), HuginBase::SmartPhotometricOptimizer::runAlgorithm(), and HuginBase::PhotometricOptimizer::runAlgorithm().

virtual AppBase::ProgressDisplay* HuginBase::TimeConsumingPanoramaAlgorithm::getProgressDisplay (  )  const [inline, protected, virtual]

Definition at line 148 of file PanoramaAlgorithm.h.

Referenced by HuginBase::PointSampler::runAlgorithm(), HuginBase::SmartPhotometricOptimizer::runAlgorithm(), HuginBase::PhotometricOptimizer::runAlgorithm(), and HuginBase::NonaFileOutputStitcher::runStitcher().

virtual bool HuginBase::TimeConsumingPanoramaAlgorithm::hasProgressDisplay (  )  const [inline, protected, virtual]

Definition at line 152 of file PanoramaAlgorithm.h.

Referenced by HuginBase::PointSampler::runAlgorithm(), HuginBase::SmartPhotometricOptimizer::runAlgorithm(), and HuginBase::PhotometricOptimizer::runAlgorithm().

virtual bool HuginBase::TimeConsumingPanoramaAlgorithm::wasCancelled (  )  const [inline, virtual]

Definition at line 160 of file PanoramaAlgorithm.h.

Referenced by HuginBase::PointSampler::runAlgorithm(), HuginBase::SmartPhotometricOptimizer::runAlgorithm(), and HuginBase::PhotometricOptimizer::runAlgorithm().


Member Data Documentation

AppBase::ProgressDisplay* HuginBase::TimeConsumingPanoramaAlgorithm::m_progressDisplay [private]

Definition at line 177 of file PanoramaAlgorithm.h.

bool HuginBase::TimeConsumingPanoramaAlgorithm::m_wasCancelled [private]

Definition at line 184 of file PanoramaAlgorithm.h.


The documentation for this class was generated from the following file:
Generated on 1 Nov 2014 for Hugintrunk by  doxygen 1.4.7