Blender V4.3
usd_blend_shape_utils.cc File Reference
#include "usd_blend_shape_utils.hh"
#include "usd_utils.hh"
#include <pxr/usd/usdGeom/primvarsAPI.h>
#include <pxr/usd/usdSkel/animMapper.h>
#include <pxr/usd/usdSkel/animation.h>
#include <pxr/usd/usdSkel/bindingAPI.h>
#include <pxr/usd/usdSkel/blendShape.h>
#include "DNA_key_types.h"
#include "DNA_mesh_types.h"
#include "BKE_key.hh"
#include "BKE_mesh.hh"
#include "BKE_object.hh"
#include "DNA_object_types.h"
#include "BLI_assert.h"
#include "BLI_listbase.h"
#include "BLI_math_vector.h"
#include "BLI_set.hh"
#include "BLI_vector.hh"
#include <string>
#include <vector>
#include "CLG_log.h"

Go to the source code of this file.

Namespaces

namespace  usdtokens
 
namespace  blender
 
namespace  blender::io
 
namespace  blender::io::usd
 

Functions

static const pxr::TfToken usdtokens::Anim ("Anim", pxr::TfToken::Immortal)
 
static const pxr::TfToken usdtokens::joint1 ("joint1", pxr::TfToken::Immortal)
 
static const pxr::TfToken usdtokens::Skel ("Skel", pxr::TfToken::Immortal)
 
pxr::TfToken blender::io::usd::TempBlendShapeWeightsPrimvarName ("temp:weights", pxr::TfToken::Immortal)
 
void blender::io::usd::ensure_blend_shape_skeleton (pxr::UsdStageRefPtr stage, pxr::UsdPrim &mesh_prim)
 
const Keyblender::io::usd::get_mesh_shape_key (const Object *obj)
 
bool blender::io::usd::is_mesh_with_shape_keys (const Object *obj)
 
void blender::io::usd::create_blend_shapes (pxr::UsdStageRefPtr stage, const Object *obj, const pxr::UsdPrim &mesh_prim, bool allow_unicode)
 
pxr::VtFloatArray blender::io::usd::get_blendshape_weights (const Key *key)
 
void blender::io::usd::remap_blend_shape_anim (pxr::UsdStageRefPtr stage, const pxr::SdfPath &skel_path, const pxr::SdfPathSet &mesh_paths)
 
Meshblender::io::usd::get_shape_key_basis_mesh (Object *obj)
 

Variables

static CLG_LogRef LOG = {"io.usd"}
 

Variable Documentation

◆ LOG

CLG_LogRef LOG = {"io.usd"}
static

Definition at line 32 of file usd_blend_shape_utils.cc.