#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.
◆ Mat4() [1/7]
Default initialization, identity matrix.
◆ Mat4() [2/7]
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)
◆ Mat4() [3/7]
◆ Mat4() [4/7]
implicit initialization from mat2
◆ Mat4() [5/7]
implicit initialization from mat3
◆ Mat4() [6/7]
initialization from array
◆ Mat4() [7/7]
Mat4 |
( |
const double |
[16] | ) |
|
|
explicit |
◆ At() [1/2]
Real& At |
( |
std::size_t |
r, |
|
|
std::size_t |
c |
|
) |
| |
|
inline |
◆ At() [2/2]
const Real& At |
( |
std::size_t |
r, |
|
|
std::size_t |
c |
|
) |
| const |
|
inline |
◆ Data() [1/2]
◆ Data() [2/2]
const Real* Data |
( |
| ) |
const |
|
inline |
◆ ExtractRotation()
Mat3 ExtractRotation |
( |
| ) |
const |
◆ ExtractTranslation()
Vec3 ExtractTranslation |
( |
| ) |
const |
◆ Identity()
◆ operator()() [1/2]
Real& operator() |
( |
std::size_t |
r, |
|
|
std::size_t |
c |
|
) |
| |
|
inline |
◆ operator()() [2/2]
const Real& operator() |
( |
std::size_t |
r, |
|
|
std::size_t |
c |
|
) |
| const |
|
inline |
◆ operator*=() [1/2]
◆ operator*=() [2/2]
◆ operator+=()
◆ operator-=()
◆ operator/=()
◆ operator=()
◆ operator==()
bool operator== |
( |
const Mat4 & |
rhs | ) |
const |
◆ PasteRotation()
void PasteRotation |
( |
const Mat3 & |
m | ) |
|
◆ PasteTranslation()
void PasteTranslation |
( |
const Vec3 & |
v | ) |
|
The documentation for this class was generated from the following file:
- build-dev-doc/stage/include/ost/geom/mat4.hh