#include <mat4.hh>
Inherits equality_comparable< Mat4 >, additive< Mat4 >, and multiplicative< Mat4, Real >.
|
| Mat4 () |
|
| Mat4 (Real i00, Real i01, Real i02, Real i03, Real i10, Real i11, Real i12, Real i13, Real i20, Real i21, Real i22, Real i23, Real i30, Real i31, Real i32, Real i33) |
|
| Mat4 (const Mat4 &m) |
|
| Mat4 (const Mat2 &m) |
|
| Mat4 (const Mat3 &m) |
|
| Mat4 (const float[16]) |
|
| Mat4 (const double[16]) |
|
Mat4 & | operator= (const Mat4 &m) |
|
bool | operator== (const Mat4 &rhs) const |
|
const Real & | At (std::size_t r, std::size_t c) const |
|
Real & | At (std::size_t r, std::size_t c) |
|
Real & | operator() (std::size_t r, std::size_t c) |
|
const Real & | operator() (std::size_t r, std::size_t c) const |
|
Mat4 & | operator+= (const Mat4 &rhs) |
|
Mat4 & | operator-= (const Mat4 &rhs) |
|
Mat4 & | operator*= (const Real d) |
|
Mat4 & | operator/= (const Real d) |
|
Mat4 & | operator*= (const Mat4 &m) |
|
Mat3 | ExtractRotation () const |
|
void | PasteRotation (const Mat3 &m) |
|
Vec3 | ExtractTranslation () const |
|
void | PasteTranslation (const Vec3 &v) |
|
Real * | Data () |
|
const Real * | Data () const |
|
Definition at line 39 of file mat4.hh.
Default initialization, identity matrix.
Mat4 |
( |
Real |
i00, |
|
|
Real |
i01, |
|
|
Real |
i02, |
|
|
Real |
i03, |
|
|
Real |
i10, |
|
|
Real |
i11, |
|
|
Real |
i12, |
|
|
Real |
i13, |
|
|
Real |
i20, |
|
|
Real |
i21, |
|
|
Real |
i22, |
|
|
Real |
i23, |
|
|
Real |
i30, |
|
|
Real |
i31, |
|
|
Real |
i32, |
|
|
Real |
i33 |
|
) |
| |
In with 16 values in row-major order.
row-major order means that the matrix
| a b c d | | e f g h | | i j k l | | m n o p |
is initialized with (a,b,c,d, e,f,g,h, i,j,k,l, m,n,o,p)
implicit initialization from mat2
implicit initialization from mat3
initialization from array
Mat4 |
( |
const double |
[16] | ) |
|
|
explicit |
const Real& At |
( |
std::size_t |
r, |
|
|
std::size_t |
c |
|
) |
| const |
|
inline |
Real& At |
( |
std::size_t |
r, |
|
|
std::size_t |
c |
|
) |
| |
|
inline |
const Real* Data |
( |
| ) |
const |
|
inline |
Mat3 ExtractRotation |
( |
| ) |
const |
Vec3 ExtractTranslation |
( |
| ) |
const |
Real& operator() |
( |
std::size_t |
r, |
|
|
std::size_t |
c |
|
) |
| |
|
inline |
const Real& operator() |
( |
std::size_t |
r, |
|
|
std::size_t |
c |
|
) |
| const |
|
inline |
bool operator== |
( |
const Mat4 & |
rhs | ) |
const |
void PasteRotation |
( |
const Mat3 & |
m | ) |
|
void PasteTranslation |
( |
const Vec3 & |
v | ) |
|
The documentation for this class was generated from the following file:
- build-2.7-doc/stage/include/ost/geom/mat4.hh