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_DYNAMIC_AABB_TREE_H
39 #define HPP_FCL_BROAD_PHASE_DYNAMIC_AABB_TREE_H
41 #include <unordered_map>
58 using Base::getObjects;
62 std::unordered_map<CollisionObject*, DynamicAABBNode*>;
66 int* tree_topdown_balance_threshold{
nullptr};
67 int* tree_topdown_level{
nullptr};
76 void registerObjects(
const std::vector<CollisionObject*>& other_objs);
88 virtual void update();
94 void update(
const std::vector<CollisionObject*>& updated_objs);
100 void getObjects(std::vector<CollisionObject*>& objs)
const;
140 std::unordered_map<CollisionObject*, DynamicAABBNode*> table;
#define HPP_FCL_DLLAPI
Definition: config.hh:88
std::unordered_map< CollisionObject *, DynamicAABBNode * > DynamicAABBTable
Definition: broadphase_dynamic_AABB_tree.h:62
int tree_init_level
Definition: broadphase_dynamic_AABB_tree.h:68
Class for hierarchy tree structure.
Definition: hierarchy_tree.h:57
BroadPhaseCollisionManager Base
Definition: broadphase_dynamic_AABB_tree.h:57
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
int max_tree_nonbalanced_level
Definition: broadphase_dynamic_AABB_tree.h:64
Definition: broadphase_dynamic_AABB_tree.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,...
Base callback class for distance queries. This class can be supersed by child classes to provide desi...
Definition: broadphase_callbacks.h:73
int tree_incremental_balance_pass
Definition: broadphase_dynamic_AABB_tree.h:65
bool octree_as_geometry_collide
Definition: broadphase_dynamic_AABB_tree.h:70
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
dynamic AABB tree node
Definition: node_base.h:50
Base callback class for collision queries. This class can be supersed by child classes to provide des...
Definition: broadphase_callbacks.h:50
bool octree_as_geometry_distance
Definition: broadphase_dynamic_AABB_tree.h:71