![]() |
3Gear Systems SDK
v0.9.34
|
#include <VecMath.h>
Public Member Functions | |
| Matrix4 () | |
| Initializes with the matrix of all 0s. | |
| Matrix4 (Quaternion< T > q, Vector3< T > t) | |
| const T & | operator() (unsigned iRow, unsigned jCol) const |
| Column-wise element access. | |
| T & | operator() (unsigned iRow, unsigned jCol) |
| Column-wise element access. | |
Static Public Member Functions | |
| static Matrix4 | identity () |
Public Attributes | |
| T | data [16] |
| The 4x4 = 16 matrix entries, stored column-major. | |
4x4 matrix stored in column major format.
We have provided this simple Matrix4f class to avoid a dependence on an external math library (like Eigen).
| HandTrackingClient::Matrix4< T >::Matrix4 | ( | Quaternion< T > | q, |
| Vector3< T > | t | ||
| ) |
Initializes with the upper-left 3x3 block set to the rotation specified by q and the translation component set to t.
1.8.3.1