Base class for broad phase continuous collision. It helps to accelerate the continuous collision/distance between N objects. Also support self collision, self distance and collision/distance with another M objects. More...
#include <broadphase_continuous_collision_manager.h>
Public Member Functions | |
BroadPhaseContinuousCollisionManager () | |
virtual void | clear ()=0 |
clear the manager More... | |
virtual void | collide (BroadPhaseContinuousCollisionManager *other_manager, CollisionCallBackBase *callback) const =0 |
perform collision test with objects belonging to another manager More... | |
virtual void | collide (CollisionCallBackBase *callback) const =0 |
perform collision test for the objects belonging to the manager (i.e., N^2 self collision) More... | |
virtual void | collide (ContinuousCollisionObject *obj, CollisionCallBackBase *callback) const =0 |
perform collision test between one object and all the objects belonging to the manager More... | |
virtual void | distance (BroadPhaseContinuousCollisionManager *other_manager, DistanceCallBackBase *callback) const =0 |
perform distance test with objects belonging to another manager More... | |
virtual void | distance (ContinuousCollisionObject *obj, DistanceCallBackBase *callback) const =0 |
perform distance computation between one object and all the objects belonging to the manager More... | |
virtual void | distance (DistanceCallBackBase *callback) const =0 |
perform distance test for the objects belonging to the manager (i.e., N^2 self distance) More... | |
virtual bool | empty () const =0 |
whether the manager is empty More... | |
virtual void | getObjects (std::vector< ContinuousCollisionObject * > &objs) const =0 |
return the objects managed by the manager More... | |
virtual void | registerObject (ContinuousCollisionObject *obj)=0 |
add one object to the manager More... | |
virtual void | registerObjects (const std::vector< ContinuousCollisionObject * > &other_objs) |
add objects to the manager More... | |
virtual void | setup ()=0 |
initialize the manager, related with the specific type of manager More... | |
virtual size_t | size () const =0 |
the number of objects managed by the manager More... | |
virtual void | unregisterObject (ContinuousCollisionObject *obj)=0 |
remove one object from the manager More... | |
virtual void | update ()=0 |
update the condition of manager More... | |
virtual void | update (const std::vector< ContinuousCollisionObject * > &updated_objs) |
update the manager by explicitly given the set of objects update More... | |
virtual void | update (ContinuousCollisionObject *updated_obj) |
update the manager by explicitly given the object updated More... | |
virtual | ~BroadPhaseContinuousCollisionManager () |
Base class for broad phase continuous collision. It helps to accelerate the continuous collision/distance between N objects. Also support self collision, self distance and collision/distance with another M objects.
Definition at line 65 of file coal/broadphase/broadphase_continuous_collision_manager.h.
coal::BroadPhaseContinuousCollisionManager< S >::BroadPhaseContinuousCollisionManager | ( | ) |
Definition at line 47 of file coal/broadphase/broadphase_continuous_collision_manager-inl.h.
|
virtual |
Definition at line 53 of file coal/broadphase/broadphase_continuous_collision_manager-inl.h.
|
pure virtual |
clear the manager
|
pure virtual |
perform collision test with objects belonging to another manager
|
pure virtual |
perform collision test for the objects belonging to the manager (i.e., N^2 self collision)
|
pure virtual |
perform collision test between one object and all the objects belonging to the manager
|
pure virtual |
perform distance test with objects belonging to another manager
|
pure virtual |
perform distance computation between one object and all the objects belonging to the manager
|
pure virtual |
perform distance test for the objects belonging to the manager (i.e., N^2 self distance)
|
pure virtual |
whether the manager is empty
|
pure virtual |
return the objects managed by the manager
|
pure virtual |
add one object to the manager
|
virtual |
add objects to the manager
Definition at line 59 of file coal/broadphase/broadphase_continuous_collision_manager-inl.h.
|
pure virtual |
initialize the manager, related with the specific type of manager
|
pure virtual |
the number of objects managed by the manager
|
pure virtual |
remove one object from the manager
|
pure virtual |
update the condition of manager
|
virtual |
update the manager by explicitly given the set of objects update
Definition at line 75 of file coal/broadphase/broadphase_continuous_collision_manager-inl.h.
|
virtual |
update the manager by explicitly given the object updated
Definition at line 66 of file coal/broadphase/broadphase_continuous_collision_manager-inl.h.