#include <geometric_shapes/bodies.h>#include <geometric_shapes/shape_operations.h>#include <geometric_shapes/body_operations.h>#include <boost/filesystem.hpp>#include <random_numbers/random_numbers.h>#include <gtest/gtest.h>#include "resources/config.h"
Go to the source code of this file.
Macros | |
| #define | CHECK_INTERSECTS(body, origin, direction, numIntersections) |
| #define | CHECK_INTERSECTS_ONCE(body, origin, direction, intersection, error) |
| #define | CHECK_INTERSECTS_TWICE(body, origin, direction, intersc1, intersc2, error) |
| #define | CHECK_NO_INTERSECTION(body, origin, direction) |
| #define | EXPECT_VECTORS_EQUAL(v1, v2, error) |
Functions | |
| Eigen::Isometry3d | getRandomPose (random_numbers::RandomNumberGenerator &g) |
| int | main (int argc, char **argv) |
| TEST (BoxRayIntersection, OriginInside) | |
| TEST (BoxRayIntersection, OriginOutsideIntersects) | |
| TEST (BoxRayIntersection, Regression109) | |
| TEST (BoxRayIntersection, SimpleRay1) | |
| TEST (BoxRayIntersection, SimpleRay2) | |
| TEST (BoxRayIntersection, SimpleRay3) | |
| TEST (ConvexMeshRayIntersection, OriginInside) | |
| TEST (ConvexMeshRayIntersection, OriginOutsideIntersects) | |
| TEST (ConvexMeshRayIntersection, SimpleRay1) | |
| TEST (ConvexMeshRayIntersection, SimpleRay2) | |
| TEST (ConvexMeshRayIntersection, SimpleRay3) | |
| TEST (CylinderRayIntersection, OriginInside) | |
| TEST (CylinderRayIntersection, OriginOutside) | |
| TEST (CylinderRayIntersection, SimpleRay1) | |
| TEST (CylinderRayIntersection, SimpleRay2) | |
| TEST (SphereRayIntersection, OriginInside) | |
| TEST (SphereRayIntersection, OriginOutside) | |
| TEST (SphereRayIntersection, SimpleRay1) | |
| TEST (SphereRayIntersection, SimpleRay2) | |
| #define CHECK_INTERSECTS | ( | body, | |
| origin, | |||
| direction, | |||
| numIntersections | |||
| ) |
Definition at line 72 of file test_ray_intersection.cpp.
| #define CHECK_INTERSECTS_ONCE | ( | body, | |
| origin, | |||
| direction, | |||
| intersection, | |||
| error | |||
| ) |
Definition at line 82 of file test_ray_intersection.cpp.
| #define CHECK_INTERSECTS_TWICE | ( | body, | |
| origin, | |||
| direction, | |||
| intersc1, | |||
| intersc2, | |||
| error | |||
| ) |
Definition at line 97 of file test_ray_intersection.cpp.
| #define CHECK_NO_INTERSECTION | ( | body, | |
| origin, | |||
| direction | |||
| ) |
Definition at line 62 of file test_ray_intersection.cpp.
| #define EXPECT_VECTORS_EQUAL | ( | v1, | |
| v2, | |||
| error | |||
| ) |
Definition at line 57 of file test_ray_intersection.cpp.
| Eigen::Isometry3d getRandomPose | ( | random_numbers::RandomNumberGenerator & | g | ) |
\Author Ioan Sucan \Author Martin Pecka
Definition at line 46 of file test_ray_intersection.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 1373 of file test_ray_intersection.cpp.
| TEST | ( | BoxRayIntersection | , |
| OriginInside | |||
| ) |
Definition at line 753 of file test_ray_intersection.cpp.
| TEST | ( | BoxRayIntersection | , |
| OriginOutsideIntersects | |||
| ) |
Definition at line 901 of file test_ray_intersection.cpp.
| TEST | ( | BoxRayIntersection | , |
| Regression109 | |||
| ) |
Definition at line 740 of file test_ray_intersection.cpp.
| TEST | ( | BoxRayIntersection | , |
| SimpleRay1 | |||
| ) |
Definition at line 703 of file test_ray_intersection.cpp.
| TEST | ( | BoxRayIntersection | , |
| SimpleRay2 | |||
| ) |
Definition at line 712 of file test_ray_intersection.cpp.
| TEST | ( | BoxRayIntersection | , |
| SimpleRay3 | |||
| ) |
Definition at line 726 of file test_ray_intersection.cpp.
| TEST | ( | ConvexMeshRayIntersection | , |
| OriginInside | |||
| ) |
Definition at line 1081 of file test_ray_intersection.cpp.
| TEST | ( | ConvexMeshRayIntersection | , |
| OriginOutsideIntersects | |||
| ) |
Definition at line 1234 of file test_ray_intersection.cpp.
| TEST | ( | ConvexMeshRayIntersection | , |
| SimpleRay1 | |||
| ) |
Definition at line 1038 of file test_ray_intersection.cpp.
| TEST | ( | ConvexMeshRayIntersection | , |
| SimpleRay2 | |||
| ) |
Definition at line 1049 of file test_ray_intersection.cpp.
| TEST | ( | ConvexMeshRayIntersection | , |
| SimpleRay3 | |||
| ) |
Definition at line 1065 of file test_ray_intersection.cpp.
| TEST | ( | CylinderRayIntersection | , |
| OriginInside | |||
| ) |
Definition at line 405 of file test_ray_intersection.cpp.
| TEST | ( | CylinderRayIntersection | , |
| OriginOutside | |||
| ) |
Definition at line 548 of file test_ray_intersection.cpp.
| TEST | ( | CylinderRayIntersection | , |
| SimpleRay1 | |||
| ) |
Definition at line 685 of file test_ray_intersection.cpp.
| TEST | ( | CylinderRayIntersection | , |
| SimpleRay2 | |||
| ) |
Definition at line 694 of file test_ray_intersection.cpp.
| TEST | ( | SphereRayIntersection | , |
| OriginInside | |||
| ) |
Definition at line 122 of file test_ray_intersection.cpp.
| TEST | ( | SphereRayIntersection | , |
| OriginOutside | |||
| ) |
Definition at line 263 of file test_ray_intersection.cpp.
| TEST | ( | SphereRayIntersection | , |
| SimpleRay1 | |||
| ) |
Definition at line 387 of file test_ray_intersection.cpp.
| TEST | ( | SphereRayIntersection | , |
| SimpleRay2 | |||
| ) |
Definition at line 396 of file test_ray_intersection.cpp.