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

Go to the source code of this file.

Classes

struct  GfIsGfQuat< class GfQuatf >
 
class  GfQuatf
 

Functions

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

Function Documentation

float GfDot ( const GfQuatf q1,
const GfQuatf q2 
)
inline

Return the dot (inner) product of two quaternions.

Definition at line 279 of file quatf.h.

GF_API GfQuatf GfSlerp ( double  alpha,
const GfQuatf q0,
const GfQuatf 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 GfQuatf GfSlerp ( const GfQuatf q0,
const GfQuatf q1,
double  alpha 
)
GF_API std::ostream& operator<< ( std::ostream &  ,
GfQuatf const &   
)

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