24#ifndef PXR_USD_IMAGING_USD_SKEL_IMAGING_UTILS_H
25#define PXR_USD_IMAGING_USD_SKEL_IMAGING_UTILS_H
33#include "pxr/usdImaging/usdSkelImaging/api.h"
38PXR_NAMESPACE_OPEN_SCOPE
67 const VtMatrix4dArray& jointSkelXforms,
69 VtVec3fArray* points);
76 GfVec3f* points,
size_t numPoints);
87 VtIntArray* jointIndices,
95 int* jointIndices,
size_t numPoints);
100PXR_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 bool UsdSkelImagingComputeBoneJointIndices(const UsdSkelTopology &topology, VtIntArray *jointIndices, size_t numPoints)
Compute joint indices corresponding to each point in a bone mesh.