|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
#include "momentum/io/legacy_json/legacy_json_io.h"#include <momentum/character/character.h>#include <momentum/character/collision_geometry.h>#include <momentum/character/joint.h>#include <momentum/character/locator.h>#include <momentum/character/parameter_transform.h>#include <momentum/character/skeleton.h>#include <momentum/character/skin_weights.h>#include <momentum/character/types.h>#include <momentum/common/exception.h>#include <momentum/common/log.h>#include <momentum/io/common/stream_utils.h>#include <momentum/math/mesh.h>#include <momentum/math/transform.h>#include <momentum/math/types.h>#include <fstream>#include <sstream>Go to the source code of this file.
Namespaces | |
| namespace | momentum |
Functions | |
| Character | momentum::loadCharacterFromLegacyJson (const std::string &jsonPath) |
| Loads a Character from a legacy JSON format that was previously used by older Python libraries (and some other tools). | |
| Character | momentum::loadCharacterFromLegacyJsonBuffer (std::span< const std::byte > jsonBuffer) |
| Loads a Character from a legacy JSON buffer. | |
| Character | momentum::loadCharacterFromLegacyJsonString (const std::string &jsonString) |
| Loads a Character from a legacy JSON string. | |
| void | momentum::saveCharacterToLegacyJson (const Character &character, const std::string &jsonPath) |
| Saves a Character to legacy JSON format. | |
| std::string | momentum::characterToLegacyJsonString (const Character &character) |
| Converts a Character to legacy JSON string. | |
| nlohmann::json | momentum::characterToLegacyJson (const Character &character) |
| Converts a Character to legacy JSON object. | |