A Value holding a matrix value. More...
#include <Value.h>
Public Member Functions | |
ValueMatrix (const string &name) | |
Creates an uninitialized ValueMatrix. | |
ValueMatrix (const string &name, const T *value) | |
Creates a ValueMatrix. | |
virtual | ~ValueMatrix () |
Deletes this ValueMatrix. | |
virtual UniformType | getType () const |
Returns the type of this value. | |
const T * | get () const |
Returns the current value of this uniform. | |
void | set (const T *value) |
Sets the value of this uniform. | |
Protected Attributes | |
T | value [C *R] |
The current value of this ValueMatrix. |
A Value holding a matrix value.
ork::ValueMatrix< U, T, C, R, V >::ValueMatrix | ( | const string & | name | ) | [inline] |
Creates an uninitialized ValueMatrix.
ork::ValueMatrix< U, T, C, R, V >::ValueMatrix | ( | const string & | name, | |
const T * | value | |||
) | [inline] |
Creates a ValueMatrix.
virtual ork::ValueMatrix< U, T, C, R, V >::~ValueMatrix | ( | ) | [inline, virtual] |
Deletes this ValueMatrix.
const T* ork::ValueMatrix< U, T, C, R, V >::get | ( | ) | const [inline] |
Returns the current value of this uniform.
virtual UniformType ork::ValueMatrix< U, T, C, R, V >::getType | ( | ) | const [inline, virtual] |
Returns the type of this value.
Implements ork::Value.
void ork::ValueMatrix< U, T, C, R, V >::set | ( | const T * | value | ) | [inline] |
Sets the value of this uniform.
value | the matrix coefficients in row major order (i.e. first row, second row, etc). |
T ork::ValueMatrix< U, T, C, R, V >::value[C *R] [protected] |
The current value of this ValueMatrix.
The matrix coefficients are stored in row major order.