7#ifndef PXR_USD_IMAGING_USD_SKEL_IMAGING_BLEND_SHAPE_DATA_H
8#define PXR_USD_IMAGING_USD_SKEL_IMAGING_BLEND_SHAPE_DATA_H
10#include "pxr/usdImaging/usdSkelImaging/api.h"
12#include "pxr/usd/sdf/path.h"
20PXR_NAMESPACE_OPEN_SCOPE
53using UsdSkelImagingWeightsAndSubShapeIndices =
54 std::vector<UsdSkelImagingWeightAndSubShapeIndex>;
81 std::map<TfToken, UsdSkelImagingWeightsAndSubShapeIndices>
88UsdSkelImagingComputeBlendShapeData(
89 HdSceneIndexBaseRefPtr
const &sceneIndex,
98UsdSkelImagingComputeBlendShapeWeights(
105PXR_NAMESPACE_CLOSE_SCOPE
Abstract interface to scene data.
A path value used to locate objects in layers or scenegraphs.
Represents an arbitrary dimensional rectangular container class.
Standard pointer typedefs.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Data for skinned prim to compute the skel ext computation inputs related to blend shapes.
SdfPath primPath
Path of deformable prim. Used only for warnings/error messages.
VtArray< GfVec4f > blendShapeOffsets
List of (offset, subShapeIndex)
std::map< TfToken, UsdSkelImagingWeightsAndSubShapeIndices > blendShapeNameToWeightsAndSubShapeIndices
For each blend shape name in SkelBindingAPI.skel:blendShapes, a list of (weight, subShapeIndex).
VtArray< GfVec2i > blendShapeOffsetRanges
For each point, pair of indices into blendShapeOffsets.
Data to determine sub shape contributions.
int subShapeIndex
Index to sub shape. -1 if this pair does not correspond to a sub shape.
float weight
Weight authored for BlendShape.inbetweens:BETWEEN_NAME.