Hugintrunk
0.1
|
#include <RotatePanorama.h>
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. More... | |
virtual bool | runAlgorithm () |
implementation of the algorithm. More... | |
Public Member Functions inherited from HuginBase::PanoramaAlgorithm | |
virtual | ~PanoramaAlgorithm () |
virtual bool | hasRunSuccessfully () |
virtual void | run () |
runs the algorithm. More... | |
Static Public Member Functions | |
static void | rotatePano (PanoramaData &panorama, const Matrix3 &transformMat) |
Protected Attributes | |
Matrix3 | o_transformMat |
Protected Attributes inherited from HuginBase::PanoramaAlgorithm | |
PanoramaData & | o_panorama |
bool | o_successful |
Additional Inherited Members | |
Protected Member Functions inherited from HuginBase::PanoramaAlgorithm | |
PanoramaAlgorithm (PanoramaData &panorama) | |
Definition at line 38 of file RotatePanorama.h.
|
inline |
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().
|
inlinevirtual |
Definition at line 51 of file RotatePanorama.h.
|
inlinevirtual |
returns true if the algorithm changes the PanoramaData.
Implements HuginBase::PanoramaAlgorithm.
Definition at line 61 of file RotatePanorama.h.
|
static |
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, Vector3::y, Y, Yaw, Vector3::z, and Z.
|
inlinevirtual |
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.
Referenced by HuginBase::StraightenPanorama::runAlgorithm().
|
protected |
Definition at line 73 of file RotatePanorama.h.
Referenced by RotatePanorama().