|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
#include "momentum/io/fbx/fbx_io.h"#include "momentum/character/character.h"#include "momentum/common/exception.h"#include "momentum/io/fbx/openfbx_loader.h"Go to the source code of this file.
Namespaces | |
| namespace | momentum |
Functions | |
| Character | momentum::loadFbxCharacter (const filesystem::path &inputPath, KeepLocators keepLocators, Permissive permissive, LoadBlendShapes loadBlendShapes, bool stripNamespaces) |
| Character | momentum::loadFbxCharacter (std::span< const std::byte > inputSpan, KeepLocators keepLocators, Permissive permissive, LoadBlendShapes loadBlendShapes, bool stripNamespaces) |
| std::tuple< Character, std::vector< MatrixXf >, float > | momentum::loadFbxCharacterWithMotion (const filesystem::path &inputPath, KeepLocators keepLocators, Permissive permissive, LoadBlendShapes loadBlendShapes, bool stripNamespaces) |
| std::tuple< Character, std::vector< MatrixXf >, float > | momentum::loadFbxCharacterWithMotion (std::span< const std::byte > inputSpan, KeepLocators keepLocators, Permissive permissive, LoadBlendShapes loadBlendShapes, bool stripNamespaces) |
| MarkerSequence | momentum::loadFbxMarkerSequence (const filesystem::path &filename, bool stripNamespaces=true) |
| Loads a MarkerSequence from an FBX file. | |
| MarkerSequence | momentum::loadFbxMarkerSequence (std::span< const std::byte > inputSpan, bool stripNamespaces=true) |
| Loads a MarkerSequence from an in-memory FBX byte buffer. | |
| void | momentum::saveFbx (const filesystem::path &filename, const Character &character, const MatrixXf &poses=MatrixXf(), const VectorXf &identity=VectorXf(), double framerate=120.0, std::span< const std::vector< Marker > > markerSequence={}, const FileSaveOptions &options=FileSaveOptions()) |
| Save a character with animation to an FBX file. | |
| void | momentum::saveFbxWithJointParams (const filesystem::path &filename, const Character &character, const MatrixXf &jointParams=MatrixXf(), double framerate=120.0, std::span< const std::vector< Marker > > markerSequence={}, const FileSaveOptions &options=FileSaveOptions()) |
| Save a character with animation using joint parameters directly. | |
| void | momentum::saveFbxWithSkeletonStates (const filesystem::path &filename, const Character &character, std::span< const SkeletonState > skeletonStates, double framerate=120.0, std::span< const std::vector< Marker > > markerSequence={}, const FileSaveOptions &options=FileSaveOptions()) |
| Save a character with animation using skeleton states directly. | |
| void | momentum::saveFbxModel (const filesystem::path &filename, const Character &character, const FileSaveOptions &options=FileSaveOptions()) |
| Save a character model (skeleton and mesh) without animation. | |
| MatrixXf | momentum::loadFbxBlendShapeWeights (const filesystem::path &filename) |
| Load per-frame blend shape animation weights from an FBX file. | |