HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
quath.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/gf/api.h"
#include "pxr/base/gf/declare.h"
#include "pxr/base/gf/vec3h.h"
#include "pxr/base/gf/traits.h"
#include "pxr/base/gf/half.h"
#include <hboost/functional/hash.hpp>
#include <iosfwd>
+ Include dependency graph for quath.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GfIsGfQuat< class GfQuath >
 
class  GfQuath
 

Functions

GfHalf GfDot (const GfQuath &q1, const GfQuath &q2)
 Return the dot (inner) product of two quaternions. More...
 
GF_API GfQuath GfSlerp (double alpha, const GfQuath &q0, const GfQuath &q1)
 
GF_API GfQuath GfSlerp (const GfQuath &q0, const GfQuath &q1, double alpha)
 
GF_API std::ostream & operator<< (std::ostream &, GfQuath const &)
 

Function Documentation

GfHalf GfDot ( const GfQuath q1,
const GfQuath q2 
)
inline

Return the dot (inner) product of two quaternions.

Definition at line 269 of file quath.h.

GF_API GfQuath GfSlerp ( double  alpha,
const GfQuath q0,
const GfQuath q1 
)

Spherically linearly interpolate between q0 and q1.

If the interpolant alpha is zero, then the result is q0, while alpha of one yields q1.

GF_API GfQuath GfSlerp ( const GfQuath q0,
const GfQuath q1,
double  alpha 
)
GF_API std::ostream& operator<< ( std::ostream &  ,
GfQuath const  
)

Output a GfQuatd using the format (re, i, j, k)