#include <grid_graph.h>
Public Types | |
typedef GStateT | MapState |
typedef boost::shared_ptr < GStateT > | MapStatePtr |
typedef boost::shared_ptr < GridMap > | Ptr |
typedef GridState | State |
typedef GridState::Ptr | StatePtr |
Public Member Functions | |
virtual float | getCost (int ix, int iy) |
virtual int | getOccupancy (int ix, int iy) |
virtual StatePtr | getState (int ix, int iy) |
GridMap (int _x, int _y) | |
virtual int | index (int ix, int iy) |
virtual int | inRange (int ix, int iy) |
virtual bool | isValid (int ix, int iy) |
virtual bool | setCost (std::vector< float > in) |
virtual bool | setCost (int ix, int iy, float cost=0.0) |
virtual bool | setOccupancy (std::vector< int > in) |
virtual bool | setOccupancy (int ix, int iy, int occupancy=0) |
virtual int | sizeX () |
virtual int | sizeY () |
Protected Member Functions | |
virtual void | createGrid () |
GridMap () | |
Protected Attributes | |
int | size_x_ |
int | size_y_ |
std::vector< StatePtr > | state_list_ |
Definition at line 10 of file grid_graph.h.
typedef GStateT jsk_footstep_planner::GridMap< GStateT >::MapState |
Definition at line 16 of file grid_graph.h.
typedef boost::shared_ptr< GStateT > jsk_footstep_planner::GridMap< GStateT >::MapStatePtr |
Definition at line 17 of file grid_graph.h.
typedef boost::shared_ptr< GridMap > jsk_footstep_planner::GridMap< GStateT >::Ptr |
Reimplemented in jsk_footstep_planner::PerceptionGridMap.
Definition at line 13 of file grid_graph.h.
typedef GridState jsk_footstep_planner::GridMap< GStateT >::State |
Definition at line 14 of file grid_graph.h.
typedef GridState::Ptr jsk_footstep_planner::GridMap< GStateT >::StatePtr |
Definition at line 15 of file grid_graph.h.
jsk_footstep_planner::GridMap< GStateT >::GridMap | ( | int | _x, |
int | _y | ||
) | [inline] |
Definition at line 20 of file grid_graph.h.
jsk_footstep_planner::GridMap< GStateT >::GridMap | ( | ) | [inline, protected] |
Definition at line 68 of file grid_graph.h.
virtual void jsk_footstep_planner::GridMap< GStateT >::createGrid | ( | ) | [inline, protected, virtual] |
Definition at line 69 of file grid_graph.h.
virtual float jsk_footstep_planner::GridMap< GStateT >::getCost | ( | int | ix, |
int | iy | ||
) | [inline, virtual] |
Definition at line 54 of file grid_graph.h.
virtual int jsk_footstep_planner::GridMap< GStateT >::getOccupancy | ( | int | ix, |
int | iy | ||
) | [inline, virtual] |
Definition at line 50 of file grid_graph.h.
virtual StatePtr jsk_footstep_planner::GridMap< GStateT >::getState | ( | int | ix, |
int | iy | ||
) | [inline, virtual] |
Reimplemented in jsk_footstep_planner::PerceptionGridMap.
Definition at line 24 of file grid_graph.h.
virtual int jsk_footstep_planner::GridMap< GStateT >::index | ( | int | ix, |
int | iy | ||
) | [inline, virtual] |
Definition at line 65 of file grid_graph.h.
virtual int jsk_footstep_planner::GridMap< GStateT >::inRange | ( | int | ix, |
int | iy | ||
) | [inline, virtual] |
Definition at line 66 of file grid_graph.h.
virtual bool jsk_footstep_planner::GridMap< GStateT >::isValid | ( | int | ix, |
int | iy | ||
) | [inline, virtual] |
Definition at line 58 of file grid_graph.h.
virtual bool jsk_footstep_planner::GridMap< GStateT >::setCost | ( | std::vector< float > | in | ) | [inline, virtual] |
Definition at line 28 of file grid_graph.h.
virtual bool jsk_footstep_planner::GridMap< GStateT >::setCost | ( | int | ix, |
int | iy, | ||
float | cost = 0.0 |
||
) | [inline, virtual] |
Definition at line 35 of file grid_graph.h.
virtual bool jsk_footstep_planner::GridMap< GStateT >::setOccupancy | ( | std::vector< int > | in | ) | [inline, virtual] |
Definition at line 39 of file grid_graph.h.
virtual bool jsk_footstep_planner::GridMap< GStateT >::setOccupancy | ( | int | ix, |
int | iy, | ||
int | occupancy = 0 |
||
) | [inline, virtual] |
Definition at line 46 of file grid_graph.h.
virtual int jsk_footstep_planner::GridMap< GStateT >::sizeX | ( | ) | [inline, virtual] |
Definition at line 63 of file grid_graph.h.
virtual int jsk_footstep_planner::GridMap< GStateT >::sizeY | ( | ) | [inline, virtual] |
Definition at line 64 of file grid_graph.h.
int jsk_footstep_planner::GridMap< GStateT >::size_x_ [protected] |
Definition at line 78 of file grid_graph.h.
int jsk_footstep_planner::GridMap< GStateT >::size_y_ [protected] |
Definition at line 79 of file grid_graph.h.
std::vector<StatePtr > jsk_footstep_planner::GridMap< GStateT >::state_list_ [protected] |
Definition at line 80 of file grid_graph.h.