21 #ifndef XUSD_HydraExtComputation_h
22 #define XUSD_HydraExtComputation_h
62 {
return mySkinningXformAttr; }
65 {
return myBlendShapeWeightAttr; }
70 {
return myBoneWeightAttr; }
73 {
return myRestPointsAttr; }
76 {
return myBlendShapeOffsetsAttr; }
81 bool mySkinning =
false;
83 bool mySkinningCacheValid =
false;
84 bool myBlendShapeCacheValid =
false;
105 void parseInfluences(
106 const bool is_rigid_skinning,
107 const int num_influences_per_comp,
108 const int num_pnts_on_mesh,
111 void parseSkinningXForms(
129 void setupRestPoints(
132 VtVec3fArray &rest_points);
134 void setupBlendShapes(
146 #endif // HUSD_HydraComputation_h
bool isSkinning(HdSceneDelegate *scene_delegate)
const GT_DataArrayHandle & getBlendShapeWeightAttr() const
const GT_DataArrayHandle & getBlendShapeOffsetsAttr() const
const GT_DataArrayHandle & getSkinningXformAttr() const
const GT_DataArrayHandle & getRestPointsAttr() const
void Sync(HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
~XUSD_HydraExtComputation() override
const UT_BoundingBox & getSkinnedBounds() const
const GT_DataArrayHandle & getBoneWeightAttr() const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
const GT_DataArrayHandle & getBoneIdxAttr() const
XUSD_HydraExtComputation(SdfPath const &id)
bool isBlendShape(HdSceneDelegate *scene_delegate)