#include <quaternion.h>
Public Member Functions | |
quaternion_t (void) throw () | |
quaternion_t (IN const quaternion_t &q) throw () | |
void | clear (void) throw () |
void | setEulerZYX (IN float yaw, IN float pitch, IN float roll) throw () |
set quaternion based on the provided Euler angles | |
void | setEulerZYX (IN const point3d_t &euler) throw () |
void | operator= (IN const quaternion_t &q) throw () |
void | dump (IN const char *msg) const throw () |
Public Attributes | |
float | x |
float | y |
float | z |
float | w |
Basic quaternion object. Mostly used for 3D object orientation.
Definition at line 49 of file quaternion.h.
quaternion_t::quaternion_t | ( | void | ) | throw () [inline] |
Definition at line 51 of file quaternion.h.
quaternion_t::quaternion_t | ( | IN const quaternion_t & | q | ) | throw () [inline] |
Definition at line 52 of file quaternion.h.
void quaternion_t::clear | ( | void | ) | throw () [inline] |
Definition at line 55 of file quaternion.h.
void quaternion_t::setEulerZYX | ( | IN float | yaw, | |
IN float | pitch, | |||
IN float | roll | |||
) | throw () |
set quaternion based on the provided Euler angles
Definition at line 56 of file quaternion.cpp.
void quaternion_t::setEulerZYX | ( | IN const point3d_t & | euler | ) | throw () [inline] |
Definition at line 63 of file quaternion.h.
void quaternion_t::operator= | ( | IN const quaternion_t & | q | ) | throw () [inline] |
Definition at line 67 of file quaternion.h.
void quaternion_t::dump | ( | IN const char * | msg | ) | const throw () [inline] |
Definition at line 74 of file quaternion.h.
float quaternion_t::x |
Definition at line 80 of file quaternion.h.
float quaternion_t::y |
Definition at line 81 of file quaternion.h.
float quaternion_t::z |
Definition at line 82 of file quaternion.h.
float quaternion_t::w |
Definition at line 83 of file quaternion.h.