Darc Library  2012.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
darc::core::GE_Quaternion Class Reference

#include <cr_quaternion.h>

List of all members.

Public Member Functions

 GE_Quaternion ()
 GE_Quaternion (const Real &_r, const Real &_i, const Real &_j, const Real &_k)
void norm ()
GE_Quaternion getConjugate () const
GE_Quaternion operator* (const GE_Quaternion &rq) const

Public Attributes

Real m_r
Real m_i
Real m_j
Real m_k

Detailed Description

Quaternion class.


Constructor & Destructor Documentation

Default constructor.

darc::core::GE_Quaternion::GE_Quaternion ( const Real _r,
const Real _i,
const Real _j,
const Real _k 
) [inline]

Member Function Documentation

Constructs a rotation quaternion.

Parameters:
_vNormalized rotation axis. Normalizes quaternion if necessary.
GE_Quaternion darc::core::GE_Quaternion::operator* ( const GE_Quaternion rq) const [inline]

Operator "Quaternion multiplication".


Member Data Documentation


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