Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
dimeMatrix Class Reference

The dimeMatrix class is for containing and operating on a four-by-four matrix. More...

#include <dime/util/Linear.h>

Public Member Functions

 dimeMatrix (const dimeMatrix &matrix)
 
 dimeMatrix (dxfdouble a11, dxfdouble a12, dxfdouble a13, dxfdouble a14, dxfdouble a21, dxfdouble a22, dxfdouble a23, dxfdouble a24, dxfdouble a31, dxfdouble a32, dxfdouble a33, dxfdouble a34, dxfdouble a41, dxfdouble a42, dxfdouble a43, dxfdouble a44)
 
void transpose ()
 
void makeIdentity ()
 
bool isIdentity () const
 
void setTransform (const dimeVec3f &translation, const dimeVec3f &scalefactor, const dimeVec3f &rotAngles)
 
dimeMatrixmultRight (const dimeMatrix &m)
 
dimeMatrixmultLeft (const dimeMatrix &m)
 
void setRotate (const dimeVec3f &rot)
 
void setRotate (const dimeVec3f &x, const dimeVec3f &y, const dimeVec3f &z)
 
void setRotation (const dimeVec3f &u, const dxfdouble angle)
 
void setScale (const dxfdouble s)
 
void setScale (const dimeVec3f &s)
 
void setTranslate (const dimeVec3f &t)
 
void multMatrixVec (const dimeVec3f &src, dimeVec3f &dst) const
 
void multMatrixVec (dimeVec3f &vec) const
 
 operator dxfdouble * ()
 
dxfdouble * operator[] (int i)
 
const dxfdouble * operator[] (int i) const
 
dimeMatrixoperator= (const dimeMatrix &m)
 
dimeMatrixoperator*= (const dimeMatrix &m)
 
bool inverse ()
 
bool inverse2 ()
 
dxfdouble determinant (const int i=-2, const int j=-1)
 
void operator*= (const dxfdouble val)
 

Static Public Member Functions

static dimeMatrix identity ()
 

Detailed Description

The dimeMatrix class is for containing and operating on a four-by-four matrix.


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