|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
#include "momentum/io/gltf/gltf_skeleton_io.h"#include "momentum/character/joint.h"#include "momentum/common/checks.h"#include "momentum/common/exception.h"#include "momentum/io/common/json_utils.h"#include "momentum/io/gltf/utils/coordinate_utils.h"#include <algorithm>#include <limits>Go to the source code of this file.
Namespaces | |
| namespace | momentum |
Functions | |
| TaperedCapsule | momentum::createCollisionCapsule (const fx::gltf::Node &node, const nlohmann::json &extension) |
| Create a collision capsule from a glTF node. | |
| CollisionEllipsoid | momentum::createCollisionEllipsoid (const fx::gltf::Node &node, const nlohmann::json &extension) |
| Create a collision ellipsoid from a glTF node. | |
| CollisionBox | momentum::createCollisionBox (const fx::gltf::Node &node, const nlohmann::json &extension) |
| Create a collision box from a glTF node. | |
| Locator | momentum::createLocator (const fx::gltf::Node &node, const nlohmann::json &extension) |
| Create a locator from a glTF node. | |
| Joint | momentum::createJoint (const fx::gltf::Node &node) |
| Create a joint from a glTF node. | |
| bool | momentum::isHierarchyNode (const fx::gltf::Node &node) |
| Check if a node is allowed in the skeleton hierarchy. | |
| std::vector< std::vector< uint32_t > > | momentum::gatherSkeletonRoots (const fx::gltf::Document &model) |
| Gather skeleton roots from the glTF model. | |
| std::tuple< std::string, JointList, CollisionGeometry_u, LocatorList, PhysicalProperties, std::vector< size_t > > | momentum::loadHierarchy (const fx::gltf::Document &model) |
| Load the hierarchy from the model. | |
| JointList | momentum::createSkeletonWithOnlyRoot () |
| Create a skeleton with only a root joint. | |