Go to the documentation of this file.
39 #ifndef HPP_FCL_BROADPHASE_DEFAULT_BROADPHASE_CALLBACKS_H
40 #define HPP_FCL_BROADPHASE_DEFAULT_BROADPHASE_CALLBACKS_H
233 size_t numCollisionPairs()
const;
236 const std::vector<CollisionPair>& getCollisionPairs()
const;
247 std::vector<CollisionPair> collision_pairs;
255 #endif // HPP_FCL_BROADPHASE_DEFAULT_BROADPHASE_CALLBACKS_H
Collision data stores the collision request and the result given by collision algorithm.
std::pair< CollisionObject *, CollisionObject * > CollisionPair
virtual ~CollisionCallBackCollect()
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.
void init()
Initialize the callback. Clears the distance result and sets the done boolean to false.
void clear()
clear the result
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...
Default distance callback to check collision between collision objects.
bool defaultDistanceFunction(CollisionObject *o1, CollisionObject *o2, void *data, FCL_REAL &dist)
Collision data for use with the DefaultContinuousCollisionFunction. It stores the collision request a...
DistanceResult result
Distance result.
virtual ~DistanceCallBackDefault()
void init()
Initialize the callback. Clears the collision result and sets the done boolean to false.
void clear()
clear the results obtained
request to the collision algorithm
the object for collision or distance computation, contains the geometry and the transform information
DistanceRequest request
Distance request.
Collision callback to collect collision pairs potentially in contacts.
bool done
Whether the distance iteration can stop.
Default collision callback to check collision between collision objects.
bool defaultCollisionFunction(CollisionObject *o1, CollisionObject *o2, void *data)
Provides a simple callback for the collision query in the BroadPhaseCollisionManager....
request to the distance computation
void clear()
Clears the DistanceData.
void clear()
Clears the CollisionData.
Base callback class for collision queries. This class can be supersed by child classes to provide des...
CollisionRequest request
Collision request.
bool done
Whether the collision iteration can stop.
Distance data stores the distance request and the result given by distance algorithm.
CollisionResult result
Collision result.
virtual ~CollisionCallBackDefault()
hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:13