HDK
 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 
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.
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:
35 };
36 
37 #endif
38 
virtual int getNumSubjects() const =0
Returns the number of subjects in this group.
virtual const STY_Subject & getSubject(int idx) const =0
Returns a subject by index.
#define GU_API
Definition: GU_API.h:14