Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXMat3f Class Reference

Single-precision 3x3 matrix. More...

#include <FXMat3f.h>

Public Member Functions

 FXMat3f ()
 Default constructor; value is not initialized.
 
 FXMat3f (FXfloat s)
 Initialize matrix from scalar.
 
 FXMat3f (FXfloat a00, FXfloat a01, FXfloat a02, FXfloat a10, FXfloat a11, FXfloat a12, FXfloat a20, FXfloat a21, FXfloat a22)
 Initialize matrix from components.
 
 FXMat3f (const FXMat2f &s)
 Initialize with 2x2 rotation and scale matrix.
 
 FXMat3f (const FXMat3f &s)
 Initialize matrix from another matrix.
 
 FXMat3f (const FXMat4f &s)
 Initialize from rotation and scaling part of 4x4 matrix.
 
 FXMat3f (const FXQuatf &quat)
 Initialize matrix from quaternion.
 
 FXMat3f (const FXVec3f &a, const FXVec3f &b, const FXVec3f &c)
 Initialize matrix from three vectors.
 
 FXMat3f (FXfloat a, FXfloat b, FXfloat c)
 Initialize diagonal matrix.
 
 FXMat3f (const FXVec3f &d)
 Initialize diagonal matrix.
 
 FXMat3f (const FXfloat s[])
 Initialize matrix from array.
 
FXMat3foperator= (FXfloat s)
 Assignment from scalar.
 
FXMat3foperator= (const FXMat2f &s)
 Assignment.
 
FXMat3foperator= (const FXMat3f &s)
 
FXMat3foperator= (const FXMat4f &s)
 
FXMat3foperator= (const FXQuatf &quat)
 Assignment from quaternion.
 
FXMat3foperator= (const FXfloat s[])
 Assignment from array.
 
FXMat3fset (FXfloat s)
 Set value from scalar.
 
FXMat3fset (FXfloat a00, FXfloat a01, FXfloat a02, FXfloat a10, FXfloat a11, FXfloat a12, FXfloat a20, FXfloat a21, FXfloat a22)
 Set value from components.
 
FXMat3fset (const FXMat2f &s)
 Set value from 2x2 rotation and scale matrix.
 
FXMat3fset (const FXMat3f &s)
 Set value from another matrix.
 
FXMat3fset (const FXMat4f &s)
 Set from rotation and scaling part of 4x4 matrix.
 
FXMat3fset (const FXQuatf &quat)
 Set value from quaternion.
 
FXMat3fset (const FXVec3f &a, const FXVec3f &b, const FXVec3f &c)
 Set value from three vectors.
 
FXMat3fset (FXfloat a, FXfloat b, FXfloat c)
 Set diagonal matrix.
 
FXMat3fset (const FXVec3f &d)
 Set diagonal matrix.
 
FXMat3fset (const FXfloat s[])
 Set value from array.
 
FXMat3foperator+= (const FXMat3f &w)
 Assignment operators.
 
FXMat3foperator-= (const FXMat3f &w)
 
FXMat3foperator*= (const FXMat3f &w)
 
FXMat3foperator*= (FXfloat w)
 
FXMat3foperator/= (FXfloat w)
 
FXVec3foperator[] (FXint i)
 Indexing.
 
const FXVec3foperator[] (FXint i) const
 
 operator FXfloat * ()
 Conversion.
 
 operator const FXfloat * () const
 
FXMat3f operator- () const
 Unary minus.
 
FXMat3fidentity ()
 Set to identity matrix.
 
FXbool isIdentity () const
 Return true if identity matrix.
 
FXMat3frot (const FXQuatf &q)
 Multiply by rotation about unit-quaternion.
 
FXMat3frot (const FXVec3f &v, FXfloat c, FXfloat s)
 Multiply by rotation c,s about unit axis.
 
FXMat3frot (const FXVec3f &v, FXfloat phi)
 Multiply by rotation of phi about unit axis.
 
FXMat3fxrot (FXfloat c, FXfloat s)
 Multiply by x-rotation.
 
FXMat3fxrot (FXfloat phi)
 
FXMat3fyrot (FXfloat c, FXfloat s)
 Multiply by y-rotation.
 
FXMat3fyrot (FXfloat phi)
 
FXMat3fzrot (FXfloat c, FXfloat s)
 Multiply by z-rotation.
 
FXMat3fzrot (FXfloat phi)
 
FXMat3fscale (FXfloat sx, FXfloat sy, FXfloat sz)
 Multiply by scaling.
 
FXMat3fscale (const FXVec3f &v)
 
FXMat3fscale (FXfloat s)
 
FXMat3fmirror (const FXVec3f &n)
 Mirror-matrix with plane normal n.
 
FXfloat det () const
 Determinant.
 
FXMat3f transpose () const
 Transpose.
 
FXMat3f invert () const
 Invert.
 
 ~FXMat3f ()
 Destructor.
 

Protected Attributes

FXVec3f m [3]
 

Detailed Description

Single-precision 3x3 matrix.


The documentation for this class was generated from the following file:

Copyright © 1997-2022 Jeroen van der Zijp