HDK
|
Functions | |
template<typename Matrix4 > | |
USDSKEL_API bool | UsdSkelDecomposeTransform (const Matrix4 &xform, GfVec3f *translate, GfRotation *rotate, GfVec3h *scale) |
template<typename Matrix4 > | |
USDSKEL_API bool | UsdSkelDecomposeTransform (const Matrix4 &xform, GfVec3f *translate, GfQuatf *rotate, GfVec3h *scale) |
USDSKEL_API bool | UsdSkelDecomposeTransforms (TfSpan< const GfMatrix4d > xforms, TfSpan< GfVec3f > translations, TfSpan< GfQuatf > rotations, TfSpan< GfVec3h > scales) |
USDSKEL_API bool | UsdSkelDecomposeTransforms (TfSpan< const GfMatrix4f > xforms, TfSpan< GfVec3f > translations, TfSpan< GfQuatf > rotations, TfSpan< GfVec3h > scales) |
USDSKEL_API bool | UsdSkelDecomposeTransforms (const VtMatrix4dArray &xforms, VtVec3fArray *translations, VtQuatfArray *rotations, VtVec3hArray *scales) |
USDSKEL_API bool | UsdSkelDecomposeTransforms (const GfMatrix4d *xforms, GfVec3f *translations, GfQuatf *rotations, GfVec3h *scales, size_t count) |
template<typename Matrix4 > | |
USDSKEL_API void | UsdSkelMakeTransform (const GfVec3f &translate, const GfMatrix3f &rotate, const GfVec3h &scale, Matrix4 *xform) |
template<typename Matrix4 > | |
USDSKEL_API void | UsdSkelMakeTransform (const GfVec3f &translate, const GfQuatf &rotate, const GfVec3h &scale, Matrix4 *xform) |
USDSKEL_API bool | UsdSkelMakeTransforms (TfSpan< const GfVec3f > translations, TfSpan< const GfQuatf > rotations, TfSpan< const GfVec3h > scales, TfSpan< GfMatrix4d > xforms) |
USDSKEL_API bool | UsdSkelMakeTransforms (TfSpan< const GfVec3f > translations, TfSpan< const GfQuatf > rotations, TfSpan< const GfVec3h > scales, TfSpan< GfMatrix4f > xforms) |
USDSKEL_API bool | UsdSkelMakeTransforms (const VtVec3fArray &translations, const VtQuatfArray &rotations, const VtVec3hArray &scales, VtMatrix4dArray *xforms) |
USDSKEL_API bool | UsdSkelMakeTransforms (const GfVec3f *translations, const GfQuatf *rotations, const GfVec3h *scales, GfMatrix4d *xforms, size_t count) |
Utiltiies for converting transforms to and from component (translate, rotate, scale) form.
USDSKEL_API bool UsdSkelDecomposeTransform | ( | const Matrix4 & | xform, |
GfVec3f * | translate, | ||
GfRotation * | rotate, | ||
GfVec3h * | scale | ||
) |
Decompose a transform into translate/rotate/scale components. The transform order for decomposition is scale, rotate, translate.
USDSKEL_API bool UsdSkelDecomposeTransform | ( | const Matrix4 & | xform, |
GfVec3f * | translate, | ||
GfQuatf * | rotate, | ||
GfVec3h * | scale | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
USDSKEL_API bool UsdSkelDecomposeTransforms | ( | TfSpan< const GfMatrix4d > | xforms, |
TfSpan< GfVec3f > | translations, | ||
TfSpan< GfQuatf > | rotations, | ||
TfSpan< GfVec3h > | scales | ||
) |
Decompose an array of transforms into translate/rotate/scale components. All spans must be the same size.
USDSKEL_API bool UsdSkelDecomposeTransforms | ( | TfSpan< const GfMatrix4f > | xforms, |
TfSpan< GfVec3f > | translations, | ||
TfSpan< GfQuatf > | rotations, | ||
TfSpan< GfVec3h > | scales | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
USDSKEL_API bool UsdSkelDecomposeTransforms | ( | const VtMatrix4dArray & | xforms, |
VtVec3fArray * | translations, | ||
VtQuatfArray * | rotations, | ||
VtVec3hArray * | scales | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
USDSKEL_API bool UsdSkelDecomposeTransforms | ( | const GfMatrix4d * | xforms, |
GfVec3f * | translations, | ||
GfQuatf * | rotations, | ||
GfVec3h * | scales, | ||
size_t | count | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
USDSKEL_API void UsdSkelMakeTransform | ( | const GfVec3f & | translate, |
const GfMatrix3f & | rotate, | ||
const GfVec3h & | scale, | ||
Matrix4 * | xform | ||
) |
Create a transform from translate/rotate/scale components. This performs the inverse of UsdSkelDecomposeTransform.
USDSKEL_API void UsdSkelMakeTransform | ( | const GfVec3f & | translate, |
const GfQuatf & | rotate, | ||
const GfVec3h & | scale, | ||
Matrix4 * | xform | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
USDSKEL_API bool UsdSkelMakeTransforms | ( | TfSpan< const GfVec3f > | translations, |
TfSpan< const GfQuatf > | rotations, | ||
TfSpan< const GfVec3h > | scales, | ||
TfSpan< GfMatrix4d > | xforms | ||
) |
Create transforms from arrays of components. All spans must be the same size.
USDSKEL_API bool UsdSkelMakeTransforms | ( | TfSpan< const GfVec3f > | translations, |
TfSpan< const GfQuatf > | rotations, | ||
TfSpan< const GfVec3h > | scales, | ||
TfSpan< GfMatrix4f > | xforms | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
USDSKEL_API bool UsdSkelMakeTransforms | ( | const VtVec3fArray & | translations, |
const VtQuatfArray & | rotations, | ||
const VtVec3hArray & | scales, | ||
VtMatrix4dArray * | xforms | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
USDSKEL_API bool UsdSkelMakeTransforms | ( | const GfVec3f * | translations, |
const GfQuatf * | rotations, | ||
const GfVec3h * | scales, | ||
GfMatrix4d * | xforms, | ||
size_t | count | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.