HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_AgentBlendShapeDeformer.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  */
7 
8 #ifndef __GU_AgentBlendShapeDeformer__
9 #define __GU_AgentBlendShapeDeformer__
10 
11 #include "GU_API.h"
12 #include "GU_AgentShapeDeformer.h"
13 
14 /// Blendshape deformer for agents. Optionally, skinning can be performed
15 /// afterwards via GU_AgentLinearSkinDeformer.
17 {
18 public:
20  const GU_AgentShapeDeformerConstPtr &post_blend_deformer);
21 
22  void
23  deform(GU_Detail &gdp, const GU_AgentShapeLib::Shape &src_shape,
24  exint xform_idx, const GU_Agent &src_agent) const override;
25 
26  void
28  exint xform_idx, const GU_Agent &src_agent) const override;
29 
31  {
32  return myPostBlendDeformer;
33  }
34 
35 private:
36  GU_AgentShapeDeformerConstPtr myPostBlendDeformer;
37 };
38 
39 #endif
int64 exint
Definition: SYS_Types.h:125
const GU_AgentShapeDeformerConstPtr & postBlendDeformer() const
virtual void computeBounds(UT_BoundingBox &box, const GU_AgentShapeLib::Shape &src_shape, exint xform_idx, const GU_Agent &src_agent) const
Shape(GA_Offset offset)
#define GU_API
Definition: GU_API.h:14
virtual void deform(GU_Detail &gdp, const GU_AgentShapeLib::Shape &src_shape, exint xform_idx, const GU_Agent &src_agent) const =0
Defines a deformer for an agent shape.