Omnidome
Fulldome Mapping Software Toolkit
|
Mixin class for a zyx Euler Angle Rotation system. More...
#include <EulerAngles.h>
Public Member Functions | |
EulerAngles () | |
Default constructor, all angles are zero. More... | |
EulerAngles (Angle _yaw, Angle _pitch, Angle _roll) | |
Constructor by values. More... | |
Angle & | yaw () |
Reference to yaw angle (Angle in Z direction) More... | |
Angle const & | yaw () const |
Reference to yaw angle (Angle in Z direction, const version) More... | |
void | setYaw (Angle _yaw) |
Set yaw angle (Z direction angle) to new value. More... | |
Angle & | pitch () |
Reference to pitch angle (Angle in Y direction) More... | |
Angle const & | pitch () const |
Reference to pitch angle (Angle in Y direction, const version) More... | |
void | setPitch (Angle _pitch) |
Set pitch angle (Y direction angle) to new value. More... | |
Angle & | roll () |
Reference to roll angle (Angle in X direction) More... | |
Angle const & | roll () const |
Reference to roll angle (Angle in X direction) More... | |
void | setRoll (Angle _roll) |
Set roll angle (X direction angle) to new value. More... | |
QMatrix4x4 | matrix () const |
Calculate the rotation matrix. More... | |
Static Public Member Functions | |
static QMatrix4x4 | matrix (Angle _yaw, Angle _pitch, Angle _roll) |
Public Static function to get rotation matrix conveniently. More... | |
Private Attributes | |
Angle | yaw_ |
Yaw Angle (Z direction) More... | |
Angle | pitch_ |
Pitch Angle (Y direction) More... | |
Angle | roll_ |
Roll Angle (X direction) More... | |
Friends | |
bool | operator== (EulerAngles const &, EulerAngles const &) |
Test for equality. More... | |
Mixin class for a zyx Euler Angle Rotation system.
omni::geometry::EulerAngles::EulerAngles | ( | ) |
Default constructor, all angles are zero.
Constructor by values.
Public Static function to get rotation matrix conveniently.
QMatrix4x4 omni::geometry::EulerAngles::matrix | ( | ) | const |
Calculate the rotation matrix.
Angle & omni::geometry::EulerAngles::pitch | ( | ) |
Reference to pitch angle (Angle in Y direction)
Angle const & omni::geometry::EulerAngles::pitch | ( | ) | const |
Reference to pitch angle (Angle in Y direction, const version)
Angle const & omni::geometry::EulerAngles::roll | ( | ) | const |
Reference to roll angle (Angle in X direction)
void omni::geometry::EulerAngles::setPitch | ( | Angle | _pitch | ) |
Set pitch angle (Y direction angle) to new value.
void omni::geometry::EulerAngles::setRoll | ( | Angle | _roll | ) |
Set roll angle (X direction angle) to new value.
void omni::geometry::EulerAngles::setYaw | ( | Angle | _yaw | ) |
Set yaw angle (Z direction angle) to new value.
Angle const & omni::geometry::EulerAngles::yaw | ( | ) | const |
Reference to yaw angle (Angle in Z direction, const version)
|
friend |
Test for equality.