37 #ifndef COAL_BROADPHASE_BROAD_PHASE_CALLBACKS_H
38 #define COAL_BROADPHASE_BROAD_PHASE_CALLBACKS_H
the object for collision or distance computation, contains the geometry and the transform information
Definition: collision_object.h:214
#define COAL_DLLAPI
Definition: config.hh:88
Scalar 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.
Main namespace.
Definition: broadphase_bruteforce.h:44
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,...
double Scalar
Definition: data_types.h:68
Base callback class for collision queries. This class can be supersed by child classes to provide des...
Definition: broadphase_callbacks.h:49
virtual bool operator()(CollisionObject *o1, CollisionObject *o2)
Functor call associated to the collide operation.
Definition: broadphase_callbacks.h:63
virtual bool collide(CollisionObject *o1, CollisionObject *o2)=0
Collision evaluation between two objects in collision. This callback will cause the broadphase evalua...
virtual void init()
Initialization of the callback before running the collision broadphase manager.
Definition: broadphase_callbacks.h:52
Base callback class for distance queries. This class can be supersed by child classes to provide desi...
Definition: broadphase_callbacks.h:72
virtual bool operator()(CollisionObject *o1, CollisionObject *o2, Scalar &dist)
Functor call associated to the distance operation.
Definition: broadphase_callbacks.h:88
virtual bool distance(CollisionObject *o1, CollisionObject *o2, Scalar &dist)=0
Distance evaluation between two objects in collision. This callback will cause the broadphase evaluat...
virtual void init()
Initialization of the callback before running the collision broadphase manager.
Definition: broadphase_callbacks.h:75