#include <MapInflationTool.h>
Public Member Functions | |
void | computeCaches (unsigned int radius) |
void | inflateMap (GridMap *map) |
MapInflationTool () | |
~MapInflationTool () | |
Private Member Functions | |
char | costLookup (int mx, int my, int src_x, int src_y) |
double | distanceLookup (int mx, int my, int src_x, int src_y) |
void | enqueueObstacle (unsigned int index, unsigned int sx, unsigned int sy) |
Private Attributes | |
char ** | mCachedCosts |
double ** | mCachedDistances |
unsigned int | mCellInflationRadius |
char | mCostObstacle |
GridMap * | mGridMap |
unsigned char * | mInflationMarkers |
std::priority_queue< CellData > | mInflationQueue |
Definition at line 24 of file MapInflationTool.h.
Definition at line 6 of file MapInflationTool.cpp.
Definition at line 14 of file MapInflationTool.cpp.
void MapInflationTool::computeCaches | ( | unsigned int | radius | ) |
Definition at line 24 of file MapInflationTool.cpp.
char MapInflationTool::costLookup | ( | int | mx, |
int | my, | ||
int | src_x, | ||
int | src_y | ||
) | [inline, private] |
Definition at line 60 of file MapInflationTool.cpp.
double MapInflationTool::distanceLookup | ( | int | mx, |
int | my, | ||
int | src_x, | ||
int | src_y | ||
) | [inline, private] |
Definition at line 47 of file MapInflationTool.cpp.
void MapInflationTool::enqueueObstacle | ( | unsigned int | index, |
unsigned int | sx, | ||
unsigned int | sy | ||
) | [private] |
Definition at line 126 of file MapInflationTool.cpp.
void MapInflationTool::inflateMap | ( | GridMap * | map | ) |
Definition at line 73 of file MapInflationTool.cpp.
char** MapInflationTool::mCachedCosts [private] |
Definition at line 41 of file MapInflationTool.h.
double** MapInflationTool::mCachedDistances [private] |
Definition at line 42 of file MapInflationTool.h.
unsigned int MapInflationTool::mCellInflationRadius [private] |
Definition at line 40 of file MapInflationTool.h.
char MapInflationTool::mCostObstacle [private] |
Definition at line 47 of file MapInflationTool.h.
GridMap* MapInflationTool::mGridMap [private] |
Definition at line 38 of file MapInflationTool.h.
unsigned char* MapInflationTool::mInflationMarkers [private] |
Definition at line 45 of file MapInflationTool.h.
std::priority_queue<CellData> MapInflationTool::mInflationQueue [private] |
Definition at line 44 of file MapInflationTool.h.