17 #ifndef __HUSD_Skeleton_h__
18 #define __HUSD_Skeleton_h__
69 bool isValid()
const {
return bool(myImpl); }
81 const Impl &
impl()
const {
return *myImpl; }
82 Impl &
impl() {
return *myImpl; }
118 bool create_locomotion_joint);
HUSD_API bool HUSDimportSkeleton(GU_Detail &gdp, HUSD_SkeletonCache &cache, HUSD_AutoReadLock &readlock, const HUSD_LockedStagePtr &locked_stage, const UT_StringRef &skelrootpath, HUSD_SkeletonPoseType pose_type)
HUSD_API UT_StringHolder HUSDdefaultSkelRootPath(HUSD_AutoReadLock &readlock)
Returns the path to a SkelRoot prim in the stage, or the empty string.
HUSD_API UT_Array< GU_AgentClipPtr > HUSDimportAgentClips(const GU_AgentRigConstPtr &rig, HUSD_AutoReadLock &readlock, const UT_StringRef &prim_pattern)
HUSD_API bool HUSDimportSkinnedGeometry(GU_Detail &gdp, HUSD_AutoReadLock &readlock, const UT_StringRef &skelrootpath, const UT_StringRef &purpose, const UT_StringHolder &shapeattrib)
Imports all skinnable primitives underneath the provided SkelRoot prim.
HUSD_API bool HUSDimportAgentShapes(GU_AgentShapeLib &shapelib, GU_AgentLayer &layer, HUSD_AutoReadLock &readlock, const UT_StringRef &skelrootpath, const UT_StringRef &purpose, const UT_Vector3F &layer_bounds_scale)
GLenum GLuint GLint GLint layer
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
Wrapper around hboost::intrusive_ptr.
HUSD_API bool HUSDimportSkeletonPose(GU_Detail &gdp, const HUSD_SkeletonCache &cache, HUSD_SkeletonPoseType pose_type, HUSD_TimeCode timecode)
const Impl & impl() const
UT_SharedPtr< HUSD_LockedStage > HUSD_LockedStagePtr
HUSD_API GU_AgentRigPtr HUSDimportAgentRig(HUSD_AutoReadLock &readlock, const UT_StringRef &skelrootpath, const UT_StringHolder &rig_name, bool create_locomotion_joint)
Builds an agent rig from the SkelRoot's first Skeleton prim.
HUSD_API GU_AgentClipPtr HUSDimportAgentClip(const GU_AgentRigConstPtr &rig, HUSD_AutoReadLock &readlock, const UT_StringRef &skelrootpath)