Public Member Functions | Public Attributes
OVR::Quat< T > Class Template Reference

#include <OVR_Math.h>

List of all members.

Public Member Functions

void AxisAngle (Axis A, T angle, RotateDirection d, HandedSystem s)
Quat Conj () const
Distance (const Quat &q) const
DistanceSq (const Quat &q) const
void GetAxisAngle (Vector3< T > *axis, T *angle) const
template<Axis A1, Axis A2, Axis A3, RotateDirection D, HandedSystem S>
void GetEulerAngles (T *a, T *b, T *c)
template<Axis A1, Axis A2, Axis A3, RotateDirection D>
void GetEulerAngles (T *a, T *b, T *c)
template<Axis A1, Axis A2, Axis A3>
void GetEulerAngles (T *a, T *b, T *c)
template<Axis A1, Axis A2, RotateDirection D, HandedSystem S>
void GetEulerAnglesABA (T *a, T *b, T *c)
Vector3< T > Imag () const
void Invert () const
Quat Inverted () const
bool IsNormalized () const
Length () const
LengthSq () const
void Normalize ()
Quat Normalized () const
 operator Matrix4f () const
bool operator!= (const Quat &b) const
Quat operator* (T s) const
Quat operator* (const Quat &b) const
Quatoperator*= (T s)
Quat operator+ (const Quat &b) const
Quatoperator+= (const Quat &b)
Quat operator- (const Quat &b) const
Quatoperator-= (const Quat &b)
Quat operator/ (T s) const
Quatoperator/= (T s)
bool operator== (const Quat &b) const
Quat PowNormalized (T p) const
 Quat ()
 Quat (T x_, T y_, T z_, T w_)
 Quat (const Vector3< T > &axis, T angle)
Vector3< T > Rotate (const Vector3< T > &v) const

Public Attributes

w
x
y
z

Detailed Description

template<class T>
class OVR::Quat< T >

Definition at line 756 of file OVR_Math.h.


Constructor & Destructor Documentation

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

Definition at line 762 of file OVR_Math.h.

template<class T>
OVR::Quat< T >::Quat ( x_,
y_,
z_,
w_ 
) [inline]

Definition at line 763 of file OVR_Math.h.

template<class T>
OVR::Quat< T >::Quat ( const Vector3< T > &  axis,
angle 
) [inline]

Definition at line 767 of file OVR_Math.h.


Member Function Documentation

template<class T>
void OVR::Quat< T >::AxisAngle ( Axis  A,
angle,
RotateDirection  d,
HandedSystem  s 
) [inline]

Definition at line 779 of file OVR_Math.h.

template<class T>
Quat OVR::Quat< T >::Conj ( ) const [inline]

Definition at line 847 of file OVR_Math.h.

template<class T>
T OVR::Quat< T >::Distance ( const Quat< T > &  q) const [inline]

Definition at line 828 of file OVR_Math.h.

template<class T>
T OVR::Quat< T >::DistanceSq ( const Quat< T > &  q) const [inline]

Definition at line 834 of file OVR_Math.h.

template<class T>
void OVR::Quat< T >::GetAxisAngle ( Vector3< T > *  axis,
T *  angle 
) const [inline]

Definition at line 793 of file OVR_Math.h.

template<class T>
template<Axis A1, Axis A2, Axis A3, RotateDirection D, HandedSystem S>
void OVR::Quat< T >::GetEulerAngles ( T *  a,
T *  b,
T *  c 
) [inline]

Definition at line 910 of file OVR_Math.h.

template<class T>
template<Axis A1, Axis A2, Axis A3, RotateDirection D>
void OVR::Quat< T >::GetEulerAngles ( T *  a,
T *  b,
T *  c 
) [inline]

Definition at line 954 of file OVR_Math.h.

template<class T>
template<Axis A1, Axis A2, Axis A3>
void OVR::Quat< T >::GetEulerAngles ( T *  a,
T *  b,
T *  c 
) [inline]

Definition at line 958 of file OVR_Math.h.

