HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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.
16
class
GU_API
GU_AgentBlendShapeDeformer
:
public
GU_AgentShapeDeformer
17
{
18
public
:
19
GU_AgentBlendShapeDeformer
(
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
27
computeBounds
(
UT_BoundingBox
&box,
const
GU_AgentShapeLib::Shape
&src_shape,
28
exint
xform_idx,
const
GU_Agent
&src_agent)
const override
;
29
30
const
GU_AgentShapeDeformerConstPtr
&
postBlendDeformer
()
const
31
{
32
return
myPostBlendDeformer;
33
}
34
35
private
:
36
GU_AgentShapeDeformerConstPtr
myPostBlendDeformer;
37
};
38
39
#endif
GU_AgentShapeDeformer.h
UT_BoundingBoxT< float >
exint
int64 exint
Definition:
SYS_Types.h:125
GU_AgentBlendShapeDeformer::postBlendDeformer
const GU_AgentShapeDeformerConstPtr & postBlendDeformer() const
Definition:
GU_AgentBlendShapeDeformer.h:30
GU_AgentShapeDeformer::computeBounds
virtual void computeBounds(UT_BoundingBox &box, const GU_AgentShapeLib::Shape &src_shape, exint xform_idx, const GU_Agent &src_agent) const
GU_AgentShapeLib::Shape
Shape(GA_Offset offset)
UT_IntrusivePtr< const GU_AgentShapeDeformer >
GU_API
#define GU_API
Definition:
GU_API.h:14
GU_AgentShapeDeformer::deform
virtual void deform(GU_Detail &gdp, const GU_AgentShapeLib::Shape &src_shape, exint xform_idx, const GU_Agent &src_agent) const =0
GU_Agent
Definition:
GU_Agent.h:51
GU_Detail
Definition:
GU_Detail.h:154
GU_API.h
GU_AgentShapeDeformer
Defines a deformer for an agent shape.
Definition:
GU_AgentShapeDeformer.h:29
GU_AgentBlendShapeDeformer
Definition:
GU_AgentBlendShapeDeformer.h:16
GU
GU_AgentBlendShapeDeformer.h
Generated on Tue Dec 17 2024 03:39:45 for HDK by
1.8.6