Go to the documentation of this file.
38 #ifndef COAL_BROAD_PHASE_DYNAMIC_AABB_TREE_H
39 #define COAL_BROAD_PHASE_DYNAMIC_AABB_TREE_H
41 #include <unordered_map>
57 using Base::getObjects;
61 std::unordered_map<CollisionObject*, DynamicAABBNode*>;
65 int* tree_topdown_balance_threshold{
nullptr};
66 int* tree_topdown_level{
nullptr};
75 void registerObjects(
const std::vector<CollisionObject*>& other_objs);
87 virtual void update();
93 void update(
const std::vector<CollisionObject*>& updated_objs);
99 void getObjects(std::vector<CollisionObject*>& objs)
const;
139 std::unordered_map<CollisionObject*, DynamicAABBNode*>
table;
std::unordered_map< CollisionObject *, DynamicAABBNode * > DynamicAABBTable
Base class for broad phase collision. It helps to accelerate the collision/distance between N objects...
int tree_incremental_balance_pass
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.
BroadPhaseCollisionManager Base
std::unordered_map< CollisionObject *, DynamicAABBNode * > table
Class for hierarchy tree structure.
bool octree_as_geometry_collide
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
bool octree_as_geometry_distance
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...
int max_tree_nonbalanced_level
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:57