Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
app_utils.h File Reference

Go to the source code of this file.

Classes

struct  momentum::IOOptions
struct  momentum::ModelOptions

Namespaces

namespace  momentum

Functions

void momentum::addIOOptions (CLI::App &app, std::shared_ptr< IOOptions > ioOptions)
void momentum::addModelOptions (CLI::App &app, std::shared_ptr< ModelOptions > modelOptions)
void momentum::addCalibrationOptions (CLI::App &app, std::shared_ptr< CalibrationConfig > config)
void momentum::addTrackingOptions (CLI::App &app, std::shared_ptr< TrackingConfig > config)
void momentum::addRefineOptions (CLI::App &app, std::shared_ptr< RefineConfig > config)
std::tuple< momentum::Character, momentum::ModelParameters > momentum::loadCalibratedModel (const std::string &modelFile)
std::tuple< momentum::Character, momentum::ModelParameters > momentum::loadCharacterWithIdentity (const ModelOptions &modelFiles)
void momentum::saveMotion (const std::string &outFile, const momentum::Character &character, const momentum::ModelParameters &identity, Eigen::MatrixXf &finalMotion, std::span< const std::vector< momentum::Marker > > markerData, double fps, bool saveMarkerMesh=true, std::span< const int64_t > timestamps={})
 Save the given character and motion to a GLB or FBX file.