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
13
#include "
GU_Agent.h
"
14
#include "
GU_AgentShapeDeformer.h
"
15
16
#include <
UT/UT_Span.h
>
17
18
/// Blendshape deformer for agents. Optionally, skinning can be performed
19
/// afterwards via GU_AgentLinearSkinDeformer.
20
class
GU_API
GU_AgentBlendShapeDeformer
:
public
GU_AgentShapeDeformer
21
{
22
public
:
23
GU_AgentBlendShapeDeformer
(
24
const
GU_AgentShapeDeformerConstPtr
&post_blend_deformer);
25
26
void
27
deform
(
GU_Detail
&gdp,
const
GU_AgentShapeLib::Shape
&src_shape,
28
exint
xform_idx,
const
GU_Agent
&src_agent)
const override
;
29
30
/// Variant of the default deform() method which allows overriding the
31
/// agent's channel values.
32
void
deform
(
33
GU_Detail
&gdp,
34
const
GU_AgentShapeLib::Shape
&src_shape,
35
exint
xform_idx,
36
const
GU_Agent
&src_agent,
37
const
UT_Span<const GU_Agent::FloatType>
&channel_values)
const
;
38
39
void
40
computeBounds
(
UT_BoundingBox
&box,
const
GU_AgentShapeLib::Shape
&src_shape,
41
exint
xform_idx,
const
GU_Agent
&src_agent)
const override
;
42
43
const
GU_AgentShapeDeformerConstPtr
&
postBlendDeformer
()
const
44
{
45
return
myPostBlendDeformer;
46
}
47
48
private
:
49
GU_AgentShapeDeformerConstPtr
myPostBlendDeformer;
50
};
51
52
#endif
TCB_SPAN_NAMESPACE_NAME::span
Definition:
UT_Span.h:175
GU_AgentShapeDeformer.h
GU_Agent.h
UT_BoundingBoxT< float >
exint
int64 exint
Definition:
SYS_Types.h:125
GU_AgentBlendShapeDeformer::postBlendDeformer
const GU_AgentShapeDeformerConstPtr & postBlendDeformer() const
Definition:
GU_AgentBlendShapeDeformer.h:43
UT_Span.h
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:159
GU_API.h
GU_AgentShapeDeformer
Defines a deformer for an agent shape.
Definition:
GU_AgentShapeDeformer.h:31
GU_AgentBlendShapeDeformer
Definition:
GU_AgentBlendShapeDeformer.h:20
GU
GU_AgentBlendShapeDeformer.h
Generated on Thu Jul 16 2026 02:12:29 for HDK by
1.8.6