Go to the documentation of this file.
38 #ifndef COAL_BROADPHASE_BROADPHASECONTINUOUSCOLLISIONMANAGER_H
39 #define COAL_BROADPHASE_BROADPHASECONTINUOUSCOLLISIONMANAGER_H
43 #include "coal/narrowphase/continuous_collision_object.h"
51 ContinuousCollisionObject* o2,
58 ContinuousCollisionObject* o2,
72 virtual void registerObjects(
73 const std::vector<ContinuousCollisionObject*>& other_objs);
76 virtual void registerObject(ContinuousCollisionObject* obj) = 0;
79 virtual void unregisterObject(ContinuousCollisionObject* obj) = 0;
82 virtual void setup() = 0;
85 virtual void update() = 0;
88 virtual void update(ContinuousCollisionObject* updated_obj);
92 const std::vector<ContinuousCollisionObject*>& updated_objs);
95 virtual void clear() = 0;
98 virtual void getObjects(
99 std::vector<ContinuousCollisionObject*>& objs)
const = 0;
103 virtual void collide(ContinuousCollisionObject* obj,
108 virtual void distance(ContinuousCollisionObject* obj,
128 virtual bool empty()
const = 0;
131 virtual size_t size()
const = 0;
bool(*)(ContinuousCollisionObject *o1, ContinuousCollisionObject *o2, void *cdata) ContinuousCollisionCallBack
Callback for continuous collision between two objects. Return value is whether can stop now.
COAL_DLLAPI CoalScalar distance(const Matrix3s &R0, const Vec3s &T0, const kIOS &b1, const kIOS &b2, Vec3s *P=NULL, Vec3s *Q=NULL)
Approximate distance between two kIOS bounding volumes.
Base class for broad phase continuous collision. It helps to accelerate the continuous collision/dist...
Base callback class for distance queries. This class can be supersed by child classes to provide desi...
bool(*)(ContinuousCollisionObject *o1, ContinuousCollisionObject *o2, S &dist) ContinuousDistanceCallBack
Callback for continuous distance between two objects, Return value is whether can stop now,...
COAL_DLLAPI std::size_t collide(const CollisionObject *o1, const CollisionObject *o2, const CollisionRequest &request, CollisionResult &result)
Main collision interface: given two collision objects, and the requirements for contacts,...
Base callback class for collision queries. This class can be supersed by child classes to provide des...
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:57