10 #ifndef GT_PrimCharacterScene_h
11 #define GT_PrimCharacterScene_h
27 using Component = std::pair<UT_StringHolder, GU_ConstDetailHandle>;
56 const char *
className()
const override {
return "gt_CharacterScene"; }
61 int nsegments)
const override { }
78 Character findACharacter()
const;
83 bool hasScenePrim()
const;
84 bool hasConstraintsPrim()
const;
92 Tree *mySceneTree =
nullptr;
UT_Array< Component > rigs
A character will have a name and at least one shape, skel, and rig prim.
void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const override
int64 getMemoryUsage() const override
std::pair< UT_StringHolder, GU_ConstDetailHandle > Component
Contains a list of either shape, skel, or rig prims.
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
int getMotionSegments() const override
GLuint const GLchar * name
The base class for all GT primitive types.
UT_Array< Component > shapes
GU_ConstDetailHandle getDetail() const
UT_Array< Component > skels
GT_PrimitiveHandle doSoftCopy() const override
Character(const UT_StringHolder &name, const UT_Array< Component > &shapes, const UT_Array< Component > &skels, const UT_Array< Component > &rigs)
int getPrimitiveType() const override
const char * className() const override