Go to the source code of this file.
Classes | |
struct | quaternion |
Functions | |
double | abs (quaternion a) |
quaternion | cpow (quaternion a, int b) |
bool | isEqual (quaternion a, quaternion b) |
bool | isEqualE (quaternion a, quaternion b) |
bool | isReal (quaternion x) |
quaternion | qabs (quaternion a) |
quaternion | qadd (quaternion a, quaternion b) |
quaternion | qconj (quaternion a) |
quaternion | qinv (quaternion a) |
quaternion | qmul (quaternion a, quaternion b) |
quaternion | qneg (quaternion a) |
quaternion | qNormalize (quaternion q) |
quaternion | qpos (quaternion a) |
void | qprint (quaternion c) |
quaternion | qscale (double s, quaternion a) |
quaternion | qsub (quaternion a, quaternion b) |
quaternion | r2q (double x) |
void | rotate (double *x, double *y, double *z, quaternion q) |
Variables | |
quaternion | qzero = {0,0,0,0} |
double abs | ( | quaternion | a | ) |
Definition at line 99 of file kogmo_fob/trackerServer/quaternion.h.
quaternion cpow | ( | quaternion | a, |
int | b | ||
) |
Definition at line 91 of file kogmo_fob/trackerServer/quaternion.h.
bool isEqual | ( | quaternion | a, |
quaternion | b | ||
) |
Definition at line 81 of file kogmo_fob/trackerServer/quaternion.h.
bool isEqualE | ( | quaternion | a, |
quaternion | b | ||
) |
Definition at line 86 of file kogmo_fob/trackerServer/quaternion.h.
bool isReal | ( | quaternion | x | ) |
Definition at line 198 of file kogmo_fob/trackerServer/quaternion.h.
quaternion qabs | ( | quaternion | a | ) |
Definition at line 104 of file kogmo_fob/trackerServer/quaternion.h.
quaternion qadd | ( | quaternion | a, |
quaternion | b | ||
) |
Definition at line 51 of file kogmo_fob/trackerServer/quaternion.h.
quaternion qconj | ( | quaternion | a | ) |
Definition at line 126 of file kogmo_fob/trackerServer/quaternion.h.
quaternion qinv | ( | quaternion | a | ) |
Definition at line 134 of file kogmo_fob/trackerServer/quaternion.h.
quaternion qmul | ( | quaternion | a, |
quaternion | b | ||
) |
Definition at line 41 of file kogmo_fob/trackerServer/quaternion.h.
quaternion qneg | ( | quaternion | a | ) |
Definition at line 32 of file kogmo_fob/trackerServer/quaternion.h.
Definition at line 121 of file kogmo_fob/trackerServer/quaternion.h.
quaternion qpos | ( | quaternion | a | ) |
Definition at line 170 of file kogmo_fob/trackerServer/quaternion.h.
void qprint | ( | quaternion | c | ) |
Definition at line 186 of file kogmo_fob/trackerServer/quaternion.h.
quaternion qscale | ( | double | s, |
quaternion | a | ||
) |
Definition at line 111 of file kogmo_fob/trackerServer/quaternion.h.
quaternion qsub | ( | quaternion | a, |
quaternion | b | ||
) |
Definition at line 61 of file kogmo_fob/trackerServer/quaternion.h.
quaternion r2q | ( | double | x | ) |
Definition at line 71 of file kogmo_fob/trackerServer/quaternion.h.
void rotate | ( | double * | x, |
double * | y, | ||
double * | z, | ||
quaternion | q | ||
) |
Definition at line 203 of file kogmo_fob/trackerServer/quaternion.h.
quaternion qzero = {0,0,0,0} |
Definition at line 30 of file kogmo_fob/trackerServer/quaternion.h.