Osiris Framework
0.3
|
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. | |
OMatrix4x4 (const OMathPrimitive< glm::mat4x4 > &in) | |
Class copy constructor for the base template class. | |
virtual | ~OMatrix4x4 () |
Class destructor. | |
OVector4 | operator* (const OVector4 &in) const |
Matrix product operator for four-dimentional vectors. | |
OMatrix4x4 | operator* (const OMatrix4x4 &in) const |
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... | |
Public Member Functions inherited from OMathPrimitive< glm::mat4x4 > | |
OMathPrimitive () | |
Class constructor. | |
OMathPrimitive (const OMathPrimitive< glm::mat4x4 > &in) | |
Copy constructor. | |
virtual | ~OMathPrimitive () |
Class destructor. | |
OMathPrimitive< glm::mat4x4 > | normalize () |
Creates a normalized object out of the current one. | |
OMathPrimitive< glm::mat4x4 > & | operator= (const OMathPrimitive< glm::mat4x4 > &in) |
OMathPrimitive< glm::mat4x4 > & | operator*= (const OMathPrimitive< glm::mat4x4 > &in) |
OMathPrimitive< glm::mat4x4 > & | operator*= (float x) |
OMathPrimitive< glm::mat4x4 > | operator* (const OMathPrimitive< glm::mat4x4 > &in) const |
virtual OMathPrimitive< glm::mat4x4 > | operator* (float x) const |
OMathPrimitive< glm::mat4x4 > & | operator+= (const OMathPrimitive< glm::mat4x4 > &in) |
OMathPrimitive< glm::mat4x4 > | operator+ (const OMathPrimitive< glm::mat4x4 > &in) const |
OMathPrimitive< glm::mat4x4 > & | operator-= (const OMathPrimitive< glm::mat4x4 > &in) |
OMathPrimitive< glm::mat4x4 > | operator- (const OMathPrimitive< glm::mat4x4 > &in) const |
bool | operator== (const OMathPrimitive< glm::mat4x4 > &in) const |
bool | operator!= (const OMathPrimitive< glm::mat4x4 > &in) const |
const GLfloat * | glArea () const |
Returns a pointer to the memory area to be used by OpenGL. For internal library usage only. | |
Additional Inherited Members | |
Protected Attributes inherited from OMathPrimitive< glm::mat4x4 > | |
glm::mat4x4 | _glmInternal |
Represents 4x4 matrices.
OMatrix4x4::OMatrix4x4 | ( | float | identValue | ) |
Class constructor that creates a diagonal matrix with values defined by the input parameter.
identValue | Values of the matrix main diagonal elements. |
void OMatrix4x4::setValue | ( | int | row, |
int | col, | ||
float | value | ||
) |
Set the value of a specific matrix element.
row | Row index number. |
col | Column index number. |
value | New element value. |
float OMatrix4x4::value | ( | int | row, |
int | col | ||
) | const |
Returns the value of a specific matrix element.
row | Row index number. |
col | Column index number. |