Interface for Pinocchio collision callback functors. More...
#include <broadphase-callbacks.hpp>
Public Member Functions | |
CollisionCallBackBase (const GeometryModel &geometry_model, GeometryData &geometry_data) | |
virtual void | done () |
Callback method called after the termination of a collisition detection algorithm. The default implementation does nothing. More... | |
GeometryData & | getGeometryData () |
const GeometryData & | getGeometryData () const |
const GeometryModel & | getGeometryModel () const |
virtual bool | stop () const =0 |
If true, the stopping criteria related to the collision callback has been met and one can stop. More... | |
Public Member Functions inherited from hpp::fcl::CollisionCallBackBase | |
virtual bool | collide (CollisionObject *o1, CollisionObject *o2)=0 |
virtual void | init () |
virtual bool | operator() (CollisionObject *o1, CollisionObject *o2) |
Public Attributes | |
bool | accumulate |
Whether the callback is used in an accumulate mode where several collide methods are called successively. More... | |
bool | collision |
Whether there is a collision or not. More... | |
Protected Attributes | |
GeometryData * | geometry_data_ptr |
Geometry data associated to the callback. More... | |
const GeometryModel * | geometry_model_ptr |
Geometry model associated to the callback. More... | |
Interface for Pinocchio collision callback functors.
Definition at line 19 of file broadphase-callbacks.hpp.
|
inline |
Definition at line 21 of file broadphase-callbacks.hpp.
|
inlinevirtual |
Callback method called after the termination of a collisition detection algorithm. The default implementation does nothing.
Reimplemented in pinocchio::CollisionCallBackDefault, and pinocchio::python::CollisionCallBackBaseWrapper.
Definition at line 48 of file broadphase-callbacks.hpp.
|
inline |
Definition at line 37 of file broadphase-callbacks.hpp.
|
inline |
Definition at line 33 of file broadphase-callbacks.hpp.
|
inline |
Definition at line 29 of file broadphase-callbacks.hpp.
|
pure virtual |
If true, the stopping criteria related to the collision callback has been met and one can stop.
Implemented in pinocchio::CollisionCallBackDefault, and pinocchio::python::CollisionCallBackBaseWrapper.
bool pinocchio::CollisionCallBackBase::accumulate |
Whether the callback is used in an accumulate mode where several collide methods are called successively.
Definition at line 63 of file broadphase-callbacks.hpp.
bool pinocchio::CollisionCallBackBase::collision |
Whether there is a collision or not.
Definition at line 59 of file broadphase-callbacks.hpp.
|
protected |
Geometry data associated to the callback.
Definition at line 55 of file broadphase-callbacks.hpp.
|
protected |
Geometry model associated to the callback.
Definition at line 48 of file broadphase-callbacks.hpp.