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

#include <VecMath.h>

Public Member Functions

 Transform (const Quaternion< T > &rotation_in, const Vector3< T > &translation_in)
 Constructs a transform from the given rotation and translation.
 
void invert ()
 Inverts this transform.
 
Transform< T > inverse () const
 Returns the inverse of this transform.
 

Public Attributes

Quaternion< T > rotation
 This is the rotation component of the transform.
 
Vector3< T > translation
 This is the translation component of the transform.
 

Detailed Description

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

Represents the transform

\[ \left[ \begin{array}{cc} \mathbf{R} & \mathbf{t} \\ \mathbf{0} & 1 \end{array} \right] \]

The final transformation is \( T(\mathbf{X}) = \mathbf{R}*\mathbf{x} + \mathbf{t} \), where \(\mathbf{R}\) is the rotational component and \( \mathbf{t} \) is the translational component.


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