HuginBase::CenterHorizontally Class Reference

#include <CenterHorizontally.h>

Inheritance diagram for HuginBase::CenterHorizontally:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Static Public Member Functions

static void centerHorizontically (PanoramaData &panorama)

Detailed Description

Definition at line 37 of file CenterHorizontally.h.


Constructor & Destructor Documentation

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

Definition at line 42 of file CenterHorizontally.h.

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

Definition at line 47 of file CenterHorizontally.h.


Member Function Documentation

void HuginBase::CenterHorizontally::centerHorizontically ( PanoramaData panorama  )  [static]

Definition at line 37 of file CenterHorizontally.cpp.

References vigra_ext::applyRect(), vigra_ext::ROIImage< RemapImage, AlphaImage >::boundingBox(), HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::calcAlpha(), vigra_ext::destImage(), HuginBase::PanoramaOptions::EQUIRECTANGULAR, HuginBase::PanoramaData::getActiveImages(), HuginBase::PanoramaData::getImage(), HuginBase::PanoramaData::getNrOfImages(), HuginBase::PanoramaData::getSrcImage(), vigra_ext::EMoR::h, HuginBase::PanoramaData::imageChanged(), HuginBase::PanoramaOptions::setHeight(), HuginBase::PanoramaOptions::setHFOV(), HuginBase::PanoramaData::setImage(), HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::setPanoImage(), HuginBase::PanoramaOptions::setProjection(), HuginBase::PanoramaOptions::setWidth(), HuginBase::BaseSrcPanoImage::setYaw(), vigra_ext::srcMask(), and vigra_ext::srcMaskRange().

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

returns true if the algorithm changes the PanoramaData.

Implements HuginBase::PanoramaAlgorithm.

Definition at line 53 of file CenterHorizontally.h.

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

implementation of the algorithm.

You should override with your algorithm's implementiation.

Implements HuginBase::PanoramaAlgorithm.

Definition at line 57 of file CenterHorizontally.h.


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