Public Types | Public Member Functions | Protected Attributes | List of all members
jsk_footstep_planner::GridState Class Reference

#include <grid_state.h>

Inheritance diagram for jsk_footstep_planner::GridState:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr< GridStatePtr
 

Public Member Functions

virtual float getCost ()
 
virtual int getOccupancy ()
 
 GridState (int x, int y)
 
virtual int indexX ()
 
virtual int indexY ()
 
virtual bool isValid ()
 
bool operator== (const GridState &other) const
 
virtual bool setCost (float c_)
 
virtual bool setOccupancy (int occ_)
 

Protected Attributes

int index_x_
 
int index_y_
 

Detailed Description

Definition at line 5 of file grid_state.h.

Member Typedef Documentation

◆ Ptr

Definition at line 8 of file grid_state.h.

Constructor & Destructor Documentation

◆ GridState()

jsk_footstep_planner::GridState::GridState ( int  x,
int  y 
)
inline

Definition at line 9 of file grid_state.h.

Member Function Documentation

◆ getCost()

virtual float jsk_footstep_planner::GridState::getCost ( )
inlinevirtual

Reimplemented in jsk_footstep_planner::CostedGridState.

Definition at line 17 of file grid_state.h.

◆ getOccupancy()

virtual int jsk_footstep_planner::GridState::getOccupancy ( )
inlinevirtual

Reimplemented in jsk_footstep_planner::OccupancyGridState.

Definition at line 15 of file grid_state.h.

◆ indexX()

virtual int jsk_footstep_planner::GridState::indexX ( )
inlinevirtual

Definition at line 12 of file grid_state.h.

◆ indexY()

virtual int jsk_footstep_planner::GridState::indexY ( )
inlinevirtual

Definition at line 13 of file grid_state.h.

◆ isValid()

virtual bool jsk_footstep_planner::GridState::isValid ( )
inlinevirtual

◆ operator==()

bool jsk_footstep_planner::GridState::operator== ( const GridState other) const
inline

Definition at line 21 of file grid_state.h.

◆ setCost()

virtual bool jsk_footstep_planner::GridState::setCost ( float  c_)
inlinevirtual

Reimplemented in jsk_footstep_planner::CostedGridState.

Definition at line 18 of file grid_state.h.

◆ setOccupancy()

virtual bool jsk_footstep_planner::GridState::setOccupancy ( int  occ_)
inlinevirtual

Reimplemented in jsk_footstep_planner::OccupancyGridState.

Definition at line 16 of file grid_state.h.

Member Data Documentation

◆ index_x_

int jsk_footstep_planner::GridState::index_x_
protected

Definition at line 27 of file grid_state.h.

◆ index_y_

int jsk_footstep_planner::GridState::index_y_
protected

Definition at line 28 of file grid_state.h.


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


jsk_footstep_planner
Author(s): Ryohei Ueda
autogenerated on Sun May 28 2023 03:03:20