|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
#include "momentum/io/gltf/gltf_animation_io.h"#include "momentum/character/character_state.h"#include "momentum/character/character_utility.h"#include "momentum/character/skeleton.h"#include "momentum/common/checks.h"#include "momentum/common/exception.h"#include "momentum/common/log.h"#include "momentum/io/common/stream_utils.h"#include "momentum/io/gltf/gltf_io.h"#include "momentum/io/gltf/gltf_io_internal.h"#include "momentum/io/gltf/utils/accessor_utils.h"#include "momentum/io/gltf/utils/coordinate_utils.h"#include "momentum/math/constants.h"#include <algorithm>#include <fstream>#include <limits>Go to the source code of this file.
Namespaces | |
| namespace | momentum |
Functions | |
| std::tuple< MotionParameters, IdentityParameters > | momentum::getMotionFromModel (fx::gltf::Document &model) |
| Get motion parameters from a glTF model. | |
| float | momentum::calculateFpsFromAnimationData (const fx::gltf::Document &model) |
| Calculate FPS from glTF animation data. | |
| std::tuple< MotionParameters, IdentityParameters, float > | momentum::loadMotionFromModel (fx::gltf::Document &model) |
| Load motion data from a glTF model. | |
| std::tuple< Character, MatrixXf, JointParameters, float > | momentum::loadCharacterWithMotionCommon (const std::variant< filesystem::path, std::span< const std::byte > > &input, bool mapParameters=false) |
| Load character with motion from input (common implementation). | |
| std::tuple< MatrixXf, JointParameters, float > | momentum::loadMotionOnCharacterCommon (const std::variant< filesystem::path, std::span< const std::byte > > &input, const Character &character) |
| Load motion onto a character (common implementation). | |
| std::tuple< Character, std::vector< SkeletonState >, std::vector< float > > | momentum::loadCharacterWithSkeletonStatesCommon (const std::variant< filesystem::path, std::span< const std::byte > > &input) |
| Load character with skeleton states from input (common implementation). | |