7#ifndef PXR_USD_IMAGING_USD_SKEL_IMAGING_UTILS_H
8#define PXR_USD_IMAGING_USD_SKEL_IMAGING_UTILS_H
16#include "pxr/usdImaging/usdSkelImaging/api.h"
21PXR_NAMESPACE_OPEN_SCOPE
50 const VtMatrix4dArray& jointSkelXforms,
52 VtVec3fArray* points);
59 GfVec3f* points,
size_t numPoints);
70 VtIntArray* jointIndices,
78 int* jointIndices,
size_t numPoints);
93PXR_NAMESPACE_CLOSE_SCOPE
Stores a 4x4 matrix of double elements.
Basic type for a vector of 3 float components.
Topology data for meshes.
Object holding information describing skeleton topology.
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 UsdSkelImagingComputeBoneTopology(const UsdSkelTopology &skelTopology, HdMeshTopology *meshTopology, size_t *numPoints)
Compute mesh topology for imaging skelTopology.
USDSKELIMAGING_API void UsdSkelImagingComputePointsForSingleBone(const GfMatrix4d &xform, const GfMatrix4d &parentXform, GfVec3f *points)
Compute mesh points for imaging a single bone of a skeleton.
USDSKELIMAGING_API bool UsdSkelImagingComputeBoneJointIndices(const UsdSkelTopology &topology, VtIntArray *jointIndices, size_t numPoints)
Compute joint indices corresponding to each point in a bone mesh.