3 #include <Core/Animation/HandleWeight.hpp>
13 RA_CORE_API WeightMatrix extractWeightMatrix(
const MeshWeight& weight,
const uint handle_size );
18 RA_CORE_API MeshWeight extractMeshWeight( Eigen::Ref<const WeightMatrix> matrix );
26 RA_CORE_API WeightMatrix partitionOfUnity( Eigen::Ref<const WeightMatrix> weights );
31 RA_CORE_API uint getMaxWeightIndex( Eigen::Ref<const WeightMatrix> weights,
const uint vertexID );
36 RA_CORE_API
void getMaxWeightIndex( Eigen::Ref<const WeightMatrix> weights,
37 std::vector<uint>& handleID );
42 RA_CORE_API
bool checkWeightMatrix( Eigen::Ref<const WeightMatrix> matrix,
43 const bool FAIL_ON_ASSERT =
false,
44 const bool MT =
false );
46 RA_CORE_API
bool checkNoWeightVertex( Eigen::Ref<const WeightMatrix> matrix,
47 const bool FAIL_ON_ASSERT =
false,
48 const bool MT =
false );
54 RA_CORE_API
bool normalizeWeights( Eigen::Ref<WeightMatrix> matrix,
const bool MT =
false );