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

Public Types

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

Public Member Functions

value_type & operator() (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_type * ptr ()
 
const value_type * ptr () const
 
value_type & operator[] (int i)
 
value_type operator[] (int i) const
 
void reset ()
 

Protected Attributes

value_type _mat [row_count][col_count]
 

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