Go to the documentation of this file.
38 #ifndef HPP_FCL_BROADPHASE_BROADPHASECOLLISIONMANAGER_H
39 #define HPP_FCL_BROADPHASE_BROADPHASECOLLISIONMANAGER_H
43 #include <boost/function.hpp>
61 virtual void registerObjects(
const std::vector<CollisionObject*>& other_objs);
70 virtual void setup() = 0;
73 virtual void update() = 0;
79 virtual void update(
const std::vector<CollisionObject*>& updated_objs);
82 virtual void clear() = 0;
85 virtual void getObjects(std::vector<CollisionObject*>& objs)
const = 0;
88 virtual std::vector<CollisionObject*>
getObjects()
const {
89 std::vector<CollisionObject*>
res(size());
121 virtual bool empty()
const = 0;
124 virtual size_t size()
const = 0;
130 mutable std::set<std::pair<CollisionObject*, CollisionObject*> >
tested_set;
std::set< std::pair< CollisionObject *, CollisionObject * > > tested_set
tools help to avoid repeating collision or distance callback for the pairs of objects tested before....
HPP_FCL_DLLAPI FCL_REAL distance(const Matrix3f &R0, const Vec3f &T0, const kIOS &b1, const kIOS &b2, Vec3f *P=NULL, Vec3f *Q=NULL)
Approximate distance between two kIOS bounding volumes.
Base class for broad phase collision. It helps to accelerate the collision/distance between N objects...
HPP_FCL_DLLAPI std::size_t collide(const CollisionObject *o1, const CollisionObject *o2, const CollisionRequest &request, CollisionResult &result)
Main collision interface: given two collision objects, and the requirements for contacts,...
Base callback class for distance queries. This class can be supersed by child classes to provide desi...
virtual std::vector< CollisionObject * > getObjects() const
return the objects managed by the manager
the object for collision or distance computation, contains the geometry and the transform information
Base callback class for collision queries. This class can be supersed by child classes to provide des...
hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:12