HuginBase::RotatePanorama Class Reference

#include <RotatePanorama.h>

Inheritance diagram for HuginBase::RotatePanorama:

Inheritance graph
List of all members.

Public Member Functions

 RotatePanorama (PanoramaData &panorama, const Matrix3 &transformMat)
 RotatePanorama (PanoramaData &panorama, double yaw, double pitch, double roll)
virtual ~RotatePanorama ()
virtual bool modifiesPanoramaData () const
 returns true if the algorithm changes the PanoramaData.
virtual bool runAlgorithm ()
 implementation of the algorithm.

Static Public Member Functions

void rotatePano (PanoramaData &panorama, const Matrix3 &transformMat)

Protected Attributes

Matrix3 o_transformMat

Constructor & Destructor Documentation

HuginBase::RotatePanorama::RotatePanorama PanoramaData panorama,
const Matrix3 transformMat

Definition at line 43 of file RotatePanorama.h.

HuginBase::RotatePanorama::RotatePanorama PanoramaData panorama,
double  yaw,
double  pitch,
double  roll

Definition at line 33 of file RotatePanorama.cpp.

References DEG_TO_RAD, o_transformMat, and Matrix3::SetRotationPT().

virtual HuginBase::RotatePanorama::~RotatePanorama  )  [inline, virtual]

Definition at line 51 of file RotatePanorama.h.

Member Function Documentation

virtual bool HuginBase::RotatePanorama::modifiesPanoramaData  )  const [inline, virtual]

returns true if the algorithm changes the PanoramaData.

Implements HuginBase::PanoramaAlgorithm.

Definition at line 61 of file RotatePanorama.h.

void HuginBase::RotatePanorama::rotatePano PanoramaData panorama,
const Matrix3 transformMat

Definition at line 53 of file RotatePanorama.cpp.

References conditional_set, DEBUG_DEBUG, DEG_TO_RAD, HuginBase::PanoramaData::getImage(), HuginBase::PanoramaData::getNrOfImages(), Matrix3::GetRotationPT(), HuginBase::PanoramaData::imageChanged(), Matrix3::Inverse(), Pitch, RAD_TO_DEG, Roll, HuginBase::PanoramaData::setImage(), Matrix3::SetRotationPT(), Matrix3::TransformVector(), TranslationPlanePitch, TranslationPlaneYaw, Vector3::x, X, Y, Vector3::y, Yaw, Z, and Vector3::z.

virtual bool HuginBase::RotatePanorama::runAlgorithm  )  [inline, virtual]

implementation of the algorithm.

You should override with your algorithm's implementiation.

Implements HuginBase::PanoramaAlgorithm.

Reimplemented in HuginBase::StraightenPanorama.

Definition at line 65 of file RotatePanorama.h.

Member Data Documentation

Matrix3 HuginBase::RotatePanorama::o_transformMat [protected]

Definition at line 73 of file RotatePanorama.h.

Referenced by RotatePanorama().

The documentation for this class was generated from the following files:
Generated on Sat Aug 2 01:25:49 2014 for Hugintrunk by  doxygen