29void addIOOptions(CLI::App& app, std::shared_ptr<IOOptions> ioOptions);
30void addModelOptions(CLI::App& app, std::shared_ptr<ModelOptions> modelOptions);
36 const std::string& modelFile);
55 const std::string& outFile,
58 Eigen::MatrixXf& finalMotion,
59 std::span<
const std::vector<momentum::Marker>> markerData,
61 bool saveMarkerMesh =
true,
62 std::span<const int64_t> timestamps = {});
std::tuple< momentum::Character, momentum::ModelParameters > loadCalibratedModel(const std::string &modelFile)
void addRefineOptions(CLI::App &app, std::shared_ptr< RefineConfig > config)
void addTrackingOptions(CLI::App &app, std::shared_ptr< TrackingConfig > config)
void addIOOptions(CLI::App &app, std::shared_ptr< IOOptions > ioOptions)
void addCalibrationOptions(CLI::App &app, std::shared_ptr< CalibrationConfig > config)
void saveMotion(const std::string &outFile, const momentum::Character &character, const momentum::ModelParameters &identity, Eigen::MatrixXf &finalMotion, std::span< const std::vector< momentum::Marker > > markerData, const double fps, const bool saveMarkerMesh, std::span< const int64_t > timestamps)
Save the given character and motion to a GLB or FBX file.
ModelParametersT< float > ModelParameters
std::tuple< momentum::Character, momentum::ModelParameters > loadCharacterWithIdentity(const ModelOptions &modelFiles)
void addModelOptions(CLI::App &app, std::shared_ptr< ModelOptions > modelOptions)
A character model with skeletal structure, mesh, and optional components.