AngryDude
 All Classes Namespaces Files Functions Variables Macros
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
DualQuaternion Class Reference

#include <DualQuaternion.hpp>

Collaboration diagram for DualQuaternion:
Collaboration graph
[legend]

Public Member Functions

 DualQuaternion ()=default
 
 DualQuaternion (const Quaternion &real, const Quaternion &dual)
 
template<typename V3 >
 DualQuaternion (const V3 &translation, const Quaternion &rotation)
 

Static Public Member Functions

static const DualQuaternion identity ()
 
template<typename V3 >
static const DualQuaternion fromVector (const V3 &vector)
 
template<typename V3 >
static const V3 toVector (const DualQuaternion &dq)
 
template<typename M4 >
static const DualQuaternion fromMatrix (const M4 &m)
 
template<typename M4 >
static const M4 toMatrix (const DualQuaternion &dq)
 

Public Attributes

Quaternion real
 
Quaternion dual
 

Constructor & Destructor Documentation

DualQuaternion::DualQuaternion ( )
default
DualQuaternion::DualQuaternion ( const Quaternion real,
const Quaternion dual 
)
inline
template<typename V3 >
DualQuaternion::DualQuaternion ( const V3 &  translation,
const Quaternion rotation 
)
inline

Constructs unit dual quaternion encoding rotation and translation (after rotation).

Member Function Documentation

template<typename M4 >
static const DualQuaternion DualQuaternion::fromMatrix ( const M4 &  m)
inlinestatic
template<typename V3 >
static const DualQuaternion DualQuaternion::fromVector ( const V3 &  vector)
inlinestatic
static const DualQuaternion DualQuaternion::identity ( )
inlinestatic
template<typename M4 >
static const M4 DualQuaternion::toMatrix ( const DualQuaternion dq)
inlinestatic
template<typename V3 >
static const V3 DualQuaternion::toVector ( const DualQuaternion dq)
inlinestatic

Member Data Documentation

Quaternion DualQuaternion::dual
Quaternion DualQuaternion::real

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