27 #ifndef TESSERACT_COLLISION_BULLET_COLLISION_SHAPE_CACHE_H
28 #define TESSERACT_COLLISION_BULLET_COLLISION_SHAPE_CACHE_H
37 #include <BulletCollision/CollisionShapes/btCollisionShape.h>
38 #include <boost/uuid/uuid.hpp>
51 std::vector<std::shared_ptr<btCollisionShape>>
children;
62 static void insert(
const std::shared_ptr<const tesseract_geometry::Geometry>& key,
63 const std::shared_ptr<BulletCollisionShape>& value);
70 static std::shared_ptr<BulletCollisionShape>
get(
const std::shared_ptr<const tesseract_geometry::Geometry>& key);
77 static std::map<boost::uuids::uuid, std::weak_ptr<BulletCollisionShape>>
cache_;
83 #endif // TESSERACT_COLLISION_BULLET_COLLISION_SHAPE_CACHE_H