5 #ifndef __pinocchio_python_collision_broadphase_manager_base_hpp__
6 #define __pinocchio_python_collision_broadphase_manager_base_hpp__
18 template<
typename Derived>
20 :
public bp::def_visitor<BroadPhaseManagerBasePythonVisitor<Derived>>
29 return const_cast<Model &
>(
self.getModel());
38 template<
class PyClass>
43 "getModel",
getModel, bp::arg(
"self"),
"Returns the related model.",
44 bp::return_internal_reference<>())
47 "Returns the related geometry model.", bp::return_internal_reference<>())
50 bp::arg(
"self"),
"Returns the related geometry data.",
51 bp::return_internal_reference<>())
54 "check", (
bool(
Self::*)()
const) & Self::check, bp::arg(
"self"),
55 "Check whether the base broad phase manager is aligned with the current "
59 bp::args(
"self",
"callback"),
"Check whether the callback is inline with *this.")
63 (bp::arg(
"self"), bp::arg(
"compute_local_aabb") =
false),
64 "Update the manager from the current geometry positions and update the underlying "
65 "FCL broad phase manager.")
68 (bp::arg(
"self"), bp::arg(
"geom_data_new")),
69 "Update the manager with a new geometry data.", bp::with_custodian_and_ward<1, 2>())
74 bp::args(
"self",
"collision_object",
"callback"),
75 "Performs collision test between one object and all the objects belonging to the "
79 bp::args(
"self",
"callback"),
80 "Performs collision test for the objects belonging to the manager.")
83 bp::args(
"self",
"other_manager",
"callback"),
84 "Performs collision test with objects belonging to another manager.");
91 #endif // ifndef __pinocchio_python_collision_broadphase_manager_base_hpp__