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

FX::FXMat3d Class Reference

Double-precision 3x3 matrix. More...

#include <FXMat3d.h>

List of all members.

Public Member Functions

 FXMat3d ()
 FXMat3d (const FXMat3d &other)
 FXMat3d (FXdouble w)
 FXMat3d (FXdouble a00, FXdouble a01, FXdouble a02, FXdouble a10, FXdouble a11, FXdouble a12, FXdouble a20, FXdouble a21, FXdouble a22)
 FXMat3d (const FXVec3d &a, const FXVec3d &b, const FXVec3d &c)
 FXMat3d (const FXQuatd &quat)
FXMat3doperator= (const FXMat3d &other)
FXMat3doperator= (FXdouble w)
FXMat3dset (const FXMat3d &other)
FXMat3dset (FXdouble w)
FXMat3dset (FXdouble a00, FXdouble a01, FXdouble a02, FXdouble a10, FXdouble a11, FXdouble a12, FXdouble a20, FXdouble a21, FXdouble a22)
FXMat3dset (const FXVec3d &a, const FXVec3d &b, const FXVec3d &c)
FXMat3dset (const FXQuatd &quat)
FXMat3doperator+= (const FXMat3d &w)
FXMat3doperator-= (const FXMat3d &w)
FXMat3doperator *= (FXdouble w)
FXMat3doperator *= (const FXMat3d &w)
FXMat3doperator/= (FXdouble w)
FXVec3doperator[] (FXint i)
const FXVec3doperator[] (FXint i) const
 operator FXdouble * ()
 operator const FXdouble * () const
FXMat3d operator- () const
FXMat3d operator+ (const FXMat3d &w) const
FXMat3d operator- (const FXMat3d &w) const
FXMat3d operator * (const FXMat3d &w) const
FXVec3d operator * (const FXVec3d &v) const
FXVec2d operator * (const FXVec2d &v) const
FXMat3deye ()
FXMat3drot (FXdouble c, FXdouble s)
FXMat3drot (FXdouble phi)
FXMat3dtrans (FXdouble tx, FXdouble ty)
FXMat3dscale (FXdouble sx, FXdouble sy)
FXMat3dscale (FXdouble s)
FXdouble det () const
FXMat3d transpose () const
FXMat3d invert () const

Friends

FXMat3d operator * (FXdouble x, const FXMat3d &a)
FXMat3d operator * (const FXMat3d &a, FXdouble x)
FXMat3d operator/ (const FXMat3d &a, FXdouble x)
FXMat3d operator/ (FXdouble x, const FXMat3d &a)
FXStreamoperator<< (FXStream &store, const FXMat3d &m)
FXStreamoperator>> (FXStream &store, FXMat3d &m)


Detailed Description

Double-precision 3x3 matrix.


Constructor & Destructor Documentation

FX::FXMat3d::FXMat3d  )  [inline]
 

Default constructor.

FX::FXMat3d::FXMat3d const FXMat3d other  ) 
 

Initialize matrix from another matrix.

FX::FXMat3d::FXMat3d FXdouble  w  ) 
 

Initialize matrix from scalar.

FX::FXMat3d::FXMat3d FXdouble  a00,
FXdouble  a01,
FXdouble  a02,
FXdouble  a10,
FXdouble  a11,
FXdouble  a12,
FXdouble  a20,
FXdouble  a21,
FXdouble  a22
 

Initialize matrix from components.

FX::FXMat3d::FXMat3d const FXVec3d a,
const FXVec3d b,
const FXVec3d c
 

Initialize matrix from three vectors.

FX::FXMat3d::FXMat3d const FXQuatd quat  ) 
 

Initialize matrix from quaternion.


Member Function Documentation

FXMat3d& FX::FXMat3d::operator= const FXMat3d other  ) 
 

Assignment.

FXMat3d& FX::FXMat3d::operator= FXdouble  w  ) 
 

FXMat3d& FX::FXMat3d::set const FXMat3d other  ) 
 

Set value from another matrix.

FXMat3d& FX::FXMat3d::set FXdouble  w  ) 
 

Set value from scalar.

FXMat3d& FX::FXMat3d::set FXdouble  a00,
FXdouble  a01,
FXdouble  a02,
FXdouble  a10,
FXdouble  a11,
FXdouble  a12,
FXdouble  a20,
FXdouble  a21,
FXdouble  a22
 

Set value from components.

FXMat3d& FX::FXMat3d::set const FXVec3d a,
const FXVec3d b,
const FXVec3d c
 

Set value from three vectors.

FXMat3d& FX::FXMat3d::set const FXQuatd quat  ) 
 

Set value from quaternion.

FXMat3d& FX::FXMat3d::operator+= const FXMat3d w  ) 
 

Assignment operators.

FXMat3d& FX::FXMat3d::operator-= const FXMat3d w  ) 
 

FXMat3d& FX::FXMat3d::operator *= FXdouble  w  ) 
 

FXMat3d& FX::FXMat3d::operator *= const FXMat3d w  ) 
 

FXMat3d& FX::FXMat3d::operator/= FXdouble  w  ) 
 

FXVec3d& FX::FXMat3d::operator[] FXint  i  )  [inline]
 

Indexing.

const FXVec3d& FX::FXMat3d::operator[] FXint  i  )  const [inline]
 

FX::FXMat3d::operator FXdouble *  )  [inline]
 

Conversion.

FX::FXMat3d::operator const FXdouble *  )  const [inline]
 

FXMat3d FX::FXMat3d::operator-  )  const
 

Unary minus.

FXMat3d FX::FXMat3d::operator+ const FXMat3d w  )  const
 

Matrix and matrix.

FXMat3d FX::FXMat3d::operator- const FXMat3d w  )  const
 

FXMat3d FX::FXMat3d::operator * const FXMat3d w  )  const
 

FXVec3d FX::FXMat3d::operator * const FXVec3d v  )  const
 

Multiply matrix and vector.

FXVec2d FX::FXMat3d::operator * const FXVec2d v  )  const
 

FXMat3d& FX::FXMat3d::eye  ) 
 

Set identity matrix.

FXMat3d& FX::FXMat3d::rot FXdouble  c,
FXdouble  s
 

Multiply by rotation of phi.

FXMat3d& FX::FXMat3d::rot FXdouble  phi  ) 
 

FXMat3d& FX::FXMat3d::trans FXdouble  tx,
FXdouble  ty
 

Multiply by translation.

FXMat3d& FX::FXMat3d::scale FXdouble  sx,
FXdouble  sy
 

Multiply by scaling.

FXMat3d& FX::FXMat3d::scale FXdouble  s  ) 
 

FXdouble FX::FXMat3d::det  )  const
 

Determinant.

FXMat3d FX::FXMat3d::transpose  )  const
 

Transpose.

FXMat3d FX::FXMat3d::invert  )  const
 

Invert.


Friends And Related Function Documentation

FXMat3d operator * FXdouble  x,
const FXMat3d a
[friend]
 

Matrix and scalar.

FXMat3d operator * const FXMat3d a,
FXdouble  x
[friend]
 

FXMat3d operator/ const FXMat3d a,
FXdouble  x
[friend]
 

FXMat3d operator/ FXdouble  x,
const FXMat3d a
[friend]
 

FXStream& operator<< FXStream store,
const FXMat3d m
[friend]
 

Save to a stream.

FXStream& operator>> FXStream store,
FXMat3d m
[friend]
 

Load from a stream.

Copyright © 1997-2005 Jeroen van der Zijp