OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
osg::MatrixTemplate< T, RowN, ColN > Class Template Reference

#include <Uniform.h>

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

 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]
 

Detailed Description

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

Definition at line 73 of file Uniform.h.

Member Typedef Documentation

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

Definition at line 80 of file Uniform.h.

Member Enumeration Documentation

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

Definition at line 76 of file Uniform.h.

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

Definition at line 77 of file Uniform.h.

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

Definition at line 78 of file Uniform.h.

Constructor & Destructor Documentation

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

Definition at line 84 of file Uniform.h.

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

Definition at line 85 of file Uniform.h.

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

Definition at line 87 of file Uniform.h.

template<typename T, unsigned int RowN, unsigned int ColN>
value_type osg::MatrixTemplate< T, RowN, ColN >::operator() ( int  row,
int  col 
) const
inline

Definition at line 88 of file Uniform.h.

template<typename T, unsigned int RowN, unsigned int ColN>
MatrixTemplate& osg::MatrixTemplate< T, RowN, ColN >::operator= ( const MatrixTemplate< T, RowN, ColN > &  rhs)
inline

Definition at line 90 of file Uniform.h.

template<typename T, unsigned int RowN, unsigned int ColN>
value_type& osg::MatrixTemplate< T, RowN, ColN >::operator[] ( int  i)
inline

Definition at line 108 of file Uniform.h.

template<typename T, unsigned int RowN, unsigned int ColN>
value_type osg::MatrixTemplate< T, RowN, ColN >::operator[] ( int  i) const
inline

Definition at line 109 of file Uniform.h.

template<typename T, unsigned int RowN, unsigned int ColN>
value_type* osg::MatrixTemplate< T, RowN, ColN >::ptr ( )
inline

Definition at line 105 of file Uniform.h.

Here is the caller graph for this function:

template<typename T, unsigned int RowN, unsigned int ColN>
const value_type* osg::MatrixTemplate< T, RowN, ColN >::ptr ( ) const
inline

Definition at line 106 of file Uniform.h.

template<typename T, unsigned int RowN, unsigned int ColN>
void osg::MatrixTemplate< T, RowN, ColN >::reset ( )
inline

Definition at line 111 of file Uniform.h.

template<typename T, unsigned int RowN, unsigned int ColN>
void osg::MatrixTemplate< T, RowN, ColN >::set ( const MatrixTemplate< T, RowN, ColN > &  rhs)
inline

Definition at line 97 of file Uniform.h.

Here is the caller graph for this function:

template<typename T, unsigned int RowN, unsigned int ColN>
void osg::MatrixTemplate< T, RowN, ColN >::set ( value_type const *const  ptr)
inline

Definition at line 99 of file Uniform.h.

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

Definition at line 114 of file Uniform.h.


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