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

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]
 

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 Wed Nov 11 2015 22:14:37 for the OpenSceneGraph by doxygen 1.8.10.