24 #ifndef PXR_USD_USD_SKEL_ANIM_QUERY_H
25 #define PXR_USD_USD_SKEL_ANIM_QUERY_H
61 bool IsValid()
const {
return (
bool)_impl; }
64 explicit operator bool()
const {
return IsValid(); }
92 template <
typename Matrix4>
104 VtVec3fArray* translations,
105 VtQuatfArray* rotations,
106 VtVec3hArray* scales,
111 VtFloatArray* weights,
131 std::vector<double>* times)
const;
157 std::vector<double>* times)
const;
190 UsdSkel_AnimQueryImplRefPtr _impl;
198 #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
GLsizei const GLchar *const * string
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