vmml::quaternion< float_t > Class Template Reference

List of all members.

Public Member Functions

float_t & operator() (size_t position)
const float_t & operator() (size_t position) const
float_t & operator[] (size_t position)
const float_t & operator[] (size_t position) const
float_t & at (size_t position)
const float_t & at (size_t position) const
float_t & x ()
const float_t & x () const
float_t & y ()
const float_t & y () const
float_t & z ()
const float_t & z () const
float_t & w ()
const float_t & w () const
 quaternion (float_t x, float_t y, float_t z, float_t w)
 quaternion (const vector< 3, float_t > &xyz, float_t w)
 quaternion (const vector< 3, float_t > &xyz)
 quaternion (const matrix< 3, 3, float_t > &rotationMatrix)
 quaternion (const matrix< 4, 4, float_t > &matrix)
void zero ()
void identity ()
template<size_t DIM>
void fromRotationMatrix (const matrix< DIM, DIM, float_t > &rotationMatrix)
void set (float_t ww, float_t xx, float_t yy, float_t zz)
const quaternionoperator= (const quaternion &a)
void operator= (float_t *a)
void copyFrom1DimCArray (const float_t *a)
bool operator== (const float_t &a) const
bool operator!= (const float_t &a) const
bool operator== (const quaternion &a) const
bool operator!= (const quaternion &a) const
bool isAkin (const quaternion &a, const float_t &delta=std::numeric_limits< float_t >::epsilon())
void conjugate ()
quaternion getConjugate () const
float_t abs () const
float_t absSquared () const
float_t normalize ()
quaternion getNormalized () const
quaternion negate () const
quaternion operator- () const
quaternion operator+ (const quaternion< float_t > &a) const
quaternion operator- (const quaternion< float_t > &a) const
quaternion operator* (const quaternion< float_t > &a) const
void operator+= (const quaternion< float_t > &a)
void operator-= (const quaternion< float_t > &a)
void operator*= (const quaternion< float_t > &a)
quaternion operator* (float_t a) const
quaternion operator/ (float_t a) const
void operator*= (float_t a)
void operator/= (float_t a)
quaternion operator+ (const vector< 3, float_t > &a) const
quaternion operator- (const vector< 3, float_t > &a) const
quaternion operator* (const vector< 3, float_t > &a) const
void operator+= (const vector< 3, float_t > &a)
void operator-= (const vector< 3, float_t > &a)
void operator*= (const vector< 3, float_t > &a)
vector< 3, float_t > cross (const quaternion< float_t > &b) const
float_t dot (const quaternion< float_t > &a) const
quaternion getInverse ()
void normal (const quaternion &aa, const quaternion &bb, const quaternion &cc, const quaternion &dd)
quaternion normal (const quaternion &aa, const quaternion &bb, const quaternion &cc)
void rotate (float_t theta, const vector< 3, float_t > &a)
void rotatex (float_t theta)
void rotatey (float_t theta)
void rotatez (float_t theta)
quaternion rotate (float_t theta, vector< 3, float_t > &axis, const vector< 3, float_t > &a)
quaternion rotatex (float_t theta, const vector< 3, float_t > &a)
quaternion rotatey (float_t theta, const vector< 3, float_t > &a)
quaternion rotatez (float_t theta, const vector< 3, float_t > &a)
quaternion slerp (float_t a, const quaternion< float_t > &p, const quaternion &q)
float_t getMinComponent ()
float_t getMaxComponent ()
matrix< 3, 3, float_t > getRotationMatrix () const
template<size_t DIM>
void getRotationMatrix (matrix< DIM, DIM, float_t > &result) const

Static Public Member Functions

static float_t dot (const quaternion< float_t > &a, const quaternion< float_t > &b)

Public Attributes

float_t array [4]

Static Public Attributes

static const quaternion ZERO
static const quaternion IDENTITY
static const quaternion QUATERI
static const quaternion QUATERJ
static const quaternion QUATERK

Friends

std::ostream & operator<< (std::ostream &os, const quaternion &q)

template<typename float_t>
class vmml::quaternion< float_t >


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

Generated by  doxygen 1.6.2