HuginBase::CalculateFitPanorama Class Reference

#include <FitPanorama.h>

Inheritance diagram for HuginBase::CalculateFitPanorama:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CalculateFitPanorama (PanoramaData &panorama)
virtual ~CalculateFitPanorama ()
virtual bool modifiesPanoramaData () const
 returns true if the algorithm changes the PanoramaData.
virtual bool runAlgorithm ()
 implementation of the algorithm.
virtual double getResultHorizontalFOV ()
virtual double getResultHeight ()

Static Public Member Functions

static void fitPano (PanoramaData &panorama, double &HFOV, double &height)

Protected Attributes

double o_resultHFOV
double o_resultHeight

Detailed Description

Definition at line 37 of file FitPanorama.h.


Constructor & Destructor Documentation

HuginBase::CalculateFitPanorama::CalculateFitPanorama ( PanoramaData panorama  )  [inline]

Definition at line 42 of file FitPanorama.h.

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

Definition at line 47 of file FitPanorama.h.


Member Function Documentation

void HuginBase::CalculateFitPanorama::fitPano ( PanoramaData panorama,
double &  HFOV,
double &  height 
) [static]

Definition at line 37 of file FitPanorama.cpp.

References HuginBase::CalculateFOV::calcFOV(), HuginBase::PTools::Transform::createInvTransform(), HuginBase::BaseSrcPanoImage::EQUIRECTANGULAR, HuginBase::PanoramaOptions::getMaxHFOV(), HuginBase::PanoramaOptions::getMaxVFOV(), HuginBase::PanoramaData::getOptions(), celeste::min(), HuginBase::PanoramaOptions::setHFOV(), HuginBase::BaseSrcPanoImage::setHFOV(), HuginBase::BaseSrcPanoImage::setProjection(), HuginBase::SrcPanoImage::setSize(), HuginBase::PTools::Transform::transform(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.

virtual double HuginBase::CalculateFitPanorama::getResultHeight (  )  [inline, virtual]

Definition at line 75 of file FitPanorama.h.

Referenced by HuginLines::_getVerticalLines(), main(), HuginBase::FitPanorama::runAlgorithm(), and HuginBase::PointSampler::sampleAndExtractPoints().

virtual double HuginBase::CalculateFitPanorama::getResultHorizontalFOV (  )  [inline, virtual]

Definition at line 68 of file FitPanorama.h.

Referenced by HuginLines::_getVerticalLines(), main(), HuginBase::FitPanorama::runAlgorithm(), and HuginBase::PointSampler::sampleAndExtractPoints().

virtual bool HuginBase::CalculateFitPanorama::modifiesPanoramaData (  )  const [inline, virtual]

returns true if the algorithm changes the PanoramaData.

Implements HuginBase::PanoramaAlgorithm.

Reimplemented in HuginBase::FitPanorama.

Definition at line 52 of file FitPanorama.h.

virtual bool HuginBase::CalculateFitPanorama::runAlgorithm (  )  [inline, virtual]

implementation of the algorithm.

You should override with your algorithm's implementiation.

Implements HuginBase::PanoramaAlgorithm.

Reimplemented in HuginBase::FitPanorama.

Definition at line 56 of file FitPanorama.h.

Referenced by HuginBase::FitPanorama::runAlgorithm().


Member Data Documentation

double HuginBase::CalculateFitPanorama::o_resultHeight [protected]

Definition at line 83 of file FitPanorama.h.

double HuginBase::CalculateFitPanorama::o_resultHFOV [protected]

Definition at line 82 of file FitPanorama.h.


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