18 #ifndef COAL_COLLISION_UTILITY_H
19 #define COAL_COLLISION_UTILITY_H
33 static const char* node_type_name_all[] = {
34 "BV_UNKNOWN",
"BV_AABB",
"BV_OBB",
"BV_RSS",
35 "BV_kIOS",
"BV_OBBRSS",
"BV_KDOP16",
"BV_KDOP18",
36 "BV_KDOP24",
"GEOM_BOX",
"GEOM_SPHERE",
"GEOM_CAPSULE",
37 "GEOM_CONE",
"GEOM_CYLINDER",
"GEOM_CONVEX",
"GEOM_PLANE",
38 "GEOM_HALFSPACE",
"GEOM_TRIANGLE",
"GEOM_OCTREE",
"GEOM_ELLIPSOID",
39 "HF_AABB",
"HF_OBBRSS",
"NODE_COUNT"};
41 return node_type_name_all[node_type];
48 static const char* object_type_name_all[] = {
49 "OT_UNKNOWN",
"OT_BVH",
"OT_GEOM",
"OT_OCTREE",
"OT_HFIELD",
"OT_COUNT"};
51 return object_type_name_all[object_type];
A class describing the AABB collision structure, which is a box in 3D space determined by two diagona...
Definition: AABB.h:55
The geometry for the object for collision or distance computation.
Definition: collision_object.h:94
#define COAL_DLLAPI
Definition: config.hh:88
Main namespace.
Definition: broadphase_bruteforce.h:44
NODE_TYPE
traversal node type: bounding volume (AABB, OBB, RSS, kIOS, OBBRSS, KDOP16, KDOP18,...
Definition: collision_object.h:64
CollisionGeometry * extract(const CollisionGeometry *model, const Transform3s &pose, const AABB &aabb)
OBJECT_TYPE
object type: BVH (mesh, points), basic geometry, octree
Definition: collision_object.h:52
const char * get_object_type_name(OBJECT_TYPE object_type)
Returns the name associated to a OBJECT_TYPE.
Definition: collision_utility.h:47
const char * get_node_type_name(NODE_TYPE node_type)
Returns the name associated to a NODE_TYPE.
Definition: collision_utility.h:32