Loading...
Searching...
No Matches
utils.h File Reference

Collection of utility methods for imaging skels. More...

+ Include dependency graph for utils.h:

Go to the source code of this file.

Functions

USDSKELIMAGING_API bool UsdSkelImagingComputeBoneTopology (const UsdSkelTopology &skelTopology, HdMeshTopology *meshTopology, size_t *numPoints)
 Compute mesh topology for imaging skelTopology.
 
USDSKELIMAGING_API bool UsdSkelImagingComputeBonePoints (const UsdSkelTopology &topology, const VtMatrix4dArray &jointSkelXforms, size_t numPoints, VtVec3fArray *points)
 Compute mesh points for imaging a skeleton, given the topology of the skeleton and skelXforms.
 
USDSKELIMAGING_API bool UsdSkelImagingComputeBonePoints (const UsdSkelTopology &topology, const GfMatrix4d *jointSkelXforms, GfVec3f *points, size_t numPoints)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
USDSKELIMAGING_API bool UsdSkelImagingComputeBoneJointIndices (const UsdSkelTopology &topology, VtIntArray *jointIndices, size_t numPoints)
 Compute joint indices corresponding to each point in a bone mesh.
 
USDSKELIMAGING_API bool UsdSkelImagingComputeBoneJointIndices (const UsdSkelTopology &topology, int *jointIndices, size_t numPoints)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
USDSKELIMAGING_API void UsdSkelImagingComputePointsForSingleBone (const GfMatrix4d &xform, const GfMatrix4d &parentXform, GfVec3f *points)
 Compute mesh points for imaging a single bone of a skeleton.
 

Detailed Description

Collection of utility methods for imaging skels.

Definition in file utils.h.