Go to the documentation of this file.
18 #ifndef COAL_COLLISION_UTILITY_H
19 #define COAL_COLLISION_UTILITY_H
25 COAL_DLLAPI CollisionGeometry*
extract(
const CollisionGeometry* model,
26 const Transform3s& pose,
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];
56 #endif // COAL_COLLISION_UTILITY_H
const char * get_object_type_name(OBJECT_TYPE object_type)
Returns the name associated to a OBJECT_TYPE.
NODE_TYPE
traversal node type: bounding volume (AABB, OBB, RSS, kIOS, OBBRSS, KDOP16, KDOP18,...
COAL_DLLAPI CollisionGeometry * extract(const CollisionGeometry *model, const Transform3s &pose, const AABB &aabb)
OBJECT_TYPE
object type: BVH (mesh, points), basic geometry, octree
const char * get_node_type_name(NODE_TYPE node_type)
Returns the name associated to a NODE_TYPE.
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:57