math::Matrix is osg::Matrix extended with a flat-index operator[].
More...
#include <_src_math_matrix_class.hh>
List of all members.
Detailed Description
math::Matrix is osg::Matrix extended with a flat-index operator[].
operator[] provides compatibility (esp. with the matrix template functions). Deriving from osg::Matrix may not be what the OSG developers intended, but avoids massive rewriting.
Constructor & Destructor Documentation
| math::Matrix::Matrix |
( |
void |
|
) |
[inline] |
| math::Matrix::Matrix |
( |
const Matrix & |
src |
) |
[inline] |
| math::Matrix::Matrix |
( |
const osg::Matrix & |
src |
) |
[inline] |
ctor. Quaternion only defines rotation (osg::Matrix(quat) produces zero position), so position must be assigned afterwards.
Member Function Documentation
| Vector3 math::Matrix::GetPosition |
( |
void |
|
) |
const [inline] |
| const value_type& math::Matrix::operator[] |
( |
uint |
i |
) |
const [inline] |
| value_type& math::Matrix::operator[] |
( |
uint |
i |
) |
[inline] |
| void math::Matrix::SetPosition |
( |
const Vector3 & |
pos |
) |
[inline] |
The documentation for this class was generated from the following files: