Free Electron
Classes | Namespaces | Macros | Typedefs | Functions
Quaternion.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fe::Quaternion< T >
 Four-dimensional complex number. More...
 

Namespaces

 fe
 kernel
 

Macros

#define FE_SLERP_DELTA   (1e-6f)
 
#define FE_QUAT_DELTA   (1e-6f)
 
#define FE_ALMOST1   (1.0f-FE_SLERP_DELTA)
 

Typedefs

typedef Quaternion< F32 > fe::Quaternionf
 
typedef Quaternion< F64 > fe::Quaterniond
 
typedef Quaternion< Real > fe::SpatialQuaternion
 

Functions

template<typename T >
void fe::rotateVector (const Quaternion< T > &lhs, const Vector< 3, T > &in, Vector< 3, T > &out)
 
template<typename T >
void fe::rotateXVector (const Quaternion< T > &lhs, Real x, Vector< 3, T > &out)
 
template<typename T >
void fe::rotateYVector (const Quaternion< T > &lhs, Real y, Vector< 3, T > &out)
 
template<typename T >
void fe::rotateZVector (const Quaternion< T > &lhs, Real z, Vector< 3, T > &out)
 
template<class T >
Real fe::removeTwistAboutX (Quaternion< T > &rRotation)
 
template<class T >
Real fe::removeTwistAboutY (Quaternion< T > &rRotation)
 
template<class T >
Real fe::removeTwistAboutZ (Quaternion< T > &rRotation)
 
SpatialQuaternion fe::stepVelocity (const SpatialQuaternion &previous, const SpatialQuaternion &desired, Real deltaT, Real maxVelocity, Real maxAcceleration)
 Return a new velocity based on desired change and constraints. More...