Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Quaternion.h File Reference

#include "gcl/Geometry.h"

Include dependency graph for Quaternion.h:

Go to the source code of this file.


typedef Vector4 Quaternion


Quaternion MakeQuat (const Vector &axis, GCLReal theta)
Quaternion MakeQuat (const Vector &point)
Quaternion MakeQuat (const VecTrans &t)
Finds an equivalent quaternion for the rotation matrix R. More...

Quaternion QuatMult (const Quaternion &a, const Quaternion &b)
Quaternion QuatInv (const Quaternion &q)
Void MakeFromQuat (const Quaternion &q, VecTrans &t)

Typedef Documentation

typedef Vector4 Quaternion

Definition at line 16 of file Quaternion.h.

Function Documentation

Void MakeFromQuat (const Quaternion & q, VecTrans & t) [inline]

Definition at line 28 of file Quaternion.h.

Quaternion MakeQuat (const VecTrans & R)

Finds an equivalent quaternion for the rotation matrix R.

R is assumed to contain the orthonormal axes of the new (rotated) space in its columns. Code originally from

Definition at line 71 of file

Quaternion MakeQuat (const Vector & point)

Definition at line 55 of file

Quaternion MakeQuat (const Vector & axis, GCLReal theta)

Definition at line 39 of file

Quaternion QuatInv (const Quaternion & q) [inline]

Definition at line 25 of file Quaternion.h.

Quaternion QuatMult (const Quaternion & a, const Quaternion & b)

Definition at line 60 of file

Generated at Sat Aug 5 00:17:02 2000 for Graphics Class Library by doxygen 1.1.0 written by Dimitri van Heesch, © 1997-2000