7 #ifndef PXR_USD_USD_SKEL_ANIM_QUERY_H
8 #define PXR_USD_USD_SKEL_ANIM_QUERY_H
44 bool IsValid()
const {
return (
bool)_impl; }
75 template <
typename Matrix4>
87 VtVec3fArray* translations,
88 VtQuatfArray* rotations,
94 VtFloatArray* weights,
114 std::vector<double>* times)
const;
140 std::vector<double>* times)
const;
173 UsdSkel_AnimQueryImplRefPtr _impl;
181 #endif // PXR_USD_USD_SKEL_ANIM_QUERY_H
static constexpr UsdTimeCode Default()
friend size_t hash_value(const UsdSkelAnimQuery &query)
USDSKEL_API bool GetJointTransformTimeSamplesInInterval(const GfInterval &interval, std::vector< double > *times) const
GT_API const UT_StringHolder time
USDSKEL_API bool GetJointTransformAttributes(std::vector< UsdAttribute > *attrs) const
Get the attributes contributing to JointTransform computations.
USDSKEL_API VtTokenArray GetJointOrder() const
friend class UsdSkel_CacheImpl
USDSKEL_API bool ComputeJointLocalTransformComponents(VtVec3fArray *translations, VtQuatfArray *rotations, VtVec3hArray *scales, UsdTimeCode time=UsdTimeCode::Default()) const
USDSKEL_API bool GetJointTransformTimeSamples(std::vector< double > *times) const
USDSKEL_API bool ComputeBlendShapeWeights(VtFloatArray *weights, UsdTimeCode time=UsdTimeCode::Default()) const
USDSKEL_API UsdSkelAnimQuery()
bool IsValid() const
Return true if this query is valid.
USDSKEL_API bool BlendShapeWeightsMightBeTimeVarying() const
friend bool operator==(const UsdSkelAnimQuery &lhs, const UsdSkelAnimQuery &rhs)
USDSKEL_API bool GetBlendShapeWeightTimeSamples(std::vector< double > *attrs) const
USDSKEL_API bool JointTransformsMightBeTimeVarying() const
friend bool operator!=(const UsdSkelAnimQuery &lhs, const UsdSkelAnimQuery &rhs)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
TF_DECLARE_REF_PTRS(UsdSkel_AnimQueryImpl)
#define PXR_NAMESPACE_CLOSE_SCOPE
USDSKEL_API std::string GetDescription() const
USDSKEL_API bool ComputeJointLocalTransforms(VtArray< Matrix4 > *xforms, UsdTimeCode time=UsdTimeCode::Default()) const
USDSKEL_API bool GetBlendShapeWeightTimeSamplesInInterval(const GfInterval &interval, std::vector< double > *times) const
USDSKEL_API bool GetBlendShapeWeightAttributes(std::vector< UsdAttribute > *attrs) const
Get the attributes contributing to blendshape weight computations.
USDSKEL_API UsdPrim GetPrim() const
Return the primitive this anim query reads from.
USDSKEL_API VtTokenArray GetBlendShapeOrder() const