PBRT
Imath::Quat< T > Class Template Reference

List of all members.

Public Member Functions

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 ()

Public Attributes

r
Vec3< T > v

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


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