18 #ifndef HPP_FCL_COLLISION_UTILITY_H 19 #define HPP_FCL_COLLISION_UTILITY_H 26 HPP_FCL_DLLAPI CollisionGeometry*
extract(
const CollisionGeometry* model,
27 const Transform3f& pose,
34 static const char* node_type_name_all[] = {
35 "BV_UNKNOWN",
"BV_AABB",
"BV_OBB",
"BV_RSS",
36 "BV_kIOS",
"BV_OBBRSS",
"BV_KDOP16",
"BV_KDOP18",
37 "BV_KDOP24",
"GEOM_BOX",
"GEOM_SPHERE",
"GEOM_CAPSULE",
38 "GEOM_CONE",
"GEOM_CYLINDER",
"GEOM_CONVEX",
"GEOM_PLANE",
39 "GEOM_HALFSPACE",
"GEOM_TRIANGLE",
"GEOM_OCTREE",
"GEOM_ELLIPSOID",
40 "HF_AABB",
"HF_OBBRSS",
"NODE_COUNT"};
42 return node_type_name_all[node_type];
49 static const char* object_type_name_all[] = {
50 "OT_UNKNOWN",
"OT_BVH",
"OT_GEOM",
"OT_OCTREE",
"OT_HFIELD",
"OT_COUNT"};
52 return object_type_name_all[object_type];
59 #endif // FCL_COLLISION_UTILITY_H HPP_FCL_DLLAPI CollisionGeometry * extract(const CollisionGeometry *model, const Transform3f &pose, const AABB &aabb)
const char * get_node_type_name(NODE_TYPE node_type)
Returns the name associated to a NODE_TYPE.
OBJECT_TYPE
object type: BVH (mesh, points), basic geometry, octree
NODE_TYPE
traversal node type: bounding volume (AABB, OBB, RSS, kIOS, OBBRSS, KDOP16, KDOP18, kDOP24), basic shape (box, sphere, ellipsoid, capsule, cone, cylinder, convex, plane, triangle), and octree
const char * get_object_type_name(OBJECT_TYPE object_type)
Returns the name associated to a OBJECT_TYPE.