#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.
| Classes | |
| struct | CollisionDataForUniquenessChecking< S > | 
| Functions | |
| template<typename S > | |
| void | broad_phase_duplicate_check_test (S env_scale, std::size_t env_size, bool verbose=false) | 
| make sure if broadphase algorithms doesn't check twice for the same collision object pair  More... | |
| template<typename S > | |
| void | broad_phase_update_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 update  More... | |
| template<typename S > | |
| bool | collisionFunctionForUniquenessChecking (CollisionObject< S > *o1, CollisionObject< S > *o2, void *cdata_) | 
| GTEST_TEST (FCL_BROADPHASE, test_broad_phase_dont_duplicate_check) | |
| GTEST_TEST (FCL_BROADPHASE, test_core_bf_broad_phase_update_collision) | |
| check the update, return 10 contacts  More... | |
| GTEST_TEST (FCL_BROADPHASE, test_core_bf_broad_phase_update_collision_binary) | |
| check the update, only return collision or not  More... | |
| GTEST_TEST (FCL_BROADPHASE, test_core_bf_broad_phase_update_collision_exhaustive) | |
| check the update, exhaustive  More... | |
| GTEST_TEST (FCL_BROADPHASE, test_core_mesh_bf_broad_phase_update_collision_mesh) | |
| check broad phase update, in mesh, return 10 contacts  More... | |
| GTEST_TEST (FCL_BROADPHASE, test_core_mesh_bf_broad_phase_update_collision_mesh_binary) | |
| check broad phase update, in mesh, only return collision or not  More... | |
| GTEST_TEST (FCL_BROADPHASE, test_core_mesh_bf_broad_phase_update_collision_mesh_exhaustive) | |
| check broad phase update, in mesh, exhaustive  More... | |
| int | main (int argc, char *argv[]) | 
| void broad_phase_duplicate_check_test | ( | S | env_scale, | 
| std::size_t | env_size, | ||
| bool | verbose = false | ||
| ) | 
make sure if broadphase algorithms doesn't check twice for the same collision object pair
Definition at line 204 of file test_fcl_broadphase_collision_1.cpp.
| void broad_phase_update_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 update
Definition at line 350 of file test_fcl_broadphase_collision_1.cpp.
| bool collisionFunctionForUniquenessChecking | ( | CollisionObject< S > * | o1, | 
| CollisionObject< S > * | o2, | ||
| void * | cdata_ | ||
| ) | 
Definition at line 192 of file test_fcl_broadphase_collision_1.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_broad_phase_dont_duplicate_check | |||
| ) | 
make sure if broadphase algorithms doesn't check twice for the same collision object pair
Definition at line 90 of file test_fcl_broadphase_collision_1.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_core_bf_broad_phase_update_collision | |||
| ) | 
check the update, return 10 contacts
Definition at line 112 of file test_fcl_broadphase_collision_1.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_core_bf_broad_phase_update_collision_binary | |||
| ) | 
check the update, only return collision or not
Definition at line 100 of file test_fcl_broadphase_collision_1.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_core_bf_broad_phase_update_collision_exhaustive | |||
| ) | 
check the update, exhaustive
Definition at line 124 of file test_fcl_broadphase_collision_1.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_core_mesh_bf_broad_phase_update_collision_mesh | |||
| ) | 
check broad phase update, in mesh, return 10 contacts
Definition at line 148 of file test_fcl_broadphase_collision_1.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_core_mesh_bf_broad_phase_update_collision_mesh_binary | |||
| ) | 
check broad phase update, in mesh, only return collision or not
Definition at line 136 of file test_fcl_broadphase_collision_1.cpp.
| GTEST_TEST | ( | FCL_BROADPHASE | , | 
| test_core_mesh_bf_broad_phase_update_collision_mesh_exhaustive | |||
| ) | 
check broad phase update, in mesh, exhaustive
Definition at line 160 of file test_fcl_broadphase_collision_1.cpp.
| int main | ( | int | argc, | 
| char * | argv[] | ||
| ) | 
Definition at line 584 of file test_fcl_broadphase_collision_1.cpp.