11 #ifndef PXR_BASE_GF_DUALQUATF_H 
   12 #define PXR_BASE_GF_DUALQUATF_H 
   64     explicit GfDualQuatf( 
float realVal ) : _real( realVal ), _dual( 0 ) {}
 
   70         : _real( real ), _dual( 0 ) {
 
   75         : _real( real ), _dual( dual ) {
 
  125     std::pair<float, float> 
GetLength() 
const;
 
  171         return ! (*
this == dq);
 
  201         return (*
this) *= 1.0 / 
s;
 
  266 #endif // PXR_BASE_GF_DUALQUATF_H 
GfDualQuatf(float realVal)
 
static GfDualQuatf GetIdentity()
 
float GfDot(const GfDualQuatf &dq1, const GfDualQuatf &dq2)
Return the dot (inner) product of two dual quaternions. 
 
GF_API GfDualQuatf GetConjugate() const 
Returns the conjugate of this dual quaternion. 
 
static GfQuatf GetIdentity()
 
bool operator!=(const GfDualQuatf &dq) const 
 
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the and then *wait for them to all complete We provide a helper class
 
void SetDual(const GfQuatf &dual)
Sets the dual part of the dual quaternion. 
 
friend size_t hash_value(const GfDualQuatf &dq)
Hash. 
 
GLsizei const GLfloat * value
 
GF_API std::pair< float, float > Normalize(float eps=GF_MIN_VECTOR_LENGTH)
 
static GfDualQuatf GetZero()
 
GF_API GfDualQuatf GetNormalized(float eps=GF_MIN_VECTOR_LENGTH) const 
 
const GfQuatf & GetDual() const 
Returns the dual part of the dual quaternion. 
 
friend GfDualQuatf operator*(const GfDualQuatf &dq1, const GfDualQuatf &dq2)
Returns the product of dual quaternions dq1 and dq2. 
 
GF_API GfVec3f Transform(const GfVec3f &vec) const 
Transforms the row vector vec by the dual quaternion. 
 
GF_API std::pair< float, float > GetLength() const 
Returns geometric length of this dual quaternion. 
 
GfDualQuatf(const GfQuatf &real)
 
SIM_API const UT_StringHolder rotation
 
GfDualQuatf & operator+=(const GfDualQuatf &dq)
Component-wise unary sum operator. 
 
friend GfDualQuatf operator-(const GfDualQuatf &dq1, const GfDualQuatf &dq2)
Component-wise binary difference operator. 
 
static size_t Combine(Args &&...args)
Produce a hash code by combining the hash codes of several objects. 
 
GF_API GfVec3f GetTranslation() const 
Get the translation component of this dual quaternion. 
 
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
 
GF_API void SetTranslation(const GfVec3f &translation)
Set the translation component of this dual quaternion. 
 
GfDualQuatf & operator/=(float s)
Scales this dual quaternion by 1 / s. 
 
GF_API GfDualQuatf GetInverse() const 
Returns the inverse of this dual quaternion. 
 
void SetReal(const GfQuatf &real)
Sets the real part of the dual quaternion. 
 
#define PXR_NAMESPACE_CLOSE_SCOPE
 
bool operator==(const GfDualQuatf &dq) const 
 
GF_API std::ostream & operator<<(std::ostream &out, const GfDualQuatf &dq)
 
const GfQuatf & GetReal() const 
Returns the real part of the dual quaternion. 
 
GF_API GfDualQuatf & operator*=(const GfDualQuatf &dq)
Post-multiplies dual quaternion dq into this dual quaternion. 
 
GfDualQuatf(const GfQuatf &rotation, const GfVec3f &translation)
This constructor initializes from a rotation and a translation components. 
 
GfDualQuatf(const GfQuatf &real, const GfQuatf &dual)
This constructor initializes the real and dual parts. 
 
friend GfDualQuatf operator+(const GfDualQuatf &dq1, const GfDualQuatf &dq2)
Component-wise binary sum operator. 
 
friend GfDualQuatf operator/(const GfDualQuatf &dq, float s)
Returns the product of dual quaternion dq and scalar 1 / s. 
 
GfDualQuatf()
The default constructor leaves the dual quaternion undefined. 
 
GfDualQuatf & operator-=(const GfDualQuatf &dq)
Component-wise unary difference operator. 
 
#define GF_MIN_VECTOR_LENGTH