Osiris Framework  0.1
OMatrix4x4 Class Reference

Class that represents 4x4 matrices. More...

#include <OsirisSDK/OMath.h>

Public Member Functions

 OMatrix4x4 ()
 Class constructor.
 
 OMatrix4x4 (float identValue)
 Class constructor that creates a diagonal matrix with values defined by the input parameter. More...
 
 OMatrix4x4 (const OMatrix4x4 &in)
 Class copy constructor.
 
virtual ~OMatrix4x4 ()
 Class destructor.
 
OMatrix4x4operator= (const OMatrix4x4 &in)
 
OMatrix4x4operator= (float identValue)
 
OMatrix4x4 operator* (const OMatrix4x4 &in)
 
OMatrix4x4operator*= (const OMatrix4x4 &in)
 
void setValue (int row, int col, float value)
 Set the value of a specific matrix element. More...
 
float value (int row, int col) const
 Returns the value of a specific matrix element. More...
 
const GLfloat * glArea () const
 Returns a pointer to the memory area to be used by OpenGL.
 

Detailed Description

Class that represents 4x4 matrices.

Constructor & Destructor Documentation

OMatrix4x4::OMatrix4x4 ( float  identValue)

Class constructor that creates a diagonal matrix with values defined by the input parameter.

Parameters
identValueValues of the matrix main diagonal elements.

Member Function Documentation

void OMatrix4x4::setValue ( int  row,
int  col,
float  value 
)

Set the value of a specific matrix element.

Parameters
rowRow index number.
colColumn index number.
valueNew element value.
float OMatrix4x4::value ( int  row,
int  col 
) const

Returns the value of a specific matrix element.

Parameters
rowRow index number.
colColumn index number.
Returns
Element value.

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