7 #ifndef DYNAMICS3D_SHAPE_MANAGER_H
8 #define DYNAMICS3D_SHAPE_MANAGER_H
11 class CDynamics3DShapeManager;
14 #include <argos3/plugins/simulator/physics_engines/dynamics3d/bullet/BulletCollision/CollisionShapes/btBoxShape.h>
15 #include <argos3/plugins/simulator/physics_engines/dynamics3d/bullet/BulletCollision/CollisionShapes/btCylinderShape.h>
16 #include <argos3/plugins/simulator/physics_engines/dynamics3d/bullet/BulletCollision/CollisionShapes/btSphereShape.h>
26 static std::shared_ptr<btCollisionShape>
29 static std::shared_ptr<btCollisionShape>
32 static std::shared_ptr<btCollisionShape>
39 SBoxResource(
const btVector3& c_half_extents);
40 btVector3 HalfExtents;
41 std::shared_ptr<btBoxShape> Shape;
43 static std::vector<SBoxResource> m_vecBoxResources;
46 struct SCylinderResource {
47 SCylinderResource(
const btVector3& c_half_extents);
48 btVector3 HalfExtents;
49 std::shared_ptr<btCylinderShape> Shape;
51 static std::vector<SCylinderResource> m_vecCylinderResources;
54 struct SSphereResource {
55 SSphereResource(btScalar f_radius);
57 std::shared_ptr<btSphereShape> Shape;
59 static std::vector<SSphereResource> m_vecSphereResources;
static std::shared_ptr< btCollisionShape > RequestSphere(btScalar f_radius)
static std::shared_ptr< btCollisionShape > RequestCylinder(const btVector3 &c_half_extents)
The namespace containing all the ARGoS related code.
static std::shared_ptr< btCollisionShape > RequestBox(const btVector3 &c_half_extents)