|
NavMap
|
#include <gtest/gtest.h>#include <algorithm>#include <cmath>#include <cstdint>#include <functional>#include <limits>#include <random>#include <set>#include <vector>#include "navmap_core/DistanceField.hpp"#include "navmap_core/NavMap.hpp"#include "navmap_core/Occupancy.hpp"
Classes | |
| class | DistanceField |
| Distance from each NavCel to the nearest seed (seed NavCels and, optionally, the open edges of the mesh), kept up to date incrementally. More... | |
Typedefs | |
| using | NavCelId |
| Index of a triangle (NavCel) within the global mesh. | |
Functions | |
| std::vector< float > | brute (const NavMap &nm, const std::vector< NavCelId > &seeds, bool boundary, float maxd) |
| TEST (DistanceFieldIncremental, AddingAndRemovingTheSameCellAndEdgeIds) | |
| TEST (DistanceFieldIncremental, AnUpdateOnlyTouchesItsNeighbourhood) | |
| TEST (DistanceFieldIncremental, ComputeIsExactWithABoundAndMatchesNavMapWithout) | |
| TEST (DistanceFieldIncremental, RandomUpdatesMatchARecomputationAndReportTheChanges) | |
| TEST (LayerChanges, HashFollowsChangesAndCopiesCarryPendingOnes) | |
| TEST (LayerChanges, OccupancyUpdatesAreRecorded) | |
| TEST (LayerChanges, SingleWritesAreRecordedOnceAndBulkWritesMarkTheLayer) | |
| using NavCelId |
Index of a triangle (NavCel) within the global mesh.
| std::vector< float > brute | ( | const NavMap & | nm, |
| const std::vector< NavCelId > & | seeds, | ||
| bool | boundary, | ||
| float | maxd ) |
| TEST | ( | DistanceFieldIncremental | , |
| AddingAndRemovingTheSameCellAndEdgeIds | ) |
| TEST | ( | DistanceFieldIncremental | , |
| AnUpdateOnlyTouchesItsNeighbourhood | ) |
| TEST | ( | DistanceFieldIncremental | , |
| ComputeIsExactWithABoundAndMatchesNavMapWithout | ) |
| TEST | ( | DistanceFieldIncremental | , |
| RandomUpdatesMatchARecomputationAndReportTheChanges | ) |
| TEST | ( | LayerChanges | , |
| HashFollowsChangesAndCopiesCarryPendingOnes | ) |
| TEST | ( | LayerChanges | , |
| OccupancyUpdatesAreRecorded | ) |
| TEST | ( | LayerChanges | , |
| SingleWritesAreRecordedOnceAndBulkWritesMarkTheLayer | ) |