42std::tuple<Character, std::vector<SkeletonState>, std::vector<float>>
49std::tuple<Character, std::vector<SkeletonState>, std::vector<float>>
58 const filesystem::path& filename,
71 const filesystem::path& filename,
74 std::span<const SkeletonState> skeletonStates,
75 std::span<
const std::vector<Marker>> markerSequence = {},
83 const filesystem::path& inputPath);
90 std::span<const std::byte> inputSpan);
102 const filesystem::path& filename,
107 std::span<const std::vector<Marker>> markerSequence = {},
121std::tuple<Character, MatrixXf, ModelParameters, float>
129std::tuple<Character, MatrixXf, ModelParameters, float>
std::tuple< std::vector< std::string >, JointParameters > IdentityParameters
A tuple of skeleton joint names and identity parameters.
std::tuple< Character, MatrixXf, ModelParameters, float > loadUsdCharacterWithMotionModelParameterScales(const filesystem::path &inputPath)
Load a USD character with motion and apply scale parameters to the motion.
void saveUsdCharacter(const filesystem::path &filename, const Character &character, float fps, std::span< const SkeletonState > skeletonStates, std::span< const std::vector< Marker > > markerSequence, const FileSaveOptions &options)
Save a character with skeleton state animation to a USD file.
std::tuple< Character, std::vector< SkeletonState >, std::vector< float > > loadUsdCharacterWithSkeletonStates(const filesystem::path &inputPath)
Load a USD character with skeleton states from a local file path.
void saveUsd(const filesystem::path &filename, const Character &character, const FileSaveOptions &options)
Save a character to a USD file.
std::tuple< std::vector< std::string >, Eigen::MatrixXf > MotionParameters
A tuple of model parameter names and a matrix of poses across a sequence of frames.
std::tuple< Character, MotionParameters, IdentityParameters, float > loadUsdCharacterWithMotion(const filesystem::path &inputPath)
Load a USD character with model-parameter motion from a local file path.
void saveUsdCharacterWithMotion(const filesystem::path &filename, const Character &character, float fps, const MotionParameters &motion, const IdentityParameters &offsets, std::span< const std::vector< Marker > > markerSequence, const FileSaveOptions &options)
Save a character with model-parameter motion to a USD file.
Character loadUsdCharacter(const filesystem::path &inputPath)
Load a USD character from a local file path.
MarkerSequence loadUsdMarkerSequence(const filesystem::path &inputPath)
Load a marker sequence from a USD file.
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).