Class Hierarchy   Compound List   File List   Compound Members   File Members  

Quaternion Class Reference

Class diagram for Quaternion:

Tuple4

List of all members.

Public Members

 Quaternion ()
 Quaternion (const Quaternion& other)
 Quaternion (Float w, Float x, Float y, Float z)
Float getW () const
Float getX () const
Float getY () const
Float getZ () const
Float lengthSquared () const
Float length () const
Float equals (const Quaternion& other) const
Float dotProduct (const Quaternion& other) const
Quaternion& set (Float w, Float x, Float y, Float z)
Quaternion& set (const Quaternion& other)
Quaternion& fromEuler (Float yaw, Float pitch, Float roll)
Quaternion& fromAngleAxis (Float angle, const Vector& axis)
Void toAngleAxis (Float& angle, Vector& axis) const
Void toMatrix (Matrix& matrix) const
Quaternion& interpolate (const Quaternion& other, Float time)
const Quaternion& operator= (const Quaternion& other)
Quaternion operator+ (const Quaternion& other) const
const Quaternion& operator+= (const Quaternion other)
Quaternion operator- (const Quaternion& other) const
const Quaternion& operator-= (const Quaternion other)
Quaternion operator * (const Quaternion& other) const
Quaternion operator- () const

Member Function Documentation

Quaternion::Quaternion ()

Quaternion::Quaternion (const Quaternion & other)

Quaternion::Quaternion (Float w, Float x, Float y, Float z)

Float Quaternion::getW () const

Float Quaternion::getX () const

Float Quaternion::getY () const

Float Quaternion::getZ () const

Float Quaternion::lengthSquared () const

Float Quaternion::length () const

Float Quaternion::equals (const Quaternion & other) const

Float Quaternion::dotProduct (const Quaternion & other) const

Quaternion& Quaternion::set (Float w, Float x, Float y, Float z)

Quaternion& Quaternion::set (const Quaternion & other)

Quaternion& Quaternion::fromEuler (Float yaw, Float pitch, Float roll)

Quaternion& Quaternion::fromAngleAxis (Float angle, const Vector & axis)

Void Quaternion::toAngleAxis (Float & angle, Vector & axis) const

Void Quaternion::toMatrix (Matrix & matrix) const

Quaternion& Quaternion::interpolate (const Quaternion & other, Float time)

const Quaternion& Quaternion::operator= (const Quaternion & other)

Quaternion Quaternion::operator+ (const Quaternion & other) const

const Quaternion& Quaternion::operator+= (const Quaternion other)

Quaternion Quaternion::operator- (const Quaternion & other) const

const Quaternion& Quaternion::operator-= (const Quaternion other)

Quaternion Quaternion::operator * (const Quaternion & other) const

Quaternion Quaternion::operator- () const


The documentation for this class was generated from the following file:
Generated at Wed Nov 3 15:16:41 1999 for Architectural Walkthrough Project by doxygen  written by Dimitri van Heesch, © 1997-1999