#include <cmath>#include <cstddef>#include <vector>#include <gtest/gtest.h>#include <mcl_3dl/chunked_kdtree.h>#include <mcl_3dl/point_types.h>#include <mcl_3dl/raycasts/raycast_using_dda.h>
Go to the source code of this file.
Functions | |
| void | compareRayWaypoints (const char *name, typename mcl_3dl::ChunkedKdtree< pcl::PointXYZ >::Ptr kdtree, mcl_3dl::RaycastUsingDDA< pcl::PointXYZ > &raycaster, const mcl_3dl::Vec3 &ray_begin, const mcl_3dl::Vec3 &ray_end, const std::vector< mcl_3dl::Vec3 > expected_points, const bool expected_collision) |
| int | main (int argc, char **argv) |
| TEST (RaycastUsingDDA, Collision) | |
| TEST (RaycastUsingDDA, CollisionTolerance) | |
| TEST (RaycastUsingDDA, Waypoints) | |
| TEST (RaycastUsingDDA, Intersection) | |
| void compareRayWaypoints | ( | const char * | name, |
| typename mcl_3dl::ChunkedKdtree< pcl::PointXYZ >::Ptr | kdtree, | ||
| mcl_3dl::RaycastUsingDDA< pcl::PointXYZ > & | raycaster, | ||
| const mcl_3dl::Vec3 & | ray_begin, | ||
| const mcl_3dl::Vec3 & | ray_end, | ||
| const std::vector< mcl_3dl::Vec3 > | expected_points, | ||
| const bool | expected_collision | ||
| ) |
Definition at line 157 of file test_raycast_dda.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 261 of file test_raycast_dda.cpp.
| TEST | ( | RaycastUsingDDA | , |
| Collision | |||
| ) |
Definition at line 40 of file test_raycast_dda.cpp.
| TEST | ( | RaycastUsingDDA | , |
| CollisionTolerance | |||
| ) |
Definition at line 106 of file test_raycast_dda.cpp.
| TEST | ( | RaycastUsingDDA | , |
| Waypoints | |||
| ) |
Definition at line 185 of file test_raycast_dda.cpp.
| TEST | ( | RaycastUsingDDA | , |
| Intersection | |||
| ) |
Definition at line 226 of file test_raycast_dda.cpp.