38 #ifndef FCL_BROADPHASE_BROADPHASECONTINUOUSCOLLISIONMANAGER_H 39 #define FCL_BROADPHASE_BROADPHASECONTINUOUSCOLLISIONMANAGER_H 41 #include "fcl/broadphase/broadphase_collision_manager.h" 42 #include "fcl/narrowphase/collision_object.h" 43 #include "fcl/narrowphase/continuous_collision_object.h" 52 ContinuousCollisionObject<S>* o1,
83 virtual void setup() = 0;
95 virtual void clear() = 0;
119 virtual bool empty()
const = 0;
122 virtual size_t size()
const = 0;
130 #include "fcl/broadphase/broadphase_continuous_collision_manager-inl.h" virtual void update()=0
update the condition of manager
virtual void unregisterObject(ContinuousCollisionObject< S > *obj)=0
remove one object from the manager
virtual void setup()=0
initialize the manager, related with the specific type of manager
bool(*)(ContinuousCollisionObject< S > *o1, ContinuousCollisionObject< S > *o2, void *cdata, S &dist) ContinuousDistanceCallBack
Callback for continuous distance between two objects, Return value is whether can stop now...
Definition: broadphase_continuous_collision_manager.h:60
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
Base class for broad phase continuous collision. It helps to accelerate the continuous collision/dist...
Definition: broadphase_continuous_collision_manager.h:66
virtual bool empty() const =0
whether the manager is empty
virtual void getObjects(std::vector< ContinuousCollisionObject< S > * > &objs) const =0
return the objects managed by the manager
bool(*)(ContinuousCollisionObject< S > *o1, ContinuousCollisionObject< S > *o2, void *cdata) ContinuousCollisionCallBack
Callback for continuous collision between two objects. Return value is whether can stop now...
Definition: broadphase_continuous_collision_manager.h:53
the object for continuous collision or distance computation, contains the geometry and the motion inf...
Definition: continuous_collision_object.h:51
bool(*)(CollisionObject< S > *o1, CollisionObject< S > *o2, void *cdata) CollisionCallBack
Callback for collision between two objects. Return value is whether can stop now. ...
Definition: broadphase_collision_manager.h:53
virtual void collide(ContinuousCollisionObject< S > *obj, void *cdata, CollisionCallBack< S > callback) const =0
perform collision test between one object and all the objects belonging to the manager ...
bool(*)(CollisionObject< S > *o1, CollisionObject< S > *o2, void *cdata, S &dist) DistanceCallBack
Callback for distance between two objects, Return value is whether can stop now, also return the mini...
Definition: broadphase_collision_manager.h:60
virtual void clear()=0
clear the manager
virtual size_t size() const =0
the number of objects managed by the manager
virtual void registerObject(ContinuousCollisionObject< S > *obj)=0
add one object to the manager
virtual void registerObjects(const std::vector< ContinuousCollisionObject< S > * > &other_objs)
add objects to the manager
Definition: broadphase_continuous_collision_manager-inl.h:65
virtual void distance(ContinuousCollisionObject< S > *obj, void *cdata, DistanceCallBack< S > callback) const =0
perform distance computation between one object and all the objects belonging to the manager ...