Defines | Functions
arGetTransMat3.c File Reference
#include <stdlib.h>
#include <math.h>
#include <AR/ar.h>
#include <AR/matrix.h>
Include dependency graph for backup/lib/SRC/AR/arGetTransMat3.c:

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 Documentation

#define CHECK_CALC   0

Definition at line 11 of file backup/lib/SRC/AR/arGetTransMat3.c.

#define MD_PI   3.14159265358979323846

Definition at line 18 of file backup/lib/SRC/AR/arGetTransMat3.c.


Function Documentation

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.

Parameters:
rotthe initial rotation matrix
waXXXBK:which element ?
wbXXXBK:which element ?
wcXXXBK:which element ?
Returns:
XXXBK

Definition at line 24 of file backup/lib/SRC/AR/arGetTransMat3.c.

int arGetInitRot ( ARMarkerInfo marker_info,
double  cpara[3][4],
double  rot[3][3] 
)

XXXBK.

XXXBK:initial of what ?

Parameters:
marker_infoXXXBK
cparaXXXBK
rotXXXBK
Returns:
XXXBK

Definition at line 212 of file backup/lib/SRC/AR/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

Parameters:
aXXXBK
bXXXBK
cXXXBK
transXXXBK
trans2XXXBK
cparaXXXBK
retXXXBK
Returns:
XXXBK

Definition at line 170 of file backup/lib/SRC/AR/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.

Parameters:
aXXXBK:which element ?
bXXXBK:which element ?
cXXXBK:which element ?
rotthe resulted rotation matrix
Returns:
XXXBK

Definition at line 138 of file backup/lib/SRC/AR/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 backup/lib/SRC/AR/arGetTransMat3.c.

static int check_rotation ( double  rot[2][3]) [static]

Definition at line 338 of file backup/lib/SRC/AR/arGetTransMat3.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


ar_recog
Author(s): Graylin Trevor Jay and Christopher Crick
autogenerated on Fri Jan 25 2013 12:15:00