A struct.
Structure used to store quaternion rotation representation. A rotation of unit vector u with rotation theta can be represented in quaternion as: q={cos(theta/2)+ i(u*sin(theta/2))}
Definition at line 123 of file MathTypes.h.
Public Member Functions | |
Quaternion () | |
Angle or real component of the quaternion representation. More... | |
Quaternion (double qxinput, double qyinput, double qzinput, double qwinput) | |
Data Fields | |
double | qx |
double | qy |
double | qz |
double | qw |
Axis or imaginary component of the quaternion representation. More... | |
|
inline |
Angle or real component of the quaternion representation.
Definition at line 128 of file MathTypes.h.
|
inline |
Definition at line 136 of file MathTypes.h.
double cvcore::Quaternion::qw |
Axis or imaginary component of the quaternion representation.
Definition at line 126 of file MathTypes.h.
double cvcore::Quaternion::qx |
Definition at line 125 of file MathTypes.h.
double cvcore::Quaternion::qy |
Definition at line 125 of file MathTypes.h.
double cvcore::Quaternion::qz |
Definition at line 125 of file MathTypes.h.