hpp-fcl
2.4.1
HPP fork of FCL -- The Flexible Collision Library
|
Go to the documentation of this file.
38 #ifndef HPP_FCL_BROAD_PHASE_INTERVAL_TREE_H
39 #define HPP_FCL_BROAD_PHASE_INTERVAL_TREE_H
55 using Base::getObjects;
71 virtual void update();
77 void update(
const std::vector<CollisionObject*>& updated_objs);
83 void getObjects(std::vector<CollisionObject*>& objs)
const;
129 bool operator<(
const EndPoint& p)
const;
141 typename std::deque<detail::SimpleInterval*>::const_iterator pos_start,
142 typename std::deque<detail::SimpleInterval*>::const_iterator pos_end,
146 typename std::deque<detail::SimpleInterval*>::const_iterator pos_start,
147 typename std::deque<detail::SimpleInterval*>::const_iterator pos_end,
157 std::vector<EndPoint> endpoints[3];
162 std::map<CollisionObject*, SAPInterval*> obj_interval_maps[3];
#define HPP_FCL_DLLAPI
Definition: config.hh:88
bool setup_
tag for whether the interval tree is maintained suitably
Definition: broadphase_interval_tree.h:165
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...
Definition: broadphase_collision_manager.h:54
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,...
double FCL_REAL
Definition: data_types.h:65
Base callback class for distance queries. This class can be supersed by child classes to provide desi...
Definition: broadphase_callbacks.h:73
FCL_REAL value
end point value
Definition: broadphase_interval_tree.h:123
Main namespace.
Definition: broadphase_bruteforce.h:44
the object for collision or distance computation, contains the geometry and the transform information
Definition: collision_object.h:215
Extention interval tree's interval to SAP interval, adding more information.
Definition: broadphase_interval_tree.h:134
SAP end point.
Definition: broadphase_interval_tree.h:118
Interval tree.
Definition: interval_tree.h:64
CollisionObject * obj
Definition: broadphase_interval_tree.h:135
Base callback class for collision queries. This class can be supersed by child classes to provide des...
Definition: broadphase_callbacks.h:50
Interval trees implemented using red-black-trees as described in the book Introduction_To_Algorithms_...
Definition: simple_interval.h:50
CollisionObject * obj
object related with the end point
Definition: broadphase_interval_tree.h:120
BroadPhaseCollisionManager Base
Definition: broadphase_interval_tree.h:54
char minmax
tag for whether it is a lower bound or higher bound of an interval, 0 for lo, and 1 for hi
Definition: broadphase_interval_tree.h:127
Collision manager based on interval tree.
Definition: broadphase_interval_tree.h:51