|
Public Member Functions
|
|
|
DualQuaternion
(void) |
| |
Constructs a dual quaternion which
represents the identical transformation.
|
|
|
DualQuaternion (const
Quaternion
&vReal, const Quaternion &vDual) |
| |
Constructs a dual quaternion from two
quaternions, using one as the real and the other one as the dual
part.
|
|
|
DualQuaternion (const
Vector
&vPivot, const Vector &vAxis, float
fAngle) |
| |
Constructs a dual quaternion which
represents a transformation which is a rotation around a given
point in the space with a given rotation axis and a given vector.
|
|
|
DualQuaternion (float
fAngle, float fPitch, const Vector &vDirection, const
Vector
&vMoment) |
| |
Constructs a dual quaternion which
represents a screw motion.
|
|
|
DualQuaternion (const
Vector
&vTranslation, const Quaternion
&vRotation) |
| |
Construct a dual quaternion which represents
a rotation and a translation.
|
|
|
DualQuaternion (const
Matrix
&mRigid) |
| |
Constructs a dual quaternion from a matrix
which represents a rigid transformation. Matrix::IsRigid().
|
|
Matrix |
ToMatrix (void)
const |
| |
Converts the dual quaternion into a matrix
which represents the same transformation as the quaternion.
|
|
Vector |
Translation (void)
const |
| |
Returns the translation represented by this
dual quaternion.
|
|
Vector |
Transform (const
Vector
&vPoint) const |
| |
Transform a given point by the dual
quaternion.
|
|
DualQuaternion |
operator+ (const
DualQuaternion
&vAddition) const |
| |
Returns the sum of two dual quaternions.
|
|
DualQuaternion
& |
operator+= (const
DualQuaternion
&vAddition) |
| |
Adds a dual quaternion to this dual
quaternion.
|
|
DualQuaternion |
operator- (const
DualQuaternion
&vAddition) const |
| |
Returns the substraction of two dual
quaternions.
|
|
DualQuaternion
& |
operator-= (const
DualQuaternion
&vAddition) |
| |
Substracts a dual quaternion from this dual
quaternion.
|
|
DualQuaternion |
operator * (const
DualQuaternion
&vMultiplier) const |
| |
Returns the multiplication of two dual
quaternions.
|
|
DualQuaternion
& |
operator *= (const
DualQuaternion
&vMultiplier) |
| |
Multiplies a quaternion by another one.
|
|
DualQuaternion |
operator * (float
fMultiplier) const |
| |
Returns the product of the dual quaternion
and a scalar value.
|
|
DualQuaternion
& |
Normalize
(void) |
| |
Normalizes the dual quaternions.
|
|
void |
ToScrew (float
&fAngle, float &fPitch, Vector &vDirection, Vector &vMoment)
const |
| |
Converts the transfomation represented by
the qual quaternion into a screw motion.
|
|
DualQuaternion
& |
Power (float
fExponent) |
| |
Calculates the power of the dual quaternion.
|
|
DualQuaternion |
Slerp (const
DualQuaternion
&vTarget, float fWeight) const |
| |
Calculates the weighted average of two dual
quaternions.
|
|
DualQuaternion
& |
Conjugate
(void) |
| |
Conjugates the dual quaternion using the
quaternion conjugation.
|
|
DualQuaternion
& |
DualConjugate
(void) |
| |
Conjugates the dual quaternion using the
dual conjugation.
|
|
DualQuaternion
& |
DoubleConjugate
(void) |
| |
Conjugates the dual quaternion by both the
quaternion and dual conjugation.
|
|
DualQuaternion
& |
Invert (void) |
| |
Inverts the dual quaternion.
|
|
void |
SetIdentity
(void) |
| |
Sets the dual quaternion to represents the
identical transformaion.
|
|
float |
operator[] (int
iIndex) const |
| |
Returns the stored value inside the dual
quaternion.
|
Public Attributes
|
|
Quaternion |
m_vReal |
| |
Content of the dual quaterion as two regular
quaternions.
|
|
Quaternion |
m_vDual |
| |
Content of the dual quaterion as two regular
quaternions.
|
mudbox::DualQuaternion
mudbox::DualQuaternion mudbox::DualQuaternion
mudbox::DualQuaternion mudbox::DualQuaternion
mudbox::DualQuaternion mudbox::DualQuaternion
mudbox::DualQuaternion mudbox::DualQuaternion
mudbox::DualQuaternion
mudbox::DualQuaternion
mudbox::DualQuaternion mudbox::DualQuaternion
mudbox::DualQuaternion mudbox::DualQuaternion
mudbox::DualQuaternion mudbox::DualQuaternion
mudbox::DualQuaternion mudbox::DualQuaternion
mudbox::DualQuaternion