24 #ifndef PXR_USD_USD_SKEL_SKELETON_QUERY_H
25 #define PXR_USD_USD_SKEL_SKELETON_QUERY_H
76 bool IsValid()
const {
return _definition; }
79 explicit operator bool()
const {
return IsValid(); }
85 return lhs._definition == rhs._definition &&
86 lhs._animQuery == rhs._animQuery;
148 template <
typename Matrix4>
152 bool atRest=
false)
const;
159 template <
typename Matrix4>
163 bool atRest=
false)
const;
171 template <
typename Matrix4>
183 template <
typename Matrix4>
187 bool atRest=
false)
const;
198 template <
typename Matrix4>
204 template <
typename Matrix4>
217 bool _HasMappableAnim()
const;
219 template <
typename Matrix4>
222 bool atRest=
false)
const;
224 template <
typename Matrix4>
227 bool atRest=
false)
const;
229 template <
typename Matrix4>
234 UsdSkel_SkelDefinitionRefPtr _definition;
244 #endif // PXR_USD_USD_SKEL_SKELETON_QUERY_H
GT_API const UT_StringHolder time
GLsizei const GLchar *const * string
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