bazar
1.3.1
|
#include <matvec.h>
Public Member Functions | |
void | set (CvMat *m) |
void | setIdentity () |
void | setMul (const Mat3x3 &a, const Mat3x4 &b) |
void | setMul (const Mat3x4 &a, const Mat3x4 &b) |
void | mul (const Mat3x4 &a) |
void | setInverseByTranspose (const Mat3x4 &m) |
void | setRotate (const Vec3 &axis, double angle) |
void | setTranslate (double x, double y, double z) |
void | transform (const float src[4], float dst[4]) |
double | det () |
Public Attributes | |
double | m [3][4] |
void Mat3x4::mul | ( | const Mat3x4 & | a | ) |
Definition at line 97 of file matvec.cpp.
References setMul().
Referenced by photo_draw().
void Mat3x4::set | ( | CvMat * | m | ) |
Definition at line 20 of file matvec.cpp.
References m, and setIdentity().
void Mat3x4::setIdentity | ( | ) |
void Mat3x4::setInverseByTranspose | ( | const Mat3x4 & | m | ) |
Definition at line 112 of file matvec.cpp.
References m.
Referenced by photo_draw().
Add a line [0, 0, 0, 1] to each matrix to fake 4x4 matrix multiplication.
Definition at line 82 of file matvec.cpp.
References m.
void Mat3x4::setRotate | ( | const Vec3 & | axis, |
double | angle | ||
) |
Definition at line 132 of file matvec.cpp.
References m.
Referenced by photo_draw().
void Mat3x4::setTranslate | ( | double | x, |
double | y, | ||
double | z | ||
) |
Definition at line 104 of file matvec.cpp.
References m, and setIdentity().
Referenced by photo_draw().
void Mat3x4::transform | ( | const float | src[4], |
float | dst[4] | ||
) |
Definition at line 52 of file matvec.cpp.
References m.
Referenced by photo_draw().
double Mat3x4::m[3][4] |
Definition at line 60 of file matvec.h.
Referenced by det(), operator<<(), photo_draw(), set(), setIdentity(), setInverseByTranspose(), Vec3::setMul(), setMul(), setRotate(), setTranslate(), and transform().