Functions
test_fcl_broadphase_distance.cpp File Reference
#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>
Include dependency graph for test_fcl_broadphase_distance.cpp:

Go to the source code of this file.

Functions

template<typename S >
void broad_phase_distance_test (S env_scale, std::size_t env_size, std::size_t query_size, bool use_mesh=false)
 test for broad phase distance More...
 
template<typename S >
void broad_phase_self_distance_test (S env_scale, std::size_t env_size, bool use_mesh=false)
 test for broad phase self distance More...
 
template<typename S >
void generateSelfDistanceEnvironments (std::vector< CollisionObject< S > * > &env, S env_scale, std::size_t n)
 Generate environment with 3 * n objects for self distance, so we try to make sure none of them collide with each other. More...
 
template<typename S >
void generateSelfDistanceEnvironmentsMesh (std::vector< CollisionObject< S > * > &env, S env_scale, std::size_t n)
 Generate environment with 3 * n objects for self distance, but all in meshes. More...
 
template<typename S >
getDELTA ()
 
 GTEST_TEST (FCL_BROADPHASE, test_core_bf_broad_phase_distance)
 check broad phase distance More...
 
 GTEST_TEST (FCL_BROADPHASE, test_core_bf_broad_phase_self_distance)
 check broad phase self distance More...
 
 GTEST_TEST (FCL_BROADPHASE, test_core_mesh_bf_broad_phase_distance_mesh)
 check broad phase distance More...
 
 GTEST_TEST (FCL_BROADPHASE, test_core_mesh_bf_broad_phase_self_distance_mesh)
 check broad phase self distance More...
 
int main (int argc, char *argv[])
 

Function Documentation

◆ broad_phase_distance_test()

template<typename S >
void broad_phase_distance_test ( env_scale,
std::size_t  env_size,
std::size_t  query_size,
bool  use_mesh = false 
)

test for broad phase distance

Definition at line 433 of file test_fcl_broadphase_distance.cpp.

◆ broad_phase_self_distance_test()

template<typename S >
void broad_phase_self_distance_test ( env_scale,
std::size_t  env_size,
bool  use_mesh = false 
)

test for broad phase self distance

Definition at line 321 of file test_fcl_broadphase_distance.cpp.

◆ generateSelfDistanceEnvironments()

template<typename S >
void generateSelfDistanceEnvironments ( std::vector< CollisionObject< S > * > &  env,
env_scale,
std::size_t  n 
)

Generate environment with 3 * n objects for self distance, so we try to make sure none of them collide with each other.

Definition at line 159 of file test_fcl_broadphase_distance.cpp.

◆ generateSelfDistanceEnvironmentsMesh()

template<typename S >
void generateSelfDistanceEnvironmentsMesh ( std::vector< CollisionObject< S > * > &  env,
env_scale,
std::size_t  n 
)

Generate environment with 3 * n objects for self distance, but all in meshes.

Definition at line 235 of file test_fcl_broadphase_distance.cpp.

◆ getDELTA()

template<typename S >
S getDELTA ( )

Definition at line 82 of file test_fcl_broadphase_distance.cpp.

◆ GTEST_TEST() [1/4]

GTEST_TEST ( FCL_BROADPHASE  ,
test_core_bf_broad_phase_distance   
)

check broad phase distance

Definition at line 99 of file test_fcl_broadphase_distance.cpp.

◆ GTEST_TEST() [2/4]

GTEST_TEST ( FCL_BROADPHASE  ,
test_core_bf_broad_phase_self_distance   
)

check broad phase self distance

Definition at line 115 of file test_fcl_broadphase_distance.cpp.

◆ GTEST_TEST() [3/4]

GTEST_TEST ( FCL_BROADPHASE  ,
test_core_mesh_bf_broad_phase_distance_mesh   
)

check broad phase distance

Definition at line 129 of file test_fcl_broadphase_distance.cpp.

◆ GTEST_TEST() [4/4]

GTEST_TEST ( FCL_BROADPHASE  ,
test_core_mesh_bf_broad_phase_self_distance_mesh   
)

check broad phase self distance

Definition at line 145 of file test_fcl_broadphase_distance.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 587 of file test_fcl_broadphase_distance.cpp.



fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:50