Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
blend_shape_skinning.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  momentum

Functions

template<typename T>
BlendWeightsT< T > momentum::extractBlendWeights (const ParameterTransform &paramTransform, const ModelParametersT< T > &modelParams)
 Extracts blend shape weights from model parameters.
template<typename T>
BlendWeightsT< T > momentum::extractFaceExpressionBlendWeights (const ParameterTransform &paramTransform, const ModelParametersT< T > &modelParams)
 Extracts facial expression blend shape weights from model parameters.
template<typename T>
void momentum::skinWithBlendShapes (const Character &character, const SkeletonStateT< T > &state, const ModelParametersT< T > &modelParams, MeshT< T > &outputMesh)
 Applies blend shape deformations and skeletal transformations to a mesh.
template<typename T>
void momentum::skinWithBlendShapes (const Character &character, const SkeletonStateT< T > &state, const BlendWeightsT< T > &blendWeights, MeshT< T > &outputMesh)
 Applies blend shape deformations and skeletal transformations to a mesh.
template void momentum::skinWithBlendShapes (const Character &character, const SkeletonStateT< float > &state, const BlendWeightsT< float > &modelParams, MeshT< float > &outputMesh)
template void momentum::skinWithBlendShapes (const Character &character, const SkeletonStateT< double > &state, const BlendWeightsT< double > &modelParams, MeshT< double > &outputMesh)
template void momentum::skinWithBlendShapes (const Character &character, const SkeletonStateT< float > &state, const ModelParametersT< float > &modelParams, MeshT< float > &outputMesh)
template void momentum::skinWithBlendShapes (const Character &character, const SkeletonStateT< double > &state, const ModelParametersT< double > &modelParams, MeshT< double > &outputMesh)
template BlendWeightsT< float > momentum::extractBlendWeights< float > (const ParameterTransform &paramTransform, const ModelParametersT< float > &modelParams)
template BlendWeightsT< double > momentum::extractBlendWeights< double > (const ParameterTransform &paramTransform, const ModelParametersT< double > &modelParams)
template BlendWeightsT< float > momentum::extractFaceExpressionBlendWeights< float > (const ParameterTransform &paramTransform, const ModelParametersT< float > &modelParams)
template BlendWeightsT< double > momentum::extractFaceExpressionBlendWeights< double > (const ParameterTransform &paramTransform, const ModelParametersT< double > &modelParams)