3Gear Systems SDK  v0.9.34
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
HandTrackingClient::Matrix4< T > Class Template Reference

#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

data [16]
 The 4x4 = 16 matrix entries, stored column-major.
 

Detailed Description

template<typename T>
class HandTrackingClient::Matrix4< T >

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).

Constructor & Destructor Documentation

template<typename T >
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.


The documentation for this class was generated from the following files: