latest version v1.9 - last update 10 Apr 2010 |
#include <ltiDraw3D.h>
Public Member Functions | |
hmatrix () | |
hmatrix (const hmatrix &other) | |
~hmatrix () | |
void | clear () |
dpoint3D | operator* (const dpoint3D &p) const |
double & | at (const int m, const int n) |
const double & | at (const int m, const int n) const |
hmatrix & | copy (const hmatrix &other) |
hmatrix & | operator= (const hmatrix &other) |
homogene matrix
Due to a MSVC bug the implementation of the class must be here.
lti::draw3D< T >::hmatrix::hmatrix | ( | ) | [inline] |
default constructor
References lti::draw3D< T >::hmatrix::clear().
lti::draw3D< T >::hmatrix::hmatrix | ( | const hmatrix & | other | ) | [inline] |
copy constructor
References lti::draw3D< T >::hmatrix::copy().
lti::draw3D< T >::hmatrix::~hmatrix | ( | ) | [inline] |
destructor
const double& lti::draw3D< T >::hmatrix::at | ( | const int | m, | |
const int | n | |||
) | const [inline] |
return value a row m and column n
double& lti::draw3D< T >::hmatrix::at | ( | const int | m, | |
const int | n | |||
) | [inline] |
return value at row m and column n
Referenced by lti::draw3D< T >::hmatrix::clear(), lti::draw3D< T >::hmatrix::operator*(), and lti::draw3D< T >::triangle::visible().
void lti::draw3D< T >::hmatrix::clear | ( | ) | [inline] |
clean matrix
References lti::draw3D< T >::hmatrix::at().
Referenced by lti::draw3D< T >::hmatrix::hmatrix().
hmatrix& lti::draw3D< T >::hmatrix::copy | ( | const hmatrix & | other | ) | [inline] |
copy member
Referenced by lti::draw3D< T >::hmatrix::hmatrix(), and lti::draw3D< T >::hmatrix::operator=().
dpoint3D lti::draw3D< T >::hmatrix::operator* | ( | const dpoint3D & | p | ) | const [inline] |
multiply with a point
References lti::draw3D< T >::hmatrix::at(), lti::tpoint3D< T >::x, lti::tpoint3D< T >::y, and lti::tpoint3D< T >::z.
hmatrix& lti::draw3D< T >::hmatrix::operator= | ( | const hmatrix & | other | ) | [inline] |
alias for copy member
References lti::draw3D< T >::hmatrix::copy().