Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
jsk_footstep_planner::GridMap< GStateT > Class Template Reference

#include <grid_graph.h>

List of all members.

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< StatePtrstate_list_

Detailed Description

template<class GStateT>
class jsk_footstep_planner::GridMap< GStateT >

Definition at line 10 of file grid_graph.h.


Member Typedef Documentation

template<class GStateT>
typedef GStateT jsk_footstep_planner::GridMap< GStateT >::MapState

Definition at line 16 of file grid_graph.h.

template<class GStateT>
typedef boost::shared_ptr< GStateT > jsk_footstep_planner::GridMap< GStateT >::MapStatePtr

Definition at line 17 of file grid_graph.h.

template<class GStateT>
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.

template<class GStateT>
typedef GridState jsk_footstep_planner::GridMap< GStateT >::State

Definition at line 14 of file grid_graph.h.

template<class GStateT>
typedef GridState::Ptr jsk_footstep_planner::GridMap< GStateT >::StatePtr

Definition at line 15 of file grid_graph.h.


Constructor & Destructor Documentation

template<class GStateT>
jsk_footstep_planner::GridMap< GStateT >::GridMap ( int  _x,
int  _y 
) [inline]

Definition at line 20 of file grid_graph.h.

template<class GStateT>
jsk_footstep_planner::GridMap< GStateT >::GridMap ( ) [inline, protected]

Definition at line 68 of file grid_graph.h.


Member Function Documentation

template<class GStateT>
virtual void jsk_footstep_planner::GridMap< GStateT >::createGrid ( ) [inline, protected, virtual]

Definition at line 69 of file grid_graph.h.

template<class GStateT>
virtual float jsk_footstep_planner::GridMap< GStateT >::getCost ( int  ix,
int  iy 
) [inline, virtual]

Definition at line 54 of file grid_graph.h.

template<class GStateT>
virtual int jsk_footstep_planner::GridMap< GStateT >::getOccupancy ( int  ix,
int  iy 
) [inline, virtual]

Definition at line 50 of file grid_graph.h.

template<class GStateT>
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.

template<class GStateT>
virtual int jsk_footstep_planner::GridMap< GStateT >::index ( int  ix,
int  iy 
) [inline, virtual]

Definition at line 65 of file grid_graph.h.

template<class GStateT>
virtual int jsk_footstep_planner::GridMap< GStateT >::inRange ( int  ix,
int  iy 
) [inline, virtual]

Definition at line 66 of file grid_graph.h.

template<class GStateT>
virtual bool jsk_footstep_planner::GridMap< GStateT >::isValid ( int  ix,
int  iy 
) [inline, virtual]

Definition at line 58 of file grid_graph.h.

template<class GStateT>
virtual bool jsk_footstep_planner::GridMap< GStateT >::setCost ( std::vector< float >  in) [inline, virtual]

Definition at line 28 of file grid_graph.h.

template<class GStateT>
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.

template<class GStateT>
virtual bool jsk_footstep_planner::GridMap< GStateT >::setOccupancy ( std::vector< int >  in) [inline, virtual]

Definition at line 39 of file grid_graph.h.

template<class GStateT>
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.

template<class GStateT>
virtual int jsk_footstep_planner::GridMap< GStateT >::sizeX ( ) [inline, virtual]

Definition at line 63 of file grid_graph.h.

template<class GStateT>
virtual int jsk_footstep_planner::GridMap< GStateT >::sizeY ( ) [inline, virtual]

Definition at line 64 of file grid_graph.h.


Member Data Documentation

template<class GStateT>
int jsk_footstep_planner::GridMap< GStateT >::size_x_ [protected]

Definition at line 78 of file grid_graph.h.

template<class GStateT>
int jsk_footstep_planner::GridMap< GStateT >::size_y_ [protected]

Definition at line 79 of file grid_graph.h.

template<class GStateT>
std::vector<StatePtr > jsk_footstep_planner::GridMap< GStateT >::state_list_ [protected]

Definition at line 80 of file grid_graph.h.


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


jsk_footstep_planner
Author(s): Ryohei Ueda
autogenerated on Fri Apr 19 2019 03:45:28