Go to the documentation of this file.
39 #ifndef COAL_BROADPHASE_DEFAULT_BROADPHASE_CALLBACKS_H
40 #define COAL_BROADPHASE_DEFAULT_BROADPHASE_CALLBACKS_H
232 size_t numCollisionPairs()
const;
235 const std::vector<CollisionPair>& getCollisionPairs()
const;
249 std::vector<CollisionPair> collision_pairs;
255 #endif // COAL_BROADPHASE_DEFAULT_BROADPHASE_CALLBACKS_H
Default collision callback to check collision between collision objects.
void clear()
Clears the DistanceData.
Distance data stores the distance request and the result given by distance algorithm.
virtual ~CollisionCallBackCollect()
CollisionResult result
Collision result.
std::pair< CollisionObject *, CollisionObject * > CollisionPair
virtual ~CollisionCallBackDefault()
virtual ~DistanceCallBackDefault()
COAL_DLLAPI CoalScalar distance(const Matrix3s &R0, const Vec3s &T0, const kIOS &b1, const kIOS &b2, Vec3s *P=NULL, Vec3s *Q=NULL)
Approximate distance between two kIOS bounding volumes.
Collision callback to collect collision pairs potentially in contacts.
Default distance callback to check collision between collision objects.
request to the distance computation
void clear()
clear the results obtained
bool defaultCollisionFunction(CollisionObject *o1, CollisionObject *o2, void *data)
Provides a simple callback for the collision query in the BroadPhaseCollisionManager....
void init()
Initialize the callback. Clears the distance result and sets the done boolean to false.
void init()
Initialize the callback. Clears the collision result and sets the done boolean to false.
bool done
Whether the distance iteration can stop.
request to the collision algorithm
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
DistanceRequest request
Distance request.
bool defaultDistanceFunction(CollisionObject *o1, CollisionObject *o2, void *data, CoalScalar &dist)
Collision data for use with the DefaultContinuousCollisionFunction. It stores the collision request a...
void clear()
Clears the CollisionData.
COAL_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,...
Collision data stores the collision request and the result given by collision algorithm.
CollisionRequest request
Collision request.
Base callback class for collision queries. This class can be supersed by child classes to provide des...
bool done
Whether the collision iteration can stop.
DistanceResult result
Distance result.
void clear()
clear the result
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:57