|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
#include <momentum/character/fwd.h>#include <momentum/character/joint.h>#include <momentum/character/parameter_limits.h>#include <momentum/character/parameter_transform.h>#include <nlohmann/json.hpp>#include <Eigen/Core>#include <optional>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | momentum |
Functions | |
| template<typename Derived> | |
| void | momentum::toJson (const Eigen::MatrixBase< Derived > &mat, nlohmann::json &j) |
| template<typename T> | |
| T | momentum::fromJson (const nlohmann::json &j) |
| void | momentum::parameterLimitsToJson (const Character &character, nlohmann::json &j) |
| void | momentum::parameterSetsToJson (const Character &character, nlohmann::json &j) |
| void | momentum::poseConstraintsToJson (const Character &character, nlohmann::json &j) |
| void | momentum::parameterTransformToJson (const Character &character, nlohmann::json &j) |
| void | momentum::jointPhysicalPropertiesToJson (const JointPhysicalProperties &jointProperties, nlohmann::json &j) |
| Serializes one joint's physical mass properties. | |
| std::string | momentum::jointPhysicalPropertiesToJsonString (const JointPhysicalProperties &jointProperties) |
| Serializes one joint's physical mass properties to its canonical on-disk JSON string. | |
| ParameterLimits | momentum::parameterLimitsFromJson (const Character &character, const nlohmann::json &j) |
| ParameterSets | momentum::parameterSetsFromJson (const Character &character, const nlohmann::json &j) |
| PoseConstraints | momentum::poseConstraintsFromJson (const Character &character, const nlohmann::json &j) |
| ParameterTransform | momentum::parameterTransformFromJson (const Character &character, const nlohmann::json &j) |
| JointPhysicalProperties | momentum::jointPhysicalPropertiesFromJson (const nlohmann::json &j, const std::string &jointName, size_t jointIndex) |
| Parses one joint's physical mass properties from JSON. | |
| std::optional< JointPhysicalProperties > | momentum::jointPhysicalPropertiesFromJsonString (const std::string &json, const std::string &jointName, size_t jointIndex) |
| Parses one joint's physical mass properties from its canonical on-disk JSON string. | |