38 #ifndef FCL_BROADPHASE_BROADPHASECOLLISIONMANAGER_INL_H 39 #define FCL_BROADPHASE_BROADPHASECOLLISIONMANAGER_INL_H 41 #include "fcl/broadphase/broadphase_collision_manager.h" 47 class BroadPhaseCollisionManager<double>;
51 BroadPhaseCollisionManager<S>::BroadPhaseCollisionManager()
52 : enable_tested_set_(false)
59 BroadPhaseCollisionManager<S>::~BroadPhaseCollisionManager()
69 for(
size_t i = 0; i < other_objs.size(); ++i)
102 if(a < b)
tested_set.insert(std::make_pair(a, b));
void registerObject(CollisionObject< S > *obj)
add one object to the manager
Definition: broadphase_bruteforce-inl.h:74
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
std::set< std::pair< CollisionObject< S > *, CollisionObject< S > * > > tested_set
tools help to avoid repeating collision or distance callback for the pairs of objects tested before...
Definition: broadphase_collision_manager.h:127
virtual void registerObjects(const std::vector< CollisionObject< S > * > &other_objs)
add objects to the manager
Definition: broadphase_collision_manager-inl.h:66
virtual void update()=0
update the condition of manager
void update()
update the condition of manager
Definition: broadphase_bruteforce-inl.h:88
the object for collision or distance computation, contains the geometry and the transform information...
Definition: collision_object.h:51
Base class for broad phase collision. It helps to accelerate the collision/distance between N objects...
Definition: broadphase_collision_manager.h:66