arGetTransMat3.c File Reference

#include <stdlib.h>
#include <math.h>
#include <AR/ar.h>
#include <AR/matrix.h>
Include dependency graph for 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 arGetTransMat3.c.

#define MD_PI   3.14159265358979323846

Definition at line 18 of file 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:
rot the initial rotation matrix
wa XXXBK:which element ?
wb XXXBK:which element ?
wc XXXBK:which element ?
Returns:
XXXBK

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 ?

Parameters:
marker_info XXXBK
cpara XXXBK
rot XXXBK
Returns:
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

Parameters:
a XXXBK
b XXXBK
c XXXBK
trans XXXBK
trans2 XXXBK
cpara XXXBK
ret XXXBK
Returns:
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.

Parameters:
a XXXBK:which element ?
b XXXBK:which element ?
c XXXBK:which element ?
rot the resulted rotation matrix
Returns:
XXXBK

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.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines


artoolkit
Author(s): Gautier Dumonteil
autogenerated on Fri Jan 11 10:05:46 2013