HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Quaternion.h File Reference
#include "UT_API.h"
#include "UT_FixedVector.h"
#include "UT_Vector3.h"
#include "UT_Vector4.h"
#include "UT_VectorTypes.h"
#include <SYS/SYS_Inline.h>
#include <SYS/SYS_Math.h>
#include <SYS/SYS_Types.h>
#include <iosfwd>
#include <limits>
#include <stddef.h>
+ Include dependency graph for UT_Quaternion.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UT_QuaternionT< T >
 Quaternion class. More...
 
struct  UT_FixedVectorTraits< UT_QuaternionT< T > >
 

Macros

#define __UT_Quaternion_h__
 

Typedefs

typedef UT_QuaternionT< fpreal32UT_Quaternion
 
typedef UT_QuaternionT< fprealUT_QuaternionR
 
typedef UT_QuaternionT< fpreal16UT_QuaternionH
 
typedef UT_QuaternionT< fpreal32UT_QuaternionF
 
typedef UT_QuaternionT< fpreal64UT_QuaternionD
 

Functions

template<typename T >
UT_QuaternionT< T > SYSlerp (const UT_QuaternionT< T > &q1, const UT_QuaternionT< T > &q2, T t)
 Perform component-wise SYSlerp of two quaternions. More...
 
template<typename T >
UT_API size_t format (char *buf, size_t buf_size, const UT_QuaternionT< T > &q)
 
template<typename T >
UT_QuaternionT< T > operator* (const UT_QuaternionT< T > &q1, const UT_QuaternionT< T > &q2)
 
template<typename T >
UT_QuaternionT< T > operator+ (const UT_QuaternionT< T > &q1, const UT_QuaternionT< T > &q2)
 
template<typename T >
UT_QuaternionT< T > operator- (const UT_QuaternionT< T > &q1, const UT_QuaternionT< T > &q2)
 
template<typename T >
UT_QuaternionT< T > operator- (const UT_QuaternionT< T > &q)
 
template<typename T >
UT_QuaternionT< T > operator* (const UT_QuaternionT< T > &q, T scalar)
 
template<typename T >
UT_QuaternionT< T > operator* (T scalar, const UT_QuaternionT< T > &q)
 
template<typename T >
UT_QuaternionT< T > operator/ (const UT_QuaternionT< T > &a, const UT_QuaternionT< T > &b)
 
template<typename T >
UT_QuaternionT< T > operator/ (const UT_QuaternionT< T > &q, T scalar)
 
template<typename T >
dot (const UT_QuaternionT< T > &q1, const UT_QuaternionT< T > &q2)
 
template<typename T >
size_t hash_value (const UT_QuaternionT< T > &val)
 

Variables

template<typename T >
class UT_API UT_QuaternionT
 

Macro Definition Documentation

#define __UT_Quaternion_h__

Definition at line 20 of file UT_Quaternion.h.

Typedef Documentation

Definition at line 577 of file UT_Quaternion.h.

Definition at line 581 of file UT_Quaternion.h.

Definition at line 580 of file UT_Quaternion.h.

Definition at line 579 of file UT_Quaternion.h.

Definition at line 578 of file UT_Quaternion.h.

Function Documentation

template<typename T >
T dot ( const UT_QuaternionT< T > &  q1,
const UT_QuaternionT< T > &  q2 
)
inline

Definition at line 565 of file UT_Quaternion.h.

template<typename T >
UT_API size_t format ( char *  buf,
size_t  buf_size,
const UT_QuaternionT< T > &  q 
)
template<typename T >
size_t hash_value ( const UT_QuaternionT< T > &  val)
inline

Definition at line 572 of file UT_Quaternion.h.

template<typename T >
UT_QuaternionT<T> operator* ( const UT_QuaternionT< T > &  q1,
const UT_QuaternionT< T > &  q2 
)
inline

Definition at line 395 of file UT_Quaternion.h.

template<typename T >
UT_QuaternionT<T> operator* ( const UT_QuaternionT< T > &  q,
scalar 
)
inline

Definition at line 448 of file UT_Quaternion.h.

template<typename T >
UT_QuaternionT<T> operator* ( scalar,
const UT_QuaternionT< T > &  q 
)
inline

Definition at line 458 of file UT_Quaternion.h.

template<typename T >
UT_QuaternionT<T> operator+ ( const UT_QuaternionT< T > &  q1,
const UT_QuaternionT< T > &  q2 
)
inline

Definition at line 406 of file UT_Quaternion.h.

template<typename T >
UT_QuaternionT<T> operator- ( const UT_QuaternionT< T > &  q1,
const UT_QuaternionT< T > &  q2 
)
inline

Definition at line 428 of file UT_Quaternion.h.

template<typename T >
UT_QuaternionT<T> operator- ( const UT_QuaternionT< T > &  q)
inline

Definition at line 438 of file UT_Quaternion.h.

template<typename T >
UT_QuaternionT<T> operator/ ( const UT_QuaternionT< T > &  a,
const UT_QuaternionT< T > &  b 
)
inline

Definition at line 498 of file UT_Quaternion.h.

template<typename T >
UT_QuaternionT<T> operator/ ( const UT_QuaternionT< T > &  q,
scalar 
)
inline

Definition at line 511 of file UT_Quaternion.h.

template<typename T >
UT_QuaternionT< T > SYSlerp ( const UT_QuaternionT< T > &  q1,
const UT_QuaternionT< T > &  q2,
t 
)
inline

Perform component-wise SYSlerp of two quaternions.

Definition at line 599 of file UT_Quaternion.h.

Variable Documentation

template<typename T >
class UT_API UT_QuaternionT

Definition at line 42 of file UT_Quaternion.h.