27 #ifndef TG_RIGID_AUTO_COMPOUND_H
28 #define TG_RIGID_AUTO_COMPOUND_H
37 class btCollisionObject;
59 std::vector< tgRigidInfo* > execute();
65 void setRigidBodyForGroup(btCollisionObject* body, std::deque<tgRigidInfo*>& group);
67 void setRigidInfoForGroup(
tgRigidInfo* rigidInfo, std::deque<tgRigidInfo*>& group);
73 std::deque<tgRigidInfo*> findGroup(
tgRigidInfo* rigid, std::deque<tgRigidInfo*>& ungrouped);
84 tgRigidInfo* createCompound(std::deque<tgRigidInfo*> rigids);
86 bool rigidBelongsIn(
tgRigidInfo* rigid, std::deque<tgRigidInfo*> group);
96 std::deque<tgRigidInfo*> m_rigids;
97 std::vector< std::deque<tgRigidInfo*> > m_groups;
98 std::vector< tgRigidInfo* > m_compounded;
std::string random_tag_hash()