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_AgentSubjectShapeGroup.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
* NAME: GU_AgentSubjectShapeGroup.h ( GSTY Library, C++)
7
*
8
* COMMENTS:
9
*/
10
11
#ifndef __GU_AgentSubjectShapeGroup
12
#define __GU_AgentSubjectShapeGroup
13
14
#include "
GU_API.h
"
15
#include "
GU_AgentLayer.h
"
16
#include "
GU_AgentSubjectShape.h
"
17
#include <
STY/STY_SubjectGroup.h
>
18
19
class
GU_PrimPacked
;
20
21
class
GU_API
GU_AgentSubjectShapeGroup
:
public
STY_SubjectGroup
22
{
23
public
:
24
// The 'agent_prim' arg is optional since it's used only for a convenience
25
// shortcut to have shape implicitly provide script binding data from agent.
26
// Otherwise we would have to employ preBinding keyword explicitly.
27
GU_AgentSubjectShapeGroup
(
const
GU_AgentLayer::ShapeArray
& shapes,
28
const
GU_PrimPacked
*agent_prim = NULL);
29
30
int
getNumSubjects
()
const override
;
31
const
STY_Subject
&
getSubject
(
int
idx)
const override
;
32
33
private
:
34
UT_Array<GU_AgentSubjectShape>
mySubjects;
35
};
36
37
#endif
38
GU_AgentSubjectShapeGroup
Definition:
GU_AgentSubjectShapeGroup.h:21
STY_Subject
Definition:
STY_Subject.h:30
GU_PrimPacked
Definition:
GU_PrimPacked.h:27
UT_Array< ShapeBinding >
STY_SubjectGroup::getNumSubjects
virtual int getNumSubjects() const =0
Returns the number of subjects in this group.
STY_SubjectGroup
Definition:
STY_SubjectGroup.h:21
STY_SubjectGroup::getSubject
virtual const STY_Subject & getSubject(int idx) const =0
Returns a subject by index.
STY_SubjectGroup.h
GU_AgentLayer.h
GU_API
#define GU_API
Definition:
GU_API.h:14
GU_AgentSubjectShape.h
GU_API.h
GU
GU_AgentSubjectShapeGroup.h
Generated on Sun Nov 17 2024 03:01:16 for HDK by
1.8.6