Go to the documentation of this file.
38 #ifndef COAL_BROAD_PHASE_INTERVAL_TREE_H
39 #define COAL_BROAD_PHASE_INTERVAL_TREE_H
54 using Base::getObjects;
70 virtual void update();
76 void update(
const std::vector<CollisionObject*>& updated_objs);
82 void getObjects(std::vector<CollisionObject*>& objs)
const;
128 bool operator<(
const EndPoint& p)
const;
140 typename std::deque<detail::SimpleInterval*>::const_iterator pos_start,
141 typename std::deque<detail::SimpleInterval*>::const_iterator pos_end,
145 typename std::deque<detail::SimpleInterval*>::const_iterator pos_start,
146 typename std::deque<detail::SimpleInterval*>::const_iterator pos_end,
156 std::vector<EndPoint> endpoints[3];
161 std::map<CollisionObject*, SAPInterval*> obj_interval_maps[3];
CollisionObject * obj
object related with the end point
BroadPhaseCollisionManager Base
CoalScalar value
end point value
Base class for broad phase collision. It helps to accelerate the collision/distance between N objects...
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.
Interval trees implemented using red-black-trees as described in the book Introduction_To_Algorithms_...
Collision manager based on interval tree.
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
Extention interval tree's interval to SAP interval, adding more information.
char minmax
tag for whether it is a lower bound or higher bound of an interval, 0 for lo, and 1 for hi
bool setup_
tag for whether the interval tree is maintained suitably
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,...
Base callback class for collision queries. This class can be supersed by child classes to provide des...
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:57