#include <gtest/gtest.h>#include "fcl/config.h"#include "fcl/broadphase/broadphase_bruteforce.h"#include "fcl/broadphase/broadphase_spatialhash.h"#include "fcl/broadphase/broadphase_SaP.h"#include "fcl/broadphase/broadphase_SSaP.h"#include "fcl/broadphase/broadphase_interval_tree.h"#include "fcl/broadphase/broadphase_dynamic_AABB_tree.h"#include "fcl/broadphase/broadphase_dynamic_AABB_tree_array.h"#include "fcl/broadphase/default_broadphase_callbacks.h"#include "fcl/broadphase/detail/sparse_hash_table.h"#include "fcl/broadphase/detail/spatial_hash.h"#include "fcl/geometry/geometric_shape_to_BVH_model.h"#include "test_fcl_utility.h"#include <iostream>#include <iomanip>
Go to the source code of this file.
| Functions | |
| template<typename S > | |
| void | broad_phase_collision_test (S env_scale, std::size_t env_size, std::size_t query_size, std::size_t num_max_contacts=1, bool exhaustive=false, bool use_mesh=false) | 
| test for broad phase collision and self collision  More... | |
| GTEST_TEST (FCL_BROADPHASE, test_core_bf_broad_phase_collision) | |
| check broad phase collision and self collision, return 10 contacts  More... | |
| GTEST_TEST (FCL_BROADPHASE, test_core_bf_broad_phase_collision_binary) | |
| check broad phase collision and self collision, only return collision or not  More... | |
| GTEST_TEST (FCL_BROADPHASE, test_core_bf_broad_phase_collision_empty) | |
| check broad phase collision for empty collision object set and queries  More... | |
| GTEST_TEST (FCL_BROADPHASE, test_core_mesh_bf_broad_phase_collision_mesh) | |
| check broad phase collision and self collision, return 10 contacts, in mesh  More... | |
| GTEST_TEST (FCL_BROADPHASE, test_core_mesh_bf_broad_phase_collision_mesh_binary) | |
| check broad phase collision and self collision, return only collision or not, in mesh  More... | |
| GTEST_TEST (FCL_BROADPHASE, test_core_mesh_bf_broad_phase_collision_mesh_exhaustive) | |
| check broad phase collision and self collision, exhaustive, in mesh  More... | |
| int | main (int argc, char *argv[]) | 
| void broad_phase_collision_test | ( | S | env_scale, | 
| std::size_t | env_size, | ||
| std::size_t | query_size, | ||
| std::size_t | num_max_contacts = 1, | ||
| bool | exhaustive = false, | ||
| bool | use_mesh = false | ||
| ) | 
test for broad phase collision and self collision
Definition at line 186 of file test_fcl_broadphase_collision_2.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_core_bf_broad_phase_collision | |||
| ) | 
check broad phase collision and self collision, return 10 contacts
Definition at line 138 of file test_fcl_broadphase_collision_2.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_core_bf_broad_phase_collision_binary | |||
| ) | 
check broad phase collision and self collision, only return collision or not
Definition at line 122 of file test_fcl_broadphase_collision_2.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_core_bf_broad_phase_collision_empty | |||
| ) | 
check broad phase collision for empty collision object set and queries
Definition at line 84 of file test_fcl_broadphase_collision_2.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_core_mesh_bf_broad_phase_collision_mesh | |||
| ) | 
check broad phase collision and self collision, return 10 contacts, in mesh
Definition at line 162 of file test_fcl_broadphase_collision_2.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_core_mesh_bf_broad_phase_collision_mesh_binary | |||
| ) | 
check broad phase collision and self collision, return only collision or not, in mesh
Definition at line 150 of file test_fcl_broadphase_collision_2.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_core_mesh_bf_broad_phase_collision_mesh_exhaustive | |||
| ) | 
check broad phase collision and self collision, exhaustive, in mesh
Definition at line 174 of file test_fcl_broadphase_collision_2.cpp.
| int main | ( | int | argc, | 
| char * | argv[] | ||
| ) | 
Definition at line 382 of file test_fcl_broadphase_collision_2.cpp.