Imath::Quat< T > Class Template Reference

`#include <ImathQuat.h>`

List of all members.

Public Member Functions

Quat ()
template<class S >
Quat (const Quat< S > &q)
Quat (T s, T i, T j, T k)
Quat (T s, Vec3< T > d)
const Quat< T > & operator= (const Quat< T > &q)
const Quat< T > & operator*= (const Quat< T > &q)
const Quat< T > & operator*= (T t)
const Quat< T > & operator/= (const Quat< T > &q)
const Quat< T > & operator/= (T t)
const Quat< T > & operator+= (const Quat< T > &q)
const Quat< T > & operator-= (const Quat< T > &q)
T & operator[] (int index)
operator[] (int index) const
template<class S >
bool operator== (const Quat< S > &q) const
template<class S >
bool operator!= (const Quat< S > &q) const
Quat< T > & invert ()
Quat< T > inverse () const
Quat< T > & normalize ()
Quat< T > normalized () const
length () const
Vec3< T > rotateVector (const Vec3< T > &original) const
euclideanInnerProduct (const Quat< T > &q) const
Quat< T > & setAxisAngle (const Vec3< T > &axis, T radians)
Quat< T > & setRotation (const Vec3< T > &fromDirection, const Vec3< T > &toDirection)
angle () const
Vec3< T > axis () const
Matrix33< T > toMatrix33 () const
Matrix44< T > toMatrix44 () const
Quat< T > log () const
Quat< T > exp () const

Static Public Member Functions

static Quat< T > identity ()

r
Vec3< T > v

Detailed Description

template<class T> class Imath::Quat< T >

Definition at line 71 of file ImathQuat.h.

Constructor & Destructor Documentation

template<class T >
 Imath::Quat< T >::Quat ( ) ` [inline]`

Definition at line 230 of file ImathQuat.h.

template<class T >
template<class S >
 Imath::Quat< T >::Quat ( const Quat< S > & q ) ` [inline]`

Definition at line 239 of file ImathQuat.h.

template<class T >
 Imath::Quat< T >::Quat ( T s, T i, T j, T k ) ` [inline]`

Definition at line 247 of file ImathQuat.h.

template<class T >
 Imath::Quat< T >::Quat ( T s, Vec3< T > d ) ` [inline]`

Definition at line 255 of file ImathQuat.h.

Member Function Documentation

template<class T >
 T Imath::Quat< T >::angle ( ) const` [inline]`

Definition at line 676 of file ImathQuat.h.

template<class T >
 Vec3< T > Imath::Quat< T >::axis ( ) const` [inline]`

Definition at line 684 of file ImathQuat.h.

template<class T >
 T Imath::Quat< T >::euclideanInnerProduct ( const Quat< T > & q ) const` [inline]`

Definition at line 467 of file ImathQuat.h.

template<class T >
 Quat< T > Imath::Quat< T >::exp ( ) const` [inline]`

Definition at line 651 of file ImathQuat.h.

template<class T >
 Quat< T > Imath::Quat< T >::identity ( ) ` [inline, static]`

Definition at line 263 of file ImathQuat.h.

template<class T >
 Quat< T > Imath::Quat< T >::inverse ( void ) const` [inline]`

Definition at line 420 of file ImathQuat.h.

template<class T >
 Quat< T > & Imath::Quat< T >::invert ( ) ` [inline]`

Definition at line 435 of file ImathQuat.h.

template<class T >
 T Imath::Quat< T >::length ( ) const` [inline]`

Definition at line 382 of file ImathQuat.h.

template<class T >
 Quat< T > Imath::Quat< T >::log ( ) const` [inline]`

Definition at line 625 of file ImathQuat.h.

template<class T >
 Quat< T > & Imath::Quat< T >::normalize ( ) ` [inline]`

Definition at line 390 of file ImathQuat.h.

template<class T >
 Quat< T > Imath::Quat< T >::normalized ( ) const` [inline]`

Definition at line 409 of file ImathQuat.h.

template<class T >
template<class S >
 bool Imath::Quat< T >::operator!= ( const Quat< S > & q ) const` [inline]`

Definition at line 366 of file ImathQuat.h.

template<class T >
 const Quat< T > & Imath::Quat< T >::operator*= ( T t ) ` [inline]`

Definition at line 291 of file ImathQuat.h.

template<class T >
 const Quat< T > & Imath::Quat< T >::operator*= ( const Quat< T > & q ) ` [inline]`

Definition at line 280 of file ImathQuat.h.

template<class T >
 const Quat< T > & Imath::Quat< T >::operator+= ( const Quat< T > & q ) ` [inline]`

Definition at line 320 of file ImathQuat.h.

template<class T >
 const Quat< T > & Imath::Quat< T >::operator-= ( const Quat< T > & q ) ` [inline]`

Definition at line 330 of file ImathQuat.h.

template<class T >
 const Quat< T > & Imath::Quat< T >::operator/= ( T t ) ` [inline]`

Definition at line 310 of file ImathQuat.h.

template<class T >
 const Quat< T > & Imath::Quat< T >::operator/= ( const Quat< T > & q ) ` [inline]`

Definition at line 301 of file ImathQuat.h.

template<class T >
 const Quat< T > & Imath::Quat< T >::operator= ( const Quat< T > & q ) ` [inline]`

Definition at line 270 of file ImathQuat.h.

template<class T >
template<class S >
 bool Imath::Quat< T >::operator== ( const Quat< S > & q ) const` [inline]`

Definition at line 357 of file ImathQuat.h.

template<class T >
 T Imath::Quat< T >::operator[] ( int index ) const` [inline]`

Definition at line 348 of file ImathQuat.h.

template<class T >
 T & Imath::Quat< T >::operator[] ( int index ) ` [inline]`

Definition at line 340 of file ImathQuat.h.

template<class T >
 Vec3< T > Imath::Quat< T >::rotateVector ( const Vec3< T > & original ) const` [inline]`

Definition at line 446 of file ImathQuat.h.

template<class T >
 Quat< T > & Imath::Quat< T >::setAxisAngle ( const Vec3< T > & axis, T radians ) ` [inline]`

Definition at line 692 of file ImathQuat.h.

template<class T >
 Quat< T > & Imath::Quat< T >::setRotation ( const Vec3< T > & fromDirection, const Vec3< T > & toDirection ) ` [inline]`

Definition at line 702 of file ImathQuat.h.

template<class T >
 Matrix33< T > Imath::Quat< T >::toMatrix33 ( ) const` [inline]`

Definition at line 809 of file ImathQuat.h.

template<class T >
 Matrix44< T > Imath::Quat< T >::toMatrix44 ( ) const` [inline]`

Definition at line 826 of file ImathQuat.h.

Member Data Documentation

template<class T>
 T Imath::Quat< T >::r

Definition at line 75 of file ImathQuat.h.

template<class T>
 Vec3 Imath::Quat< T >::v

Definition at line 76 of file ImathQuat.h.

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

Generated on Thu Jan 31 00:34:41 2013 for HDK by  1.5.9