|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
#include <momentum/character/types.h>#include <momentum/marker_tracking/app_utils.h>#include <momentum/marker_tracking/marker_tracker.h>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | momentum |
Functions | |
| void | momentum::calibrateMarkers (momentum::Character &character, momentum::ModelParameters &identity, std::span< const std::vector< momentum::Marker > > markerData, const CalibrationConfig &calibrationConfig, size_t firstFrame=0, size_t maxFrames=0, std::span< const GloveFrameData > leftGloveData={}, std::span< const GloveFrameData > rightGloveData={}, const std::optional< GloveConfig > &gloveConfig=std::nullopt, std::span< const CameraKeypointData > cameraKeypointData={}, std::vector< size_t > *selectedFrameIndices=nullptr, Eigen::MatrixXf *selectedFrameMotion=nullptr) |
| Calibrates a character model using marker data without running full tracking. | |
| Eigen::MatrixXf | momentum::processMarkers (momentum::Character &character, momentum::ModelParameters &identity, const std::vector< std::vector< momentum::Marker > > &markerData, const TrackingConfig &trackingConfig, const CalibrationConfig &calibrationConfig, bool calibrate=true, size_t firstFrame=0, size_t maxFrames=0, std::span< const GloveFrameData > leftGloveData={}, std::span< const GloveFrameData > rightGloveData={}, const std::optional< GloveConfig > &gloveConfig=std::nullopt, std::span< const CameraKeypointData > cameraKeypointData={}) |
| Processes marker data for a character model. | |
| void | momentum::processMarkerFile (const std::string &inputMarkerFile, const std::string &outputFile, const TrackingConfig &trackingConfig, const CalibrationConfig &calibrationConfig, const ModelOptions &modelOptions, bool calibrate, size_t firstFrame=0, size_t maxFrames=0) |
| Runs marker tracking on an input marker file (e.g. | |