hpp-fcl
2.4.1
HPP fork of FCL -- The Flexible Collision Library
|
Base callback class for collision queries. This class can be supersed by child classes to provide desired behaviors according to the application (e.g, only listing the potential CollisionObjects in collision). More...
#include <hpp/fcl/broadphase/broadphase_callbacks.h>
Public Member Functions | |
virtual void | init () |
Initialization of the callback before running the collision broadphase manager. More... | |
virtual bool | collide (CollisionObject *o1, CollisionObject *o2)=0 |
Collision evaluation between two objects in collision. This callback will cause the broadphase evaluation to stop if it returns true. More... | |
virtual bool | operator() (CollisionObject *o1, CollisionObject *o2) |
Functor call associated to the collide operation. More... | |
Base callback class for collision queries. This class can be supersed by child classes to provide desired behaviors according to the application (e.g, only listing the potential CollisionObjects in collision).
|
pure virtual |
Collision evaluation between two objects in collision. This callback will cause the broadphase evaluation to stop if it returns true.
[in] | o1 | Collision object #1. |
[in] | o2 | Collision object #2. |
Implemented in hpp::fcl::CollisionCallBackCollect, and hpp::fcl::CollisionCallBackDefault.
|
inlinevirtual |
Initialization of the callback before running the collision broadphase manager.
Reimplemented in hpp::fcl::CollisionCallBackCollect, and hpp::fcl::CollisionCallBackDefault.
|
inlinevirtual |
Functor call associated to the collide operation.