Classes |
struct | mat33_t |
struct | options_t |
struct | pose_t |
struct | quat_t |
struct | vec3_t |
Typedefs |
typedef real_t | mat33 [3][3] |
typedef std::vector< mat33_t > | mat33_array |
typedef std::vector< mat33_t >
::const_iterator | mat33_array_const_iter |
typedef std::vector< mat33_t >
::iterator | mat33_array_iter |
typedef std::vector< pose_t > | pose_vec |
typedef double | real_t |
typedef std::vector< real_t > | scalar_array |
typedef double | SVD_FLOAT |
typedef real_t | vec3 [3] |
typedef std::vector< vec3_t > | vec3_array |
typedef std::vector< vec3_t >
::const_iterator | vec3_array_const_iter |
typedef std::vector< vec3_t >
::iterator | vec3_array_iter |
Functions |
real_t | _abs (real_t a) |
real_t | _acos (real_t a) |
real_t | _atan2 (real_t a, real_t b) |
real_t | _cos (real_t a) |
bool | _dbg_load_vec3_array (vec3_array &va, char *filename) |
void | _dbg_mat33_array_print (const mat33_array &m, char *name) |
void | _dbg_mat33_fprint (void *fp, const mat33_t &m, char *name) |
void | _dbg_mat33_print (const mat33_t &m, char *name) |
void | _dbg_quat_print (const quat_t &q, char *name) |
void | _dbg_scalar_array_print (const scalar_array &sa, char *name) |
void | _dbg_vec3_array_print (const vec3_array &v, char *name) |
void | _dbg_vec3_fprint (void *fp, const vec3_t &v, char *name) |
void | _dbg_vec3_print (const vec3_t &v, char *name) |
real_t | _pow (real_t a) |
real_t | _pow (real_t a, real_t b) |
real_t | _sin (real_t a) |
real_t | _sqrt (real_t a) |
void | abskernel (mat33_t &R, vec3_t &t, vec3_array &Qout, real_t &err2, const vec3_array _P, const vec3_array _Q, const mat33_array F, const mat33_t G) |
double | CBRT (double) |
int | cubic (double[], double[], int *) |
int | cubic (double A[4], double X[3], int *L) |
void | decomposeR (mat33_t &Rz, const mat33_t &R) |
void | free_double_pptr (double ***m_ptr) |
void | free_double_ptr (double **v_ptr) |
void | free_float_pptr (float ***m_ptr) |
void | free_float_ptr (float **v_ptr) |
void | get2ndPose_Exact (pose_vec &sol, const vec3_array &v, const vec3_array &P, const mat33_t R, const vec3_t t, const real_t DB) |
void | getRfor2ndPose_V_Exact (pose_vec &sol, const vec3_array &v, const vec3_array &P, const mat33_t R, const vec3_t t, const real_t DB) |
void | GetRotationbyVector (mat33_t &R, const vec3_t &v1, const vec3_t &v2) |
void | getRotationY_wrtT (scalar_array &al_ret, vec3_array &tnew, const vec3_array &v, const vec3_array &p, const vec3_t &t, const real_t &DB, const mat33_t &Rz) |
void | mat33_add (mat33_t &mr, const mat33_t &ma, const mat33_t &mb) |
void | mat33_add (mat33_t &ma, const mat33_t &mb) |
bool | mat33_all_zeros (const mat33_t &m) |
void | mat33_array_sum (mat33_t &s, const mat33_array &ma) |
void | mat33_assign (mat33_t &m, const real_t m00, const real_t m01, const real_t m02, const real_t m10, const real_t m11, const real_t m12, const real_t m20, const real_t m21, const real_t m22) |
void | mat33_clear (mat33_t &m) |
void | mat33_copy (mat33_t &md, const mat33_t &ms) |
real_t | mat33_det (const mat33_t &a) |
void | mat33_div (mat33_t &m, const real_t f) |
void | mat33_eye (mat33_t &m) |
void | mat33_from_double_pptr (mat33_t &mat, double **m_ptr) |
void | mat33_from_float_pptr (mat33_t &mat, float **m_ptr) |
void | mat33_from_quat (mat33_t &m, const quat_t &q) |
void | mat33_inv (mat33_t &mi, const mat33_t &ma) |
void | mat33_mult (mat33_t &m0, const mat33_t &m1, const mat33_t &m2) |
void | mat33_mult (mat33_t &mr, const real_t n) |
void | mat33_pow2 (mat33_t &m) |
void | mat33_set_all_zeros (mat33_t &m) |
void | mat33_sub (mat33_t &mr, const mat33_t &ma, const mat33_t &mb) |
void | mat33_sub (mat33_t &ma, const mat33_t &mb) |
real_t | mat33_sum (const mat33_t &m) |
void | mat33_svd2 (mat33_t &u, mat33_t &s, mat33_t &v, const mat33_t &m) |
void | mat33_to_col_vec3 (vec3_t &c0, vec3_t &c1, vec3_t &c2, const mat33_t &m) |
double ** | mat33_to_double_pptr (const mat33_t &mat) |
float ** | mat33_to_float_pptr (const mat33_t &mat) |
void | mat33_transpose (mat33_t &t, const mat33_t m) |
void | normRv (vec3_t &n, const vec3_t &v) |
void | normRv (vec3_array &normR_v, const vec3_array &v) |
void | objpose (mat33_t &R, vec3_t &t, unsigned int &it, real_t &obj_err, real_t &img_err, bool calc_img_err, const vec3_array _P, const vec3_array Qp, const options_t options) |
int | quartic (double[], double[], double[], int *) |
int | quartic (double dd[5], double sol[4], double soli[4], int *Nsol) |
void | quat_mult (quat_t &q, const real_t s) |
real_t | quat_norm (const quat_t &q) |
void | Quaternion_byAngleAndVector (quat_t &Q, const real_t &q_angle, const vec3_t &q_vector) |
int | quintic (double[], double[], double[], int *, double) |
void | robust_pose (real_t &err, mat33_t &R, vec3_t &t, const vec3_array &_model, const vec3_array &_iprts, const options_t _options) |
void | rpyAng (vec3_t &angs, const mat33_t &R) |
void | rpyAng_X (vec3_t &ang_zyx, const mat33_t &R) |
void | rpyMat (mat33_t &R, const vec3_t &rpy) |
void | scalar_array_add (scalar_array &sa, const scalar_array &sb) |
void | scalar_array_add (scalar_array &sa, real_t f) |
void | scalar_array_assign (scalar_array &sa, const real_t f, const unsigned int sz) |
void | scalar_array_atan2 (scalar_array &sa, const scalar_array &sb, const scalar_array &sc) |
void | scalar_array_clear (scalar_array &sa) |
void | scalar_array_div (scalar_array &sa, real_t f) |
void | scalar_array_div (scalar_array &sa, const scalar_array &sb) |
void | scalar_array_mult (scalar_array &sa, real_t f) |
void | scalar_array_negate (scalar_array &sa) |
void | scalar_array_pow (scalar_array &sa, const real_t f) |
void | scalar_array_sub (scalar_array &sa, real_t f) |
int | signR (double) |
int | solve_polynomial (scalar_array &sol, const scalar_array &coefficients) |
int | svdcmp (double **a, int m, int n, double *w, double **v) |
void | vec3_add (vec3_t &va, const real_t f) |
void | vec3_add (vec3_t &va, const vec3_t &vb) |
void | vec3_add (vec3_t &va, const vec3_t &vb, const vec3_t &vc) |
void | vec3_array_add (vec3_array &va, const vec3_t &a) |
void | vec3_array_mean (vec3_t &v_mean, const vec3_array &va) |
void | vec3_array_mult (vec3_array &va, const scalar_array &c) |
void | vec3_array_mult (vec3_array &va, const mat33_t &m, const vec3_array &vb) |
void | vec3_array_pow2 (vec3_array &va) |
void | vec3_array_set (vec3_array &va, const vec3_t &a, const bool mask[3]) |
void | vec3_array_sub (vec3_array &va, const vec3_t &a) |
void | vec3_array_sum (vec3_t &v_sum2, const vec3_array &va) |
void | vec3_array_sum (scalar_array &v_sum1, const vec3_array &va) |
void | vec3_assign (vec3_t &v, const real_t x, const real_t y, const real_t z) |
void | vec3_clear (vec3_t &v) |
void | vec3_copy (vec3_t &a, const vec3_t &b) |
void | vec3_cross (vec3_t &va, const vec3_t &vb, const vec3_t &vc) |
void | vec3_div (vec3_t &va, const real_t n) |
void | vec3_div (vec3_t &va, const vec3_t &vb) |
real_t | vec3_dot (const vec3_t &va, const vec3_t &vb) |
void | vec3_from_double_ptr (vec3_t &vec, double *v_ptr) |
void | vec3_from_float_ptr (vec3_t &vec, float *v_ptr) |
void | vec3_mul_vec3trans (mat33_t &m, const vec3_t &va, const vec3_t &vb) |
void | vec3_mult (vec3_t &va, const real_t n) |
void | vec3_mult (vec3_t &va, const vec3_t &vb) |
void | vec3_mult (vec3_t &v0, const mat33_t &m1, const vec3_t &v2) |
real_t | vec3_norm (const vec3_t &v) |
void | vec3_sub (vec3_t &va, const real_t f) |
void | vec3_sub (vec3_t &va, const vec3_t &vb) |
void | vec3_sub (vec3_t &va, const vec3_t &vb, const vec3_t &vc) |
real_t | vec3_sum (const vec3_t &v) |
double * | vec3_to_double_ptr (const vec3_t &vec) |
float * | vec3_to_float_ptr (const vec3_t &vec) |
real_t | vec3trans_mul_vec3 (const vec3_t &va, const vec3_t &vb) |
void | xform (vec3_array &Q, const vec3_array &P, const mat33_t &R, const vec3_t &t) |
void | xformproj (vec3_array &Qp, const vec3_array &P, const mat33_t &R, const vec3_t &t) |
Variables |
static SVD_FLOAT | at |
static SVD_FLOAT | bt |
static SVD_FLOAT | ct |
static SVD_FLOAT | maxarg1 |
static SVD_FLOAT | maxarg2 |