#include <Matrix3C.h>
Matrix3C class defines a 3 by 4 matrix class which is used by the Demopaja system The matrix class implements standard set of methods and overdriven operators for easy use.
This class is implemented by the system.
|
Default constructor.
|
|
Copy constructor.
|
|
Contructor from array of floats. Creates a new vector with the values as the array pointed by the argument. The array should contain 12 values, 3 for each row in the matrix. The rows in the array are arranged linearly. |
|
Default destructor.
|
|
Inverts the matrix and returns the result.
|
|
Multiplies two matrices and returns the result.
|
|
Multiplies two matrices and stores the result in the matrix.
|
|
Adds two matrices and returns the result.
|
|
Adds two matrices and stores the result in the matrix.
|
|
Substracts two matrices and returns the result.
|
|
Negates the matrix and returns the result.
|
|
Subtracts two matrices and stores the result in the matrix.
|
|
Returns reference to the vector at a row pointed by the index. The index values from 0 to 2 corresponds to the rows in the matrix. There are two versions of this method this version is for retrieving the values. |
|
Returns reference to the vector at a row pointed by the index. The index values from 0 to 2 corresponds to the rows in the matrix. There are two versions of this method, this version enables to assign values. |
|
Ortho normalizes the matrix and returns the result.
|
|
Pretranslates the matrix and returns the result.
|
|
Sets the matrix as identity matrix.
|
|
Converts quaternion to matrix and stores the result to the matrix.
|
|
Sets the matrix to identity and then rotates the matrix around the X-axis to the value of the argument.
|
|
Sets the matrix to identity and then rotates the matrix to the values of the arguments in order XYZ.
|
|
Sets the matrix to identity and then rotates the matrix around the Y-axis to the value of the argument.
|
|
Sets the matrix to identity and then rotates the matrix around the Z-axis to the value of the argument.
|
|
Sets the matrix to identity and then scales the matrix to the value of the argument.
|
|
Sets the matrix to identity and then translates the matrix to the value of the argument.
|
|
Transposes the matrix and returns the result.
|
|
Multiplies the specified vector by the specified matrix and returns the result.
|
|
Multiplies the specified vector by the specified matrix and returns the result.
|
|
Multiplies the specified vector by the specified matrix and stores the result to the vector.
|