#include <RmMatrix.h>
Public Member Functions | |
| RmMatrix4x4 () | |
| Constructor. | |
| RmMatrix4x4 (const RmMatrix4x4 &src) | |
| Constructor. | |
| RmMatrix4x4 (const float src[16]) | |
| Constructor. | |
| virtual | ~RmMatrix4x4 () |
| Destructor. | |
| float * | GetElements () |
| Get elements. | |
| const float * | GetElements () const |
| Get elements. | |
| void | operator= (const RmMatrix4x4 &src) |
| Copy operator. | |
| float * | operator[] (int rowIndex) |
| Indexing operator. | |
| const float * | operator[] (int rowIndex) const |
| Indexing operator. | |
| RmMatrix4x4 | operator * (const RmMatrix4x4 &rhs) const |
| Multiplication operator. | |
| void | operator *= (const RmMatrix4x4 &rhs) |
| Multiplication and assign operator. | |
| void | SetEntries (float val) |
| Set entries. | |
| void | SetEntries (const float src[16]) |
| Set Entries. | |
| void | Identity () |
| Set matrix to identity. | |
| void | Transpose () |
| Transpose matrix. | |
| bool | Inverse () |
| Inverse matrix. | |
| void | Rotate (const float xAxis, const float yAxis, const float zAxis, const float angle, const RmAngleType angleType) |
| Rotate matrix. | |
| void | Translate (const float x, const float y, const float z) |
| Translate matrix. | |
| void | Scale (const float x, const float y, const float z) |
| Scale matrix. | |
| void | CopyTo (float dest[16]) const |
| Copy to array of floats. | |
| void | CopyToTranspose (float dest[16]) const |
| Copy to array of floats in transposed format. | |
| RmVector3D | TransformPoint (const RmVector3D &v) const |
| Transform vector. | |
| RmVector3D | TransformVector (const RmVector3D &v) const |
| Transform vector. | |
Matrix4x4
|
|
Constructor. Constructor |
|
|
Constructor. Constructor with src to copy from
|
|
|
Constructor. Constructor with 16 floats to initialize to
|
|
|
Destructor. Destructor |
|
|
Copy to array of floats. Copy contents of matrix to 16 floats
|
|
|
Copy to array of floats in transposed format. Copy to array of floats in tranposed fromat
|
|
|
Get elements. Get elements
|
|
|
Get elements. Get elements
|
|
|
Set matrix to identity. Set matrix to identity
|
|
|
Inverse matrix. Inverse matrix, if matrix is singular, ( not invertible ) it will return false.
|
|
|
Multiplication operator. Concatenation of Matrix to Matrix
|
|
|
Multiplication and assign operator. Concatenation of Matrix to Matrix and put result into this matrix
|
|
|
Copy operator. Copy operator
|
|
|
Indexing operator. Index operator.
|
|
|
Indexing operator. Index operator.
|
|
||||||||||||||||||||||||
|
Rotate matrix. Rotate matrix by given angle and rotaion axis
|
|
||||||||||||||||
|
Scale matrix. Scale matrix by given scaler
|
|
|
Set Entries. Copy entries from 16 floats array
|
|
|
Set entries. Set Entries to one value. All matrix entrty will have this value.
|
|
|
Transform vector. Transform vector. Result = v * this matrix
|
|
|
Transform vector. Transform vector. Result = v * this matrix
|
|
||||||||||||||||
|
Translate matrix. Translate matrix by give offset
|
|
|
Transpose matrix. Transpose matrix
|
1.3.6