OpenSceneGraph  3.4.0
Public Types | Public Member Functions | Protected Attributes
osg::MatrixTemplate< T, RowN, ColN > Class Template Reference
Inheritance diagram for osg::MatrixTemplate< T, RowN, ColN >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { col_count = ColN }
enum  { row_count = RowN }
enum  { value_count = ColN * RowN }
typedef T value_type

Public Member Functions

 MatrixTemplate ()
 ~MatrixTemplate ()
value_typeoperator() (int row, int col)
value_type operator() (int row, int col) const
MatrixTemplateoperator= (const MatrixTemplate &rhs)
void set (const MatrixTemplate &rhs)
void set (value_type const *const ptr)
value_typeptr ()
const value_typeptr () const
value_typeoperator[] (int i)
value_type operator[] (int i) const
void reset ()

Protected Attributes

value_type _mat [row_count][col_count]

template<typename T, unsigned int RowN, unsigned int ColN>
class osg::MatrixTemplate< T, RowN, ColN >


Member Typedef Documentation

template<typename T, unsigned int RowN, unsigned int ColN>
typedef T osg::MatrixTemplate< T, RowN, ColN >::value_type

Member Enumeration Documentation

template<typename T, unsigned int RowN, unsigned int ColN>
anonymous enum
Enumerator:
col_count 
template<typename T, unsigned int RowN, unsigned int ColN>
anonymous enum
Enumerator:
row_count 
template<typename T, unsigned int RowN, unsigned int ColN>
anonymous enum
Enumerator:
value_count 

Constructor & Destructor Documentation

template<typename T, unsigned int RowN, unsigned int ColN>
osg::MatrixTemplate< T, RowN, ColN >::MatrixTemplate ( ) [inline]
template<typename T, unsigned int RowN, unsigned int ColN>
osg::MatrixTemplate< T, RowN, ColN >::~MatrixTemplate ( ) [inline]

Member Function Documentation

template<typename T, unsigned int RowN, unsigned int ColN>
value_type& osg::MatrixTemplate< T, RowN, ColN >::operator() ( int  row,
int  col 
) [inline]
template<typename T, unsigned int RowN, unsigned int ColN>
value_type osg::MatrixTemplate< T, RowN, ColN >::operator() ( int  row,
int  col 
) const [inline]
template<typename T, unsigned int RowN, unsigned int ColN>
MatrixTemplate& osg::MatrixTemplate< T, RowN, ColN >::operator= ( const MatrixTemplate< T, RowN, ColN > &  rhs) [inline]
template<typename T, unsigned int RowN, unsigned int ColN>
value_type& osg::MatrixTemplate< T, RowN, ColN >::operator[] ( int  i) [inline]
template<typename T, unsigned int RowN, unsigned int ColN>
value_type osg::MatrixTemplate< T, RowN, ColN >::operator[] ( int  i) const [inline]
template<typename T, unsigned int RowN, unsigned int ColN>
value_type* osg::MatrixTemplate< T, RowN, ColN >::ptr ( ) [inline]
template<typename T, unsigned int RowN, unsigned int ColN>
const value_type* osg::MatrixTemplate< T, RowN, ColN >::ptr ( ) const [inline]
template<typename T, unsigned int RowN, unsigned int ColN>
void osg::MatrixTemplate< T, RowN, ColN >::reset ( ) [inline]
template<typename T, unsigned int RowN, unsigned int ColN>
void osg::MatrixTemplate< T, RowN, ColN >::set ( const MatrixTemplate< T, RowN, ColN > &  rhs) [inline]
template<typename T, unsigned int RowN, unsigned int ColN>
void osg::MatrixTemplate< T, RowN, ColN >::set ( value_type const *const  ptr) [inline]

Member Data Documentation

template<typename T, unsigned int RowN, unsigned int ColN>
value_type osg::MatrixTemplate< T, RowN, ColN >::_mat[row_count][col_count] [protected]

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

osg logo
Generated at Tue Dec 8 2015 00:14:26 for the OpenSceneGraph by doxygen 1.7.6.1.