Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
usd_mesh_io.h File Reference
#include <momentum/character/blend_shape.h>
#include <momentum/character/skin_weights.h>
#include <momentum/math/mesh.h>
#include <pxr/usd/usd/stage.h>
#include <pxr/usd/usdGeom/mesh.h>
#include <pxr/usd/usdSkel/skeleton.h>

Go to the source code of this file.

Namespaces

namespace  momentum

Functions

Mesh momentum::loadMeshFromUsd (const UsdStageRefPtr &stage)
 Load a mesh from a USD stage.
SkinWeights momentum::loadSkinWeightsFromUsd (const UsdStageRefPtr &stage, size_t numVertices)
 Load skin weights from a USD stage.
void momentum::saveMeshToUsd (const Mesh &mesh, UsdGeomMesh &meshPrim)
 Save a mesh to a USD stage.
void momentum::saveSkinWeightsToUsd (const SkinWeights &skinWeights, UsdGeomMesh &meshPrim, const UsdSkelSkeleton &skelPrim)
 Save skin weights to a USD stage.
void momentum::saveBlendShapesToUsd (const BlendShape &blendShape, UsdGeomMesh &meshPrim)
 Save blend shapes to a USD stage.
std::shared_ptr< BlendShape > momentum::loadBlendShapesFromUsd (const UsdStageRefPtr &stage, size_t numVertices)
 Load blend shapes from a USD stage.