45 : enable_tested_set_(false) {
56 const std::vector<CollisionObject*>& other_objs) {
57 for (
size_t i = 0; i < other_objs.size(); ++i)
registerObject(other_objs[i]);
69 const std::vector<CollisionObject*>& updated_objs) {
virtual void update()=0
update the condition of manager
virtual void registerObjects(const std::vector< CollisionObject *> &other_objs)
add objects to the manager
BroadPhaseCollisionManager()
#define HPP_FCL_UNUSED_VARIABLE(var)
void insertTestedSet(CollisionObject *a, CollisionObject *b) const
virtual ~BroadPhaseCollisionManager()
std::set< std::pair< CollisionObject *, CollisionObject * > > tested_set
tools help to avoid repeating collision or distance callback for the pairs of objects tested before...
the object for collision or distance computation, contains the geometry and the transform information...
virtual void registerObject(CollisionObject *obj)=0
add one object to the manager
bool inTestedSet(CollisionObject *a, CollisionObject *b) const