7 #ifndef PXR_USD_USD_SKEL_SKELETON_QUERY_H
8 #define PXR_USD_USD_SKEL_SKELETON_QUERY_H
59 bool IsValid()
const {
return _definition; }
68 return lhs._definition == rhs._definition &&
69 lhs._animQuery == rhs._animQuery;
131 template <
typename Matrix4>
135 bool atRest=
false)
const;
142 template <
typename Matrix4>
146 bool atRest=
false)
const;
154 template <
typename Matrix4>
166 template <
typename Matrix4>
170 bool atRest=
false)
const;
181 template <
typename Matrix4>
187 template <
typename Matrix4>
200 bool _HasMappableAnim()
const;
202 template <
typename Matrix4>
205 bool atRest=
false)
const;
207 template <
typename Matrix4>
210 bool atRest=
false)
const;
212 template <
typename Matrix4>
217 UsdSkel_SkelDefinitionRefPtr _definition;
227 #endif // PXR_USD_USD_SKEL_SKELETON_QUERY_H
GT_API const UT_StringHolder time
USDSKEL_API bool HasBindPose() const
USDSKEL_API bool ComputeSkinningTransforms(VtArray< Matrix4 > *xforms, UsdTimeCode time) const
USDSKEL_API const UsdSkelSkeleton & GetSkeleton() const
Returns the bound skeleton instance, if any.
USDSKEL_API bool ComputeJointRestRelativeTransforms(VtArray< Matrix4 > *xforms, UsdTimeCode time) const
friend bool operator==(const UsdSkelSkeletonQuery &lhs, const UsdSkelSkeletonQuery &rhs)
USDSKEL_API bool HasRestPose() const
friend class UsdSkel_CacheImpl
USDSKEL_API VtTokenArray GetJointOrder() const
TF_DECLARE_REF_PTRS(UsdSkel_SkelDefinition)
USDSKEL_API bool GetJointWorldBindTransforms(VtArray< Matrix4 > *xforms) const
Returns the world space joint transforms at bind time.
USDSKEL_API const UsdSkelTopology & GetTopology() const
Returns the topology of the bound skeleton instance, if any.
USDSKEL_API UsdPrim GetPrim() const
USDSKEL_API bool ComputeJointLocalTransforms(VtArray< Matrix4 > *xforms, UsdTimeCode time, bool atRest=false) const
bool IsValid() const
Return true if this query is valid.
USDSKEL_API bool ComputeJointSkelTransforms(VtArray< Matrix4 > *xforms, UsdTimeCode time, bool atRest=false) const
USDSKEL_API bool ComputeJointWorldTransforms(VtArray< Matrix4 > *xforms, UsdGeomXformCache *xfCache, bool atRest=false) const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
USDSKEL_API friend size_t hash_value(const UsdSkelSkeletonQuery &query)
USDSKEL_API const UsdSkelAnimQuery & GetAnimQuery() const
friend bool operator!=(const UsdSkelSkeletonQuery &lhs, const UsdSkelSkeletonQuery &rhs)
USDSKEL_API std::string GetDescription() const
USDSKEL_API const UsdSkelAnimMapper & GetMapper() const