#include <Mat4.h>
List of all members.
Public Member Functions |
| Mat4 () |
| Mat4 (const Vec4 &r0, const Vec4 &r1, const Vec4 &r2, const Vec4 &r3) |
| Mat4 (const Mat4 &m) |
double & | operator() (int i, int j) |
double | operator() (int i, int j) const |
const Vec4 & | operator[] (int i) const |
int | operator== (const Mat4 &) |
Mat4 & | operator= (const Mat4 &m) |
Mat4 & | operator+= (const Mat4 &m) |
Mat4 & | operator-= (const Mat4 &m) |
Mat4 & | operator*= (double s) |
Mat4 & | operator/= (double s) |
Mat4 | operator+ (const Mat4 &m) const |
Mat4 | operator- (const Mat4 &m) const |
Mat4 | operator- () const |
Mat4 | operator* (double s) const |
Mat4 | operator/ (double s) const |
Mat4 | operator* (const Mat4 &m) const |
Vec4 | operator* (const Vec4 &v) const |
Vec3 | operator* (const Vec3 &v) const |
double | det () const |
Mat4 | transpose () const |
Mat4 | adjoint () const |
double | inverse (Mat4 &) const |
double | cramerInverse (Mat4 &) const |
Static Public Member Functions |
static Mat4 | trans (double, double, double) |
static Mat4 | scale (double, double, double) |
static Mat4 | xrot (double) |
static Mat4 | yrot (double) |
static Mat4 | zrot (double) |
Static Public Attributes |
static Mat4 | identity |
static Mat4 | zero |
static Mat4 | unit |
Protected Member Functions |
void | copy (const Mat4 &m) |
Vec4 | col (int i) const |
Private Attributes |
Vec4 | row [4] |
Friends |
std::ostream & | operator<< (std::ostream &, const Mat4 &) |
Detailed Description
Definition at line 15 of file Mat4.h.
Constructor & Destructor Documentation
Member Function Documentation
Vec4 col |
( |
int |
i | ) |
const [inline, protected] |
void copy |
( |
const Mat4 & |
m | ) |
[inline, protected] |
double& operator() |
( |
int |
i, |
|
|
int |
j |
|
) |
| [inline] |
double operator() |
( |
int |
i, |
|
|
int |
j |
|
) |
| const [inline] |
Mat4 operator* |
( |
double |
s | ) |
const [inline] |
Vec4 operator* |
( |
const Vec4 & |
v | ) |
const [inline] |
Vec3 operator* |
( |
const Vec3 & |
v | ) |
const [inline] |
Mat4 & operator*= |
( |
double |
s | ) |
[inline] |
Mat4 operator+ |
( |
const Mat4 & |
m | ) |
const [inline] |
Mat4 & operator+= |
( |
const Mat4 & |
m | ) |
[inline] |
Mat4 operator- |
( |
const Mat4 & |
m | ) |
const [inline] |
Mat4 operator- |
( |
| ) |
const [inline] |
Mat4 & operator-= |
( |
const Mat4 & |
m | ) |
[inline] |
Mat4 operator/ |
( |
double |
s | ) |
const [inline] |
Mat4 & operator/= |
( |
double |
s | ) |
[inline] |
Mat4& operator= |
( |
const Mat4 & |
m | ) |
[inline] |
int operator== |
( |
const Mat4 & |
m | ) |
[inline] |
const Vec4& operator[] |
( |
int |
i | ) |
const [inline] |
Mat4 scale |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| [static] |
Mat4 trans |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| [static] |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Mat4 & |
M |
|
) |
| [friend] |
Member Data Documentation
The documentation for this class was generated from the following files: