Go to the documentation of this file.
   35 #ifndef COAL_PYTHON_BROADPHASE_BROADPHASE_CALLBACKS_HH 
   36 #define COAL_PYTHON_BROADPHASE_BROADPHASE_CALLBACKS_HH 
   45 #ifdef COAL_HAS_DOXYGEN_AUTODOC 
   46 #include "doxygen_autodoc/functions.h" 
   47 #include "doxygen_autodoc/coal/broadphase/broadphase_callbacks.h" 
   53                                       bp::wrapper<CollisionCallBackBase> {
 
   56   void init() { this->get_override(
"init")(); }
 
   58 #pragma GCC diagnostic push 
   59 #pragma GCC diagnostic ignored "-Wconversion" 
   60     return this->get_override(
"collide")(o1, o2);
 
   61 #pragma GCC diagnostic pop 
   65     bp::class_<CollisionCallBackBaseWrapper, boost::noncopyable>(
 
   66         "CollisionCallBackBase", bp::no_init)
 
   71         .def(
"__call__", &Base::operator(),
 
   77                                      bp::wrapper<DistanceCallBackBase> {
 
   81   void init() { this->get_override(
"init")(); }
 
   83                 Eigen::Matrix<double, 1, 1>& dist) {
 
   84     return distance(o1, o2, dist.coeffRef(0, 0));
 
   88 #pragma GCC diagnostic push 
   89 #pragma GCC diagnostic ignored "-Wconversion" 
   90     return this->get_override(
"distance")(o1, o2, dist);
 
   91 #pragma GCC diagnostic pop 
   95     bp::class_<DistanceCallBackBaseWrapper, boost::noncopyable>(
 
   96         "DistanceCallBackBase", bp::no_init)
 
  101                  static_cast<bool (
Self::*)(
 
  105         .def(
"__call__", &Base::operator(),
 
  112 #endif  // ifndef COAL_PYTHON_BROADPHASE_BROADPHASE_CALLBACKS_HH 
  
virtual bool collide(CollisionObject *o1, CollisionObject *o2)=0
Collision evaluation between two objects in collision. This callback will cause the broadphase evalua...
DistanceCallBackBaseWrapper Self
DistanceCallBackBase Base
bool collide(CollisionObject *o1, CollisionObject *o2)
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.
bool distance(CollisionObject *o1, CollisionObject *o2, CoalScalar &dist)
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.
Base callback class for distance queries. This class can be supersed by child classes to provide desi...
the object for collision or distance computation, contains the geometry and the transform information
CollisionCallBackBase Base
void init()
Initialization of the callback before running the collision broadphase manager.
void init()
Initialization of the callback before running the collision broadphase manager.
Base callback class for collision queries. This class can be supersed by child classes to provide des...
virtual bool distance(CollisionObject *o1, CollisionObject *o2, CoalScalar &dist)=0
Distance evaluation between two objects in collision. This callback will cause the broadphase evaluat...
bool distance(CollisionObject *o1, CollisionObject *o2, Eigen::Matrix< double, 1, 1 > &dist)
const char * member_func_doc(FuncPtr)
hpp-fcl
Author(s): 
autogenerated on Fri Feb 14 2025 03:45:50