32 const filesystem::path& inputPath,
36 bool stripNamespaces =
true);
42 std::span<const std::byte> inputSpan,
46 bool stripNamespaces =
true);
50 const filesystem::path& inputPath,
54 bool stripNamespaces =
true);
58 std::span<const std::byte> inputSpan,
62 bool stripNamespaces =
true);
78 const filesystem::path& filename,
79 const Character& character,
82 double framerate = 120.0,
83 std::span<
const std::vector<Marker>> markerSequence = {},
101 const filesystem::path& filename,
104 double framerate = 120.0,
105 std::span<
const std::vector<Marker>> markerSequence = {},
120 const filesystem::path& filename,
122 std::span<const SkeletonState> skeletonStates,
123 double framerate = 120.0,
124 std::span<
const std::vector<Marker>> markerSequence = {},
132 const filesystem::path& filename,
170 std::span<const std::byte> inputSpan,
171 bool stripNamespaces =
true);
void saveFbxWithJointParams(const filesystem::path &, const Character &, const MatrixXf &, const double, std::span< const std::vector< Marker > >, const FileSaveOptions &)
Save a character with animation using joint parameters directly.
void saveFbxWithSkeletonStates(const filesystem::path &, const Character &, std::span< const SkeletonState >, const double, std::span< const std::vector< Marker > >, const FileSaveOptions &)
Save a character with animation using skeleton states directly.
void saveFbx(const filesystem::path &, const Character &, const MatrixXf &, const VectorXf &, const double, std::span< const std::vector< Marker > >, const FileSaveOptions &)
Save a character with animation to an FBX file.
Character loadFbxCharacter(const filesystem::path &inputPath, KeepLocators keepLocators, Permissive permissive, LoadBlendShapes loadBlendShapes, bool stripNamespaces)
std::tuple< Character, std::vector< MatrixXf >, float > loadFbxCharacterWithMotion(const filesystem::path &inputPath, KeepLocators keepLocators, Permissive permissive, LoadBlendShapes loadBlendShapes, bool stripNamespaces)
BlendShape loadBlendShape(const filesystem::path &filename, int expectedShapes, int expectedVertices)
Loads a blend shape from a file, including base shape and shape vectors.
MarkerSequence loadFbxMarkerSequence(const filesystem::path &filename, bool stripNamespaces)
Loads a MarkerSequence from an FBX file.
VectorX< float > VectorXf
MatrixXf loadFbxBlendShapeWeights(const filesystem::path &)
Load per-frame blend shape animation weights from an FBX file.
void saveFbxModel(const filesystem::path &, const Character &, const FileSaveOptions &)
Save a character model (skeleton and mesh) without animation.
MatrixX< float > MatrixXf
A character model with skeletal structure, mesh, and optional components.
Unified options for saving files in both FBX and GLTF formats.
All frames from a single motion capture sequence for one subject (actor).