HDK
|
Classes | |
class | InputCache |
Typedefs | |
using | FloatType = fpreal32 |
using | FloatArray = UT_Array< FloatType > |
Functions | |
void GU_API | addInBetweenShapes (GU_Detail &primary_shape_gdp, const UT_StringArray &inbetween_shape_names, const UT_Array< fpreal > &inbetween_weights) |
void GU_API | addInputsToBaseShape (GU_Detail &base_shape, const UT_StringArray &shape_names, const UT_StringArray &channel_names) |
void GU_API | setDeformerParameters (GU_Detail &base_shape, const UT_StringHolder &attribs, const UT_StringHolder &ptidattr, const UT_StringHolder &primidattr) |
void GU_API | getDeformerParameters (const GU_Detail &base_shape, UT_StringHolder &attribs, UT_StringHolder &ptidattr, UT_StringHolder &primidattr) |
void GU_API | clearInputShapes (GU_Detail &base_shape) |
void GU_API | clearInBetweenShapes (GU_Detail &base_shape) |
Removes the detail attributes added by addInBetweenShapes(). More... | |
using GU_AgentBlendShapeUtils::FloatArray = typedef UT_Array<FloatType> |
Definition at line 61 of file GU_AgentBlendShapeUtils.h.
using GU_AgentBlendShapeUtils::FloatType = typedef fpreal32 |
Definition at line 60 of file GU_AgentBlendShapeUtils.h.
void GU_API GU_AgentBlendShapeUtils::addInBetweenShapes | ( | GU_Detail & | primary_shape_gdp, |
const UT_StringArray & | inbetween_shape_names, | ||
const UT_Array< fpreal > & | inbetween_weights | ||
) |
Adds in-between shapes to a blendshape input (the primary shape). This sets up the required detail attributes ("blendshape_shapenames" and "blendshape_inbetweenweights") on the primary shape's geometry. The shapes should be separately added to the shape library.
void GU_API GU_AgentBlendShapeUtils::addInputsToBaseShape | ( | GU_Detail & | base_shape, |
const UT_StringArray & | shape_names, | ||
const UT_StringArray & | channel_names | ||
) |
Adds blendshape inputs to a shape. This sets up the required detail attributes ("blendshape_shapenames" and "blendshape_channels") on the base shape's geometry. The shapes should be separately added to the shape library.
Removes the detail attributes added by addInBetweenShapes().
Removes the detail attributes added by addInputsToBaseShape() and setDeformerParameters().
void GU_API GU_AgentBlendShapeUtils::getDeformerParameters | ( | const GU_Detail & | base_shape, |
UT_StringHolder & | attribs, | ||
UT_StringHolder & | ptidattr, | ||
UT_StringHolder & | primidattr | ||
) |
Reads the detail attributes for the blendshape deformer's optional parameters. If not specified, attribs is set to "P", ptidattr is set to "id", and primidattr is set to "".
void GU_API GU_AgentBlendShapeUtils::setDeformerParameters | ( | GU_Detail & | base_shape, |
const UT_StringHolder & | attribs, | ||
const UT_StringHolder & | ptidattr, | ||
const UT_StringHolder & | primidattr | ||
) |
Adds detail attributes to the base shape ("blendshape_ptidattr", "blendshape_primidattr") for the blendshape deformer's optional parameters.