#include <stdlib.h>#include <math.h>#include <AR/ar.h>#include <AR/matrix.h>
Go to the source code of this file.
Defines | |
| #define | CHECK_CALC 0 |
| #define | MD_PI 3.14159265358979323846 |
Functions | |
| int | arGetAngle (double rot[3][3], double *wa, double *wb, double *wc) |
| extract euler angle from a rotation matrix. | |
| int | arGetInitRot (ARMarkerInfo *marker_info, double cpara[3][4], double rot[3][3]) |
| XXXBK. | |
| int | arGetNewMatrix (double a, double b, double c, double trans[3], double trans2[3][4], double cpara[3][4], double ret[3][4]) |
| XXXBK. | |
| int | arGetRot (double a, double b, double c, double rot[3][3]) |
| create a rotation matrix with euler angle. | |
| static int | check_dir (double dir[3], double st[2], double ed[2], double cpara[3][4]) |
| static int | check_rotation (double rot[2][3]) |
| #define CHECK_CALC 0 |
Definition at line 11 of file arGetTransMat3.c.
| #define MD_PI 3.14159265358979323846 |
Definition at line 18 of file arGetTransMat3.c.
| int arGetAngle | ( | double | rot[3][3], | |
| double * | wa, | |||
| double * | wb, | |||
| double * | wc | |||
| ) |
extract euler angle from a rotation matrix.
Based on a matrix rotation representation, furnish the cprresponding euler angles.
| rot | the initial rotation matrix | |
| wa | XXXBK:which element ? | |
| wb | XXXBK:which element ? | |
| wc | XXXBK:which element ? |
Definition at line 24 of file arGetTransMat3.c.
| int arGetInitRot | ( | ARMarkerInfo * | marker_info, | |
| double | cpara[3][4], | |||
| double | rot[3][3] | |||
| ) |
XXXBK.
XXXBK:initial of what ?
| marker_info | XXXBK | |
| cpara | XXXBK | |
| rot | XXXBK |
Definition at line 212 of file arGetTransMat3.c.
| int arGetNewMatrix | ( | double | a, | |
| double | b, | |||
| double | c, | |||
| double | trans[3], | |||
| double | trans2[3][4], | |||
| double | cpara[3][4], | |||
| double | ret[3][4] | |||
| ) |
XXXBK.
XXXBK
| a | XXXBK | |
| b | XXXBK | |
| c | XXXBK | |
| trans | XXXBK | |
| trans2 | XXXBK | |
| cpara | XXXBK | |
| ret | XXXBK |
Definition at line 170 of file arGetTransMat3.c.
| int arGetRot | ( | double | a, | |
| double | b, | |||
| double | c, | |||
| double | rot[3][3] | |||
| ) |
create a rotation matrix with euler angle.
Based on a euler description, furnish a rotation matrix.
| a | XXXBK:which element ? | |
| b | XXXBK:which element ? | |
| c | XXXBK:which element ? | |
| rot | the resulted rotation matrix |
Definition at line 138 of file arGetTransMat3.c.
| static int check_dir | ( | double | dir[3], | |
| double | st[2], | |||
| double | ed[2], | |||
| double | cpara[3][4] | |||
| ) | [static] |
Definition at line 284 of file arGetTransMat3.c.
| static int check_rotation | ( | double | rot[2][3] | ) | [static] |
Definition at line 338 of file arGetTransMat3.c.