33 #ifndef DART_COLLISION_BULLET_BULLETCOLLISIONGROUP_HPP_
34 #define DART_COLLISION_BULLET_BULLETCOLLISIONGROUP_HPP_
37 #include "dart/config.hpp"
39 #include <btBulletCollisionCommon.h>
66 const std::vector<CollisionObject*>& collObjects)
override;
Definition: BulletCollisionDetector.hpp:50
Definition: BulletCollisionGroup.hpp:47
virtual ~BulletCollisionGroup()=default
Destructor.
void removeCollisionObjectFromEngine(CollisionObject *object) override
Remove CollisionObject from the collision detection engine.
Definition: BulletCollisionGroup.cpp:90
btCollisionWorld * getBulletCollisionWorld()
Return Bullet collision world.
Definition: BulletCollisionGroup.cpp:117
void initializeEngineData() override
Initialize the collision detection engine data such as broadphase algorithm.
Definition: BulletCollisionGroup.cpp:59
void addCollisionObjectsToEngine(const std::vector< CollisionObject * > &collObjects) override
Add CollisionObjects to the collision detection engine.
Definition: BulletCollisionGroup.cpp:75
std::unique_ptr< btCollisionConfiguration > mBulletCollisionConfiguration
Bullet collision configuration.
Definition: BulletCollisionGroup.hpp:90
std::unique_ptr< btBroadphaseInterface > mBulletProadphaseAlg
Bullet broad-phase algorithm.
Definition: BulletCollisionGroup.hpp:87
void updateCollisionGroupEngineData() override
Update the collision detection engine data such as broadphase algorithm.
Definition: BulletCollisionGroup.cpp:111
BulletCollisionGroup(const CollisionDetectorPtr &collisionDetector)
Constructor.
Definition: BulletCollisionGroup.cpp:43
std::unique_ptr< btDispatcher > mBulletDispatcher
Bullet collision dispatcher.
Definition: BulletCollisionGroup.hpp:93
void addCollisionObjectToEngine(CollisionObject *object) override
Add CollisionObject to the collision detection engine.
Definition: BulletCollisionGroup.cpp:65
void removeAllCollisionObjectsFromEngine() override
Remove all the CollisionObjects from the collision detection engine.
Definition: BulletCollisionGroup.cpp:102
std::unique_ptr< btCollisionWorld > mBulletCollisionWorld
Bullet collision world.
Definition: BulletCollisionGroup.hpp:96
Definition: CollisionGroup.hpp:53
void updateEngineData()
Update engine data.
Definition: CollisionGroup.cpp:308
Definition: CollisionObject.hpp:45
std::shared_ptr< CollisionDetector > CollisionDetectorPtr
Definition: SmartPointer.hpp:41
Definition: BulletCollisionDetector.cpp:65