![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXHMat.h>
Public Methods | |
FXHMat () | |
Constructors. | |
FXHMat (FXfloat w) | |
FXHMat (FXfloat a00, FXfloat a01, FXfloat a02, FXfloat a03, FXfloat a10, FXfloat a11, FXfloat a12, FXfloat a13, FXfloat a20, FXfloat a21, FXfloat a22, FXfloat a23, FXfloat a30, FXfloat a31, FXfloat a32, FXfloat a33) | |
FXHMat (const FXHVec &a, const FXHVec &b, const FXHVec &c, const FXHVec &d) | |
FXHMat (const FXHMat &other) | |
FXHMat & | operator= (const FXHMat &other) |
Assignment operators. | |
FXHMat & | operator= (FXfloat w) |
FXHMat & | operator+= (const FXHMat &w) |
FXHMat & | operator-= (const FXHMat &w) |
FXHMat & | operator *= (FXfloat w) |
FXHMat & | operator *= (const FXHMat &w) |
FXHMat & | operator/= (FXfloat w) |
FXHVec & | operator[] (FXint i) |
Indexing. | |
const FXHVec & | operator[] (FXint i) const |
operator FXfloat * () | |
Conversion. | |
operator const FXfloat * () const | |
FXHMat & | eye () |
Set identity matrix. | |
FXHMat & | ortho (FXfloat left, FXfloat right, FXfloat bottom, FXfloat top, FXfloat hither, FXfloat yon) |
Orthographic projection. | |
FXHMat & | frustum (FXfloat left, FXfloat right, FXfloat bottom, FXfloat top, FXfloat hither, FXfloat yon) |
Perspective projection. | |
FXHMat & | left () |
Multiply by left-hand matrix. | |
FXHMat & | rot (const FXQuat &q) |
Multiply by rotation about unit-quaternion. | |
FXHMat & | rot (const FXVec &v, FXfloat c, FXfloat s) |
Multiply by rotation c,s about axis. | |
FXHMat & | rot (const FXVec &v, FXfloat phi) |
Multiply by rotation of phi about axis. | |
FXHMat & | xrot (FXfloat c, FXfloat s) |
Multiply by x-rotation. | |
FXHMat & | xrot (FXfloat phi) |
FXHMat & | yrot (FXfloat c, FXfloat s) |
Multiply by y-rotation. | |
FXHMat & | yrot (FXfloat phi) |
FXHMat & | zrot (FXfloat c, FXfloat s) |
Multiply by z-rotation. | |
FXHMat & | zrot (FXfloat phi) |
FXHMat & | look (const FXVec &eye, const FXVec &cntr, const FXVec &vup) |
Look at. | |
FXHMat & | trans (FXfloat tx, FXfloat ty, FXfloat tz) |
Multiply by translation. | |
FXHMat & | trans (const FXVec &v) |
FXHMat & | scale (FXfloat sx, FXfloat sy, FXfloat sz) |
Multiply by scaling. | |
FXHMat & | scale (FXfloat s) |
FXHMat & | scale (const FXVec &v) |
Friends | |
FXAPI FXHMat | operator+ (const FXHMat &a, const FXHMat &b) |
Other operators. | |
FXAPI FXHMat | operator- (const FXHMat &a, const FXHMat &b) |
FXAPI FXHMat | operator- (const FXHMat &a) |
FXAPI FXHMat | operator * (const FXHMat &a, const FXHMat &b) |
FXAPI FXHMat | operator * (FXfloat x, const FXHMat &a) |
FXAPI FXHMat | operator * (const FXHMat &a, FXfloat x) |
FXAPI FXHMat | operator/ (const FXHMat &a, FXfloat x) |
FXAPI FXHMat | operator/ (FXfloat x, const FXHMat &a) |
FXAPI FXHVec | operator * (const FXHVec &v, const FXHMat &m) |
Multiply matrix and vector. | |
FXAPI FXHVec | operator * (const FXHMat &a, const FXHVec &v) |
FXAPI FXVec | operator * (const FXVec &v, const FXHMat &m) |
Mutiply matrix and vector, for non-projective matrix. | |
FXAPI FXVec | operator * (const FXHMat &a, const FXVec &v) |
FXAPI FXfloat | det (const FXHMat &m) |
Determinant. | |
FXAPI FXHMat | transpose (const FXHMat &m) |
Transpose. | |
FXAPI FXHMat | invert (const FXHMat &m) |
Invert. | |
FXAPI FXStream & | operator<< (FXStream &store, const FXHMat &m) |
Save to a stream. | |
FXAPI FXStream & | operator>> (FXStream &store, FXHMat &m) |
Load from a stream. |