bazar  1.3.1
Public Member Functions | Public Attributes | List of all members
Mat3x4 Struct Reference

#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]

Detailed Description

Examples:
multigl.cpp.

Definition at line 59 of file matvec.h.

Member Function Documentation

double Mat3x4::det ( )
inline

Definition at line 71 of file matvec.h.

References m.

void Mat3x4::mul ( const Mat3x4 a)
Examples:
multigl.cpp.

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 ( )

Definition at line 14 of file matvec.cpp.

References m.

Referenced by set(), and setTranslate().

void Mat3x4::setInverseByTranspose ( const Mat3x4 m)
Examples:
multigl.cpp.

Definition at line 112 of file matvec.cpp.

References m.

Referenced by photo_draw().

void Mat3x4::setMul ( const Mat3x3 a,
const Mat3x4 b 
)

Definition at line 40 of file matvec.cpp.

References m, and Mat3x3::m.

Referenced by mul().

void Mat3x4::setMul ( const Mat3x4 a,
const Mat3x4 b 
)

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 
)
Examples:
multigl.cpp.

Definition at line 132 of file matvec.cpp.

References m.

Referenced by photo_draw().

void Mat3x4::setTranslate ( double  x,
double  y,
double  z 
)
Examples:
multigl.cpp.

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] 
)
Examples:
multigl.cpp.

Definition at line 52 of file matvec.cpp.

References m.

Referenced by photo_draw().

Member Data Documentation

double Mat3x4::m[3][4]

The documentation for this struct was generated from the following files: