|
| Matrix4 () |
|
| Matrix4 (double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13, double m20, double m21, double m22, double m23, double m30, double m31, double m32, double m33) |
|
| Matrix4 (double *mat) |
|
void | convert (double mat[16]) |
|
double * | operator[] (unsigned int iRow) |
|
const double * | operator[] (unsigned int iRow) const |
|
Matrix4 | concatenate (const Matrix4 &m2) const |
|
Matrix4 | operator* (const Matrix4 &m2) const |
|
Vector3d | operator* (const Vector3d &v) const |
|
Matrix4 | operator+ (const Matrix4 &m2) const |
|
Matrix4 | operator- (const Matrix4 &m2) const |
|
bool | operator== (const Matrix4 &m2) const |
|
bool | operator!= (const Matrix4 &m2) const |
|
Matrix4 | transpose (void) const |
|
void | makeTrans (double tx, double ty, double tz) |
|
Matrix4 | operator* (double scalar) const |
|
|
union { | |
|
double m [4][4] | |
|
double _m [16] | |
|
}; | | |
| The matrix entries, indexed by [row][col].
|
|
Definition at line 8 of file Matrix4.h.
◆ Matrix4() [1/3]
Default constructor.
- Note
- It does NOT initialize the matrix for efficiency.
Definition at line 21 of file Matrix4.h.
◆ Matrix4() [2/3]
Matrix4 |
( |
double |
m00, |
|
|
double |
m01, |
|
|
double |
m02, |
|
|
double |
m03, |
|
|
double |
m10, |
|
|
double |
m11, |
|
|
double |
m12, |
|
|
double |
m13, |
|
|
double |
m20, |
|
|
double |
m21, |
|
|
double |
m22, |
|
|
double |
m23, |
|
|
double |
m30, |
|
|
double |
m31, |
|
|
double |
m32, |
|
|
double |
m33 |
|
) |
| |
|
inline |
◆ Matrix4() [3/3]
◆ concatenate()
◆ convert()
void convert |
( |
double |
mat[16] | ) |
|
|
inline |
◆ makeTrans()
void makeTrans |
( |
double |
tx, |
|
|
double |
ty, |
|
|
double |
tz |
|
) |
| |
|
inline |
◆ operator!=()
bool operator!= |
( |
const Matrix4 & |
m2 | ) |
const |
|
inline |
Tests 2 matrices for inequality.
Definition at line 229 of file Matrix4.h.
◆ operator*() [1/3]
Matrix concatenation using '*'.
Definition at line 129 of file Matrix4.h.
◆ operator*() [2/3]
Vector transformation using '*'.
- Note
- This means that the initial w is considered to be 1.0, and then all the tree elements of the resulting 3-D vector are divided by the resulting w.
Definition at line 143 of file Matrix4.h.
◆ operator*() [3/3]
Matrix4 operator* |
( |
double |
scalar | ) |
const |
|
inline |
◆ operator+()
◆ operator-()
Matrix subtraction.
Definition at line 188 of file Matrix4.h.
◆ operator==()
bool operator== |
( |
const Matrix4 & |
m2 | ) |
const |
|
inline |
Tests 2 matrices for equality.
Definition at line 216 of file Matrix4.h.
◆ operator[]() [1/2]
double * operator[] |
( |
unsigned int |
iRow | ) |
|
|
inline |
◆ operator[]() [2/2]
const double * operator[] |
( |
unsigned int |
iRow | ) |
const |
|
inline |
◆ transpose()
◆ _m
◆ IDENTITY
◆ ZERO
The documentation for this class was generated from the following files:
- G:/work/subversion/scol-technologies/trunk/scol/plugins/sensor/include/tools/Matrix4.h
- G:/work/subversion/scol-technologies/trunk/scol/plugins/sensor/src/tools/Matrix4.cpp