OpenSceneGraph 2.8.4
Public Member Functions | Protected Attributes
osg::Matrix3 Class Reference

List of all members.

Public Member Functions

 Matrix3 ()
 Matrix3 (const Matrix3 &mat)
 Matrix3 (float a00, float a01, float a02, float a10, float a11, float a12, float a20, float a21, float a22)
 ~Matrix3 ()
float & operator() (int row, int col)
float operator() (int row, int col) const
Matrix3operator= (const Matrix3 &rhs)
void set (const Matrix3 &rhs)
void set (float const *const ptr)
void set (float a00, float a01, float a02, float a10, float a11, float a12, float a20, float a21, float a22)
float * ptr ()
const float * ptr () const
float & operator[] (int i)
float operator[] (int i) const
void makeIdentity ()

Protected Attributes

float _mat [3][3]

Constructor & Destructor Documentation

osg::Matrix3::Matrix3 ( ) [inline]
osg::Matrix3::Matrix3 ( const Matrix3 mat) [inline]

References ptr().

osg::Matrix3::Matrix3 ( float  a00,
float  a01,
float  a02,
float  a10,
float  a11,
float  a12,
float  a20,
float  a21,
float  a22 
) [inline]
osg::Matrix3::~Matrix3 ( ) [inline]

Member Function Documentation

void osg::Matrix3::makeIdentity ( ) [inline]
float& osg::Matrix3::operator() ( int  row,
int  col 
) [inline]
float osg::Matrix3::operator() ( int  row,
int  col 
) const [inline]
Matrix3& osg::Matrix3::operator= ( const Matrix3 rhs) [inline]

References ptr().

float& osg::Matrix3::operator[] ( int  i) [inline]
float osg::Matrix3::operator[] ( int  i) const [inline]
const float* osg::Matrix3::ptr ( ) const [inline]
float* osg::Matrix3::ptr ( ) [inline]

Referenced by Matrix3(), and operator=().

void osg::Matrix3::set ( float const *const  ptr) [inline]
void osg::Matrix3::set ( const Matrix3 rhs) [inline]
void osg::Matrix3::set ( float  a00,
float  a01,
float  a02,
float  a10,
float  a11,
float  a12,
float  a20,
float  a21,
float  a22 
) [inline]

Member Data Documentation

float osg::Matrix3::_mat[3][3] [protected]

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

osg logo
Generated at Sun Jan 8 2012 13:16:24 for the OpenSceneGraph by doxygen 1.7.4.