7 #ifndef __GU_AgentBlendShapeUtils__
8 #define __GU_AgentBlendShapeUtils__
19 namespace GU_AgentBlendShapeUtils
80 return myChannelIndices[i];
107 int fillTargetShapeWeights(
109 std::pair<int32, fpreal32> *target_weights)
const;
117 return myInputStarts[i + 1] - myInputStarts[i];
140 exint myNumTargets = 0;
void GU_API getDeformerParameters(const GU_Detail &base_shape, UT_StringHolder &attribs, UT_StringHolder &ptidattr, UT_StringHolder &primidattr)
A rig for the agent primitive.
void GU_API setDeformerParameters(GU_Detail &base_shape, const UT_StringHolder &attribs, const UT_StringHolder &ptidattr, const UT_StringHolder &primidattr)
void GU_API addInBetweenShapes(GU_Detail &primary_shape_gdp, const UT_StringArray &inbetween_shape_names, const UT_Array< fpreal > &inbetween_weights)
void GU_API clearInBetweenShapes(GU_Detail &base_shape)
Removes the detail attributes added by addInBetweenShapes().
UT_Array< FloatType > FloatArray
GLubyte GLubyte GLubyte GLubyte w
void GU_API clearInputShapes(GU_Detail &base_shape)
void GU_API addInputsToBaseShape(GU_Detail &base_shape, const UT_StringArray &shape_names, const UT_StringArray &channel_names)