45 const filesystem::path& filepath);
52 std::span<const std::byte> bytes);
74 const filesystem::path& filepath,
void saveBvhCharacter(const filesystem::path &filepath, const Character &character)
Saves a character to a BVH file with a single rest-pose frame.
Character loadBvhCharacter(const filesystem::path &filepath)
Loads a character from a BVH (BioVision Hierarchy) file.
std::tuple< std::vector< std::string >, Eigen::MatrixXf > MotionParameters
A tuple of model parameter names and a matrix of poses across a sequence of frames.
void saveBvhCharacterWithMotion(const filesystem::path &filepath, const Character &character, const MotionParameters &motionParams, float fps)
Saves a character with motion data to a BVH file.
std::tuple< Character, MotionParameters, float > loadBvhCharacterWithMotion(const filesystem::path &filepath)
Loads a character with motion data from a BVH (BioVision Hierarchy) file.
A character model with skeletal structure, mesh, and optional components.