Go to the documentation of this file.
5 #ifndef __pinocchio_collision_broadphase_manager_base_hpp__
6 #define __pinocchio_collision_broadphase_manager_base_hpp__
14 template<
typename Derived>
55 return static_cast<Derived &
>(*this);
59 return static_cast<const Derived &
>(*this);
82 void update(
bool compute_local_aabb =
false)
84 derived().update(compute_local_aabb);
94 derived().update(geom_data_ptr_new);
164 #endif // ifndef __pinocchio_collision_broadphase_manager_base_hpp__
bool collide(CollisionObject &obj, CollisionCallBackBase *callback) const
Performs collision test between one object and all the objects belonging to the manager.
const GeometryModel & getGeometryModel() const
Returns the geometry model associated to the manager.
const GeometryData & getGeometryData() const
Returns the geometry data associated to the manager.
CollisionObject(const shared_ptr< CollisionGeometry > &cgeom_, bool compute_local_aabb=true)
const Model & getModel() const
Returns the model associated to the manager.
const GeometryModel * geometry_model_ptr
Pointer to the geometry model.
Interface for Pinocchio collision callback functors.
BroadPhaseManagerBase & operator=(const BroadPhaseManagerBase &other)
GeometryData * geometry_data_ptr
Pointer to the geometry data.
BroadPhaseManagerBase(const BroadPhaseManagerBase &other)
Copy constructor.
BroadPhaseManagerBase()
Default constructor.
const Derived & derived() const
GeometryData & getGeometryData()
Returns the geometry data associated to the manager.
bool collide(CollisionCallBackBase *callback) const
Performs collision test for the objects belonging to the manager.
void update(bool compute_local_aabb=false)
Update the manager from the current geometry positions and update the underlying FCL broad phase mana...
bool check() const
Check whether the base broad phase manager is aligned with the current collision_objects.
void update(GeometryData *geom_data_ptr_new)
Update the manager with a new geometry data.
const Model * model_ptr
Pointer to the model.
bool check(CollisionCallBackBase *callback) const
Check whether the callback is inline with *this.
bool collide(BroadPhaseManagerBase &other_manager, CollisionCallBackBase *callback) const
Performs collision test with objects belonging to another manager.
BroadPhaseManagerBase(const Model *model_ptr, const GeometryModel *geometry_model_ptr, GeometryData *geometry_data_ptr)
Constructor from a given geometry model and geometry data.
Main pinocchio namespace.
pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:25