22 const std::string& filename,
23 std::span<const VectorXf> poses,
36 const std::string& filename,
41 std::span<const std::string> additionalParameterNames = std::vector<std::string>());
51 const std::string& filename,
54 std::span<const std::string> parameterNames,
55 std::span<const std::string> jointNames);
61std::tuple<MatrixXf, VectorXf, std::vector<std::string>, std::vector<std::string>>
loadMmo(
62 const std::string& filename);
69std::tuple<MatrixXf, VectorXf>
loadMmo(
const std::string& filename,
const Character& character);
80 std::span<const std::string> parameterNames);
93 std::span<const std::string> parameterNames,
94 std::span<const std::string> jointNames,
std::tuple< MatrixXf, VectorXf > loadMmo(const std::string &filename, const Character &character)
Load motion data and map to character parameter space.
std::tuple< MatrixXf, std::vector< std::string > > getAuxiliaryDataFromMotion(const MatrixXf &poses, std::span< const std::string > parameterNames)
Extract auxiliary data from motion parameters.
void saveMmo(const std::string &filename, std::span< const VectorXf > poses, const VectorXf &scale, const Character &character)
Save motion data using character parameter mapping.
MatrixXf mapMotionToCharacter(const MotionParameters &inputMotion, const Character &targetCharacter)
Maps the input ModelParameter motion to a target character by matching model parameter names.
VectorX< float > VectorXf
MatrixX< float > MatrixXf
A character model with skeletal structure, mesh, and optional components.