|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
#include "momentum/io/motion/mmo_io.h"#include "momentum/character/character.h"#include "momentum/common/log.h"#include <fstream>#include <limits>Go to the source code of this file.
Namespaces | |
| namespace | momentum |
Functions | |
| void | momentum::saveMmo (const std::string &filename, std::span< const VectorXf > poses, const VectorXf &scale, const Character &character) |
| Save motion data using character parameter mapping. | |
| void | momentum::saveMmo (const std::string &filename, const MatrixXf &poses, const VectorXf &scale, const Character &character, const MatrixXf &additionalParameters=MatrixXf(), std::span< const std::string > additionalParameterNames=std::vector< std::string >()) |
| Save motion data with optional additional parameters. | |
| void | momentum::saveMmo (const std::string &filename, const MatrixXf &poses, const VectorXf &scale, std::span< const std::string > parameterNames, std::span< const std::string > jointNames) |
| Save motion data with explicit parameter and joint names. | |
| std::tuple< MatrixXf, VectorXf > | momentum::mapMotionToCharacter (const MatrixXf &poses, const VectorXf &offsets, std::span< const std::string > parameterNames, std::span< const std::string > jointNames, const Character &character) |
| Map motion data from one parameter space to character parameter space. | |
| std::tuple< MatrixXf, VectorXf > | momentum::loadMmo (const std::string &filename, const Character &character) |
| Load motion data and map to character parameter space. | |
| std::tuple< MatrixXf, std::vector< std::string > > | momentum::getAuxiliaryDataFromMotion (const MatrixXf &poses, std::span< const std::string > parameterNames) |
| Extract auxiliary data from motion parameters. | |
| std::tuple< MatrixXf, VectorXf, std::vector< std::string >, std::vector< std::string > > | momentum::loadMmo (const std::string &filename) |
| Load motion data from file. | |