template<class T>
template<Axis A1, Axis A2, RotateDirection D, HandedSystem S>
void OVR::Quat< T >::GetEulerAnglesABA ( T *  a,
T *  b,
T *  c 
) [inline]

Definition at line 971 of file OVR_Math.h.

template<class T>
Vector3<T> OVR::Quat< T >::Imag ( ) const [inline]

Definition at line 821 of file OVR_Math.h.

template<class T>
void OVR::Quat< T >::Invert ( ) const [inline]

Definition at line 882 of file OVR_Math.h.

template<class T>
Quat OVR::Quat< T >::Inverted ( ) const [inline]

Definition at line 876 of file OVR_Math.h.

template<class T>
bool OVR::Quat< T >::IsNormalized ( ) const [inline]

Definition at line 842 of file OVR_Math.h.

template<class T>
T OVR::Quat< T >::Length ( ) const [inline]

Definition at line 824 of file OVR_Math.h.

template<class T>
T OVR::Quat< T >::LengthSq ( ) const [inline]

Definition at line 826 of file OVR_Math.h.

template<class T>
void OVR::Quat< T >::Normalize ( ) [inline]

Definition at line 843 of file OVR_Math.h.

template<class T>
Quat OVR::Quat< T >::Normalized ( ) const [inline]

Definition at line 844 of file OVR_Math.h.

template<class T>
OVR::Quat< T >::operator Matrix4f ( ) const [inline]

Definition at line 888 of file OVR_Math.h.

template<class T>
bool OVR::Quat< T >::operator!= ( const Quat< T > &  b) const [inline]

Definition at line 808 of file OVR_Math.h.

template<class T>
Quat OVR::Quat< T >::operator* ( s) const [inline]

Definition at line 815 of file OVR_Math.h.

template<class T>
Quat OVR::Quat< T >::operator* ( const Quat< T > &  b) const [inline]

Definition at line 852 of file OVR_Math.h.

template<class T>
Quat& OVR::Quat< T >::operator*= ( s) [inline]

Definition at line 816 of file OVR_Math.h.

template<class T>
Quat OVR::Quat< T >::operator+ ( const Quat< T > &  b) const [inline]

Definition at line 810 of file OVR_Math.h.

template<class T>
Quat& OVR::Quat< T >::operator+= ( const Quat< T > &  b) [inline]

Definition at line 811 of file OVR_Math.h.

template<class T>
Quat OVR::Quat< T >::operator- ( const Quat< T > &  b) const [inline]

Definition at line 812 of file OVR_Math.h.

template<class T>
Quat& OVR::Quat< T >::operator-= ( const Quat< T > &  b) [inline]

Definition at line 813 of file OVR_Math.h.

template<class T>
Quat OVR::Quat< T >::operator/ ( s) const [inline]

Definition at line 817 of file OVR_Math.h.

template<class T>
Quat& OVR::Quat< T >::operator/= ( s) [inline]

Definition at line 818 of file OVR_Math.h.

template<class T>
bool OVR::Quat< T >::operator== ( const Quat< T > &  b) const [inline]

Definition at line 807 of file OVR_Math.h.

template<class T>
Quat OVR::Quat< T >::PowNormalized ( p) const [inline]

Definition at line 859 of file OVR_Math.h.

template<class T>
Vector3<T> OVR::Quat< T >::Rotate ( const Vector3< T > &  v) const [inline]

Definition at line 869 of file OVR_Math.h.


Member Data Documentation

template<class T>
T OVR::Quat< T >::w

Definition at line 760 of file OVR_Math.h.

template<class T>
T OVR::Quat< T >::x

Definition at line 760 of file OVR_Math.h.

template<class T>
T OVR::Quat< T >::y

Definition at line 760 of file OVR_Math.h.

template<class T>
T OVR::Quat< T >::z

Definition at line 760 of file OVR_Math.h.


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


oculus_sdk
Author(s): Tully Foote
autogenerated on Thu Jun 6 2019 20:13:49