All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdSkel_SkelDefinition Class Reference

Structure storing the core definition of a Skeleton. More...

+ Inheritance diagram for UsdSkel_SkelDefinition:

Public Member Functions

 operator bool () const
 
const UsdSkelSkeletonGetSkeleton () const
 
const VtTokenArray & GetJointOrder () const
 
const UsdSkelTopologyGetTopology () const
 
template<typename Matrix4 >
bool GetJointLocalRestTransforms (VtArray< Matrix4 > *xforms)
 Returns rest pose joint transforms in joint-local space. More...
 
template<typename Matrix4 >
bool GetJointSkelRestTransforms (VtArray< Matrix4 > *xforms)
 Returns rest pose joint transforms in skel space. More...
 
template<typename Matrix4 >
bool GetJointWorldBindTransforms (VtArray< Matrix4 > *xforms)
 Returns bind pose joint transforms in world space. More...
 
template<typename Matrix4 >
bool GetJointWorldInverseBindTransforms (VtArray< Matrix4 > *xforms)
 Returns the inverse of the world-space joint bind transforms. More...
 
template<typename Matrix4 >
bool GetJointLocalInverseRestTransforms (VtArray< Matrix4 > *xforms)
 Returns the inverse of the local-space rest transforms. More...
 
bool HasBindPose ()
 See UsdSkel_SkeletonQuery::HasBindPose() More...
 
bool HasRestPose ()
 See UsdSkel_SkeletonQuery::HasRestPose() More...
 
- Public Member Functions inherited from TfRefBase
size_t GetCurrentCount () const
 Return the current reference count of this object. More...
 
bool IsUnique () const
 Return true if only one TfRefPtr points to this object. More...
 
const TfRefCountGetRefCount () const
 
void SetShouldInvokeUniqueChangedListener (bool shouldCall)
 
- Public Member Functions inherited from TfWeakBase
 TfWeakBase (const TfWeakBase &)
 
const TfWeakBase__GetTfWeakBase__ () const
 
const TfWeakBaseoperator= (const TfWeakBase &)
 
void EnableNotification2 () const
 
TF_API void const * GetUniqueIdentifier () const
 

Static Public Member Functions

static UsdSkel_SkelDefinitionRefPtr New (const UsdSkelSkeleton &skel)
 Create a definition from a skeleton. More...
 
- Static Public Member Functions inherited from TfRefBase
static TF_API void SetUniqueChangedListener (UniqueChangedListener listener)
 

Additional Inherited Members

- Public Types inherited from TfRefBase
typedef void(* UniqueChangedFuncPtr )(TfRefBase const *, bool)
 
- Protected Member Functions inherited from TfWeakBase
TfRefPtr< Tf_Remnant > _Register () const
 
template<class T >
TfRefPtr< Tf_Remnant > _Register (T *tempRmnt) const
 
bool _HasRemnant () const
 

Detailed Description

Structure storing the core definition of a Skeleton.

A definition is a simple cache of the validated structure of a skeleton, including its topology, bind pose and rest pose. Skeleton definitions are meant to shared across instances.

Definition at line 59 of file skelDefinition.h.

Member Function Documentation

bool GetJointLocalInverseRestTransforms ( VtArray< Matrix4 > *  xforms)

Returns the inverse of the local-space rest transforms.

bool GetJointLocalRestTransforms ( VtArray< Matrix4 > *  xforms)

Returns rest pose joint transforms in joint-local space.

bool GetJointSkelRestTransforms ( VtArray< Matrix4 > *  xforms)

Returns rest pose joint transforms in skel space.

bool GetJointWorldBindTransforms ( VtArray< Matrix4 > *  xforms)

Returns bind pose joint transforms in world space.

bool GetJointWorldInverseBindTransforms ( VtArray< Matrix4 > *  xforms)

Returns the inverse of the world-space joint bind transforms.

bool HasBindPose ( )

See UsdSkel_SkeletonQuery::HasBindPose()

bool HasRestPose ( )

See UsdSkel_SkeletonQuery::HasRestPose()

static UsdSkel_SkelDefinitionRefPtr New ( const UsdSkelSkeleton skel)
static

Create a definition from a skeleton.

Returns an empty pointer if skel or its structure is invalid.


The documentation for this class was generated from the following file: