Public Member Functions | Private Member Functions | Private Attributes | List of all members
MapInflationTool Class Reference

#include <MapInflationTool.h>

Public Member Functions

void computeCaches (unsigned int radius)
 
void inflateMap (GridMap *map)
 
 MapInflationTool ()
 
 ~MapInflationTool ()
 

Private Member Functions

signed 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

signed char ** mCachedCosts
 
double ** mCachedDistances
 
unsigned int mCellInflationRadius
 
signed char mCostObstacle
 
GridMapmGridMap
 
unsigned char * mInflationMarkers
 
std::priority_queue< CellDatamInflationQueue
 

Detailed Description

Definition at line 24 of file MapInflationTool.h.

Constructor & Destructor Documentation

MapInflationTool::MapInflationTool ( )

Definition at line 6 of file MapInflationTool.cpp.

MapInflationTool::~MapInflationTool ( )

Definition at line 14 of file MapInflationTool.cpp.

Member Function Documentation

void MapInflationTool::computeCaches ( unsigned int  radius)

Definition at line 24 of file MapInflationTool.cpp.

signed char MapInflationTool::costLookup ( int  mx,
int  my,
int  src_x,
int  src_y 
)
inlineprivate

Definition at line 60 of file MapInflationTool.cpp.

double MapInflationTool::distanceLookup ( int  mx,
int  my,
int  src_x,
int  src_y 
)
inlineprivate

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.

Member Data Documentation

signed 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.

signed 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.


The documentation for this class was generated from the following files:


nav2d_navigator
Author(s): Sebastian Kasperski
autogenerated on Tue Nov 7 2017 06:02:48