3#include <Core/Animation/HandleWeight.hpp>
13RA_CORE_API WeightMatrix extractWeightMatrix(
const MeshWeight& weight,
const uint handle_size );
18RA_CORE_API MeshWeight extractMeshWeight( Eigen::Ref<const WeightMatrix> matrix );
26RA_CORE_API WeightMatrix partitionOfUnity( Eigen::Ref<const WeightMatrix> weights );
31RA_CORE_API uint getMaxWeightIndex( Eigen::Ref<const WeightMatrix> weights,
const uint vertexID );
36RA_CORE_API
void getMaxWeightIndex( Eigen::Ref<const WeightMatrix> weights,
42RA_CORE_API
bool checkWeightMatrix( Eigen::Ref<const WeightMatrix> matrix,
43 const bool FAIL_ON_ASSERT =
false,
44 const bool MT =
false );
46RA_CORE_API
bool checkNoWeightVertex( Eigen::Ref<const WeightMatrix> matrix,
47 const bool FAIL_ON_ASSERT =
false,
48 const bool MT =
false );
54RA_CORE_API
bool normalizeWeights( Eigen::Ref<WeightMatrix> matrix,
const bool MT =
false );
hepler function to manage enum as underlying types in VariableSet