#include <gtest/gtest.h>#include "fcl/math/bv/utility.h"#include "fcl/narrowphase/collision.h"#include "fcl/narrowphase/detail/gjk_solver_indep.h"#include "fcl/narrowphase/detail/gjk_solver_libccd.h"#include "fcl/narrowphase/detail/traversal/collision_node.h"#include "fcl/narrowphase/continuous_collision.h"#include "test_fcl_utility.h"#include "fcl_resources/config.h"
Go to the source code of this file.
| Functions | |
| template<typename BV > | |
| bool | collide_Test (const Transform3< typename BV::S > &tf, const std::vector< Vector3< typename BV::S >> &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vector3< typename BV::S >> &vertices2, const std::vector< Triangle > &triangles2, detail::SplitMethodType split_method, bool verbose=true) | 
| template<typename BV > | |
| bool | collide_Test2 (const Transform3< typename BV::S > &tf, const std::vector< Vector3< typename BV::S >> &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vector3< typename BV::S >> &vertices2, const std::vector< Triangle > &triangles2, detail::SplitMethodType split_method, bool verbose=true) | 
| template<typename BV , typename TraversalNode > | |
| bool | collide_Test_Oriented (const Transform3< typename BV::S > &tf, const std::vector< Vector3< typename BV::S >> &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vector3< typename BV::S >> &vertices2, const std::vector< Triangle > &triangles2, detail::SplitMethodType split_method, bool verbose=true) | 
| template<typename S > | |
| std::vector< Contact< S > > & | global_pairs () | 
| template<typename S > | |
| std::vector< Contact< S > > & | global_pairs_now () | 
| GTEST_TEST (FCL_COLLISION, mesh_mesh) | |
| GTEST_TEST (FCL_COLLISION, OBB_AABB_test) | |
| GTEST_TEST (FCL_COLLISION, OBB_Box_test) | |
| GTEST_TEST (FCL_COLLISION, OBB_shape_test) | |
| GTEST_TEST (FCL_COLLISION, test_SplineMotion_rotated_spline_collide_test) | |
| int | main (int argc, char *argv[]) | 
| template<typename BV > | |
| bool | test_collide_func (const Transform3< typename BV::S > &tf, const std::vector< Vector3< typename BV::S >> &vertices1, const std::vector< Triangle > &triangles1, const std::vector< Vector3< typename BV::S >> &vertices2, const std::vector< Triangle > &triangles2, detail::SplitMethodType split_method) | 
| template<typename S > | |
| void | test_mesh_mesh () | 
| template<typename S > | |
| void | test_OBB_AABB_test () | 
| template<typename S > | |
| void | test_OBB_Box_test () | 
| template<typename S > | |
| void | test_OBB_shape_test () | 
| template<typename S > | |
| void | test_SplineMotion_rotated_spline_collide_test () | 
| Variables | |
| bool | enable_contact = true | 
| int | num_max_contacts = std::numeric_limits<int>::max() | 
| bool collide_Test | ( | const Transform3< typename BV::S > & | tf, | 
| const std::vector< Vector3< typename BV::S >> & | vertices1, | ||
| const std::vector< Triangle > & | triangles1, | ||
| const std::vector< Vector3< typename BV::S >> & | vertices2, | ||
| const std::vector< Triangle > & | triangles2, | ||
| detail::SplitMethodType | split_method, | ||
| bool | verbose = true | ||
| ) | 
Definition at line 987 of file test_fcl_collision.cpp.
| bool collide_Test2 | ( | const Transform3< typename BV::S > & | tf, | 
| const std::vector< Vector3< typename BV::S >> & | vertices1, | ||
| const std::vector< Triangle > & | triangles1, | ||
| const std::vector< Vector3< typename BV::S >> & | vertices2, | ||
| const std::vector< Triangle > & | triangles2, | ||
| detail::SplitMethodType | split_method, | ||
| bool | verbose = true | ||
| ) | 
Definition at line 918 of file test_fcl_collision.cpp.
| bool collide_Test_Oriented | ( | const Transform3< typename BV::S > & | tf, | 
| const std::vector< Vector3< typename BV::S >> & | vertices1, | ||
| const std::vector< Triangle > & | triangles1, | ||
| const std::vector< Vector3< typename BV::S >> & | vertices2, | ||
| const std::vector< Triangle > & | triangles2, | ||
| detail::SplitMethodType | split_method, | ||
| bool | verbose = true | ||
| ) | 
Definition at line 1048 of file test_fcl_collision.cpp.
| std::vector<Contact<S> >& global_pairs | ( | ) | 
Definition at line 78 of file test_fcl_collision.cpp.
| std::vector<Contact<S> >& global_pairs_now | ( | ) | 
Definition at line 85 of file test_fcl_collision.cpp.
| GTEST_TEST | ( | FCL_COLLISION | , | 
| mesh_mesh | |||
| ) | 
Definition at line 911 of file test_fcl_collision.cpp.
| GTEST_TEST | ( | FCL_COLLISION | , | 
| OBB_AABB_test | |||
| ) | 
Definition at line 905 of file test_fcl_collision.cpp.
| GTEST_TEST | ( | FCL_COLLISION | , | 
| OBB_Box_test | |||
| ) | 
Definition at line 890 of file test_fcl_collision.cpp.
| GTEST_TEST | ( | FCL_COLLISION | , | 
| OBB_shape_test | |||
| ) | 
Definition at line 899 of file test_fcl_collision.cpp.
| GTEST_TEST | ( | FCL_COLLISION | , | 
| test_SplineMotion_rotated_spline_collide_test | |||
| ) | 
Definition at line 145 of file test_fcl_collision.cpp.
| int main | ( | int | argc, | 
| char * | argv[] | ||
| ) | 
Definition at line 1153 of file test_fcl_collision.cpp.
| bool test_collide_func | ( | const Transform3< typename BV::S > & | tf, | 
| const std::vector< Vector3< typename BV::S >> & | vertices1, | ||
| const std::vector< Triangle > & | triangles1, | ||
| const std::vector< Vector3< typename BV::S >> & | vertices2, | ||
| const std::vector< Triangle > & | triangles2, | ||
| detail::SplitMethodType | split_method | ||
| ) | 
Definition at line 1108 of file test_fcl_collision.cpp.
| void test_mesh_mesh | ( | ) | 
Definition at line 314 of file test_fcl_collision.cpp.
| void test_OBB_AABB_test | ( | ) | 
Definition at line 272 of file test_fcl_collision.cpp.
| void test_OBB_Box_test | ( | ) | 
Definition at line 151 of file test_fcl_collision.cpp.
| void test_OBB_shape_test | ( | ) | 
Definition at line 196 of file test_fcl_collision.cpp.
| void test_SplineMotion_rotated_spline_collide_test | ( | ) | 
Definition at line 92 of file test_fcl_collision.cpp.
| bool enable_contact = true | 
Definition at line 75 of file test_fcl_collision.cpp.
| int num_max_contacts = std::numeric_limits<int>::max() | 
Definition at line 74 of file test_fcl_collision.cpp.