| 
|   | SLQuat4 () | 
|   | 
|   | SLQuat4 (T x, T y, T z, T w) | 
|   | 
|   | SLQuat4 (const SLMat3< T > &m) | 
|   | 
|   | SLQuat4 (T angleDEG, const SLVec3< T > &axis) | 
|   | 
|   | SLQuat4 (const SLVec3< T > &v0, const SLVec3< T > &v1) | 
|   | 
|   | SLQuat4 (const T xRotRAD, const T yRotRAD, const T zRotRAD) | 
|   | 
| T  | x () const | 
|   | 
| T  | y () const | 
|   | 
| T  | z () const | 
|   | 
| T  | w () const | 
|   | 
| void  | set (T x, T y, T z, T w) | 
|   | 
| void  | fromMat3 (const SLMat3< T > &m) | 
|   | 
| void  | fromAngleAxis (T angleRAD, T axisX, T axisY, T axisZ) | 
|   | 
| void  | fromEulerAngles (const T xRotRAD, const T yRotRAD, const T zRotRAD) | 
|   | 
| void  | fromVec3 (const SLVec3< T > &v0, const SLVec3< T > &v1) | 
|   | 
| SLMat3< T >  | toMat3 () const | 
|   | 
| SLMat4< T >  | toMat4 () const | 
|   | 
| SLVec4< T >  | toVec4 () const | 
|   | 
| void  | toAngleAxis (T &angleDEG, SLVec3< T > &axis) const | 
|   | 
| void  | toEulerAnglesXYZ (T &xRotRAD, T &yRotRAD, T &zRotRAD) const | 
|   | 
| void  | toEulerAnglesZYX (T &zRotRAD, T &yRotRAD, T &xRotRAD) const | 
|   | 
| void  | toEulerAnglesZXY (T &zRotRAD, T &xRotRAD, T &yRotRAD) const | 
|   | 
| T  | dot (const SLQuat4< T > &q) const | 
|   | 
| T  | length () const | 
|   | 
| SLQuat4< T >  | normalized () const | 
|   | 
| T  | normalize () | 
|   | 
| SLQuat4< T >  | inverted () const | 
|   | 
| void  | invert () | 
|   | 
| SLQuat4< T >  | conjugated () const | 
|   | 
| void  | conjugate () | 
|   | 
| SLQuat4< T >  | rotated (const SLQuat4< T > &b) const | 
|   | 
| void  | rotate (const SLQuat4< T > &q) | 
|   | 
| SLVec3< T >  | rotate (const SLVec3< T > &vec) const | 
|   | 
| SLQuat4< T >  | scaled (T scale) const | 
|   | 
| void  | scale (T scale) | 
|   | 
| SLQuat4< T >  | lerp (const SLQuat4< T > &q2, T t) const | 
|   | Linear interpolation.  More...
  | 
|   | 
| void  | lerp (const SLQuat4< T > &q1, const SLQuat4< T > &q2, T t) | 
|   | Linear interpolation.  More...
  | 
|   | 
| SLQuat4< T >  | slerp (const SLQuat4< T > &q2, T t) const | 
|   | 
| void  | slerp (const SLQuat4< T > &q1, const SLQuat4< T > &q2, T t) | 
|   | Spherical linear interpolation.  More...
  | 
|   | 
| SLQuat4< T > &  | operator= (SLQuat4< T > q) | 
|   | 
| SLQuat4< T >  | operator- (const SLQuat4< T > &q) const | 
|   | 
| SLQuat4< T >  | operator+ (const SLQuat4< T > &q) const | 
|   | 
| SLQuat4< T >  | operator* (const SLQuat4< T > &q) const | 
|   | 
| SLQuat4< T >  | operator* (T s) const | 
|   | 
| SLVec3< T >  | operator* (const SLVec3< T > &v) const | 
|   | 
| SLbool  | operator== (const SLQuat4< T > &q) const | 
|   | 
| SLbool  | operator!= (const SLQuat4< T > &q) const | 
|   | 
| SLQuat4< T > &  | operator*= (const SLQuat4< T > &q2) | 
|   | 
| SLQuat4< T > &  | operator*= (T s) | 
|   | 
template<class T>
class SLQuat4< T >
Quaternion class for angle-axis rotation representation. 
Quaternion class for angle-axis rotation representation. For rotations quaternions must have unit length. See http://en.wikipedia.org/wiki/Quaternion Quaternions can be interpolated at low cost with the method lerp or slerp. 
Definition at line 27 of file SLQuat4.h.