Public Types | Public Member Functions | Public Attributes | Private Attributes
semanticmodel::MiniatureOccupancyGrid Class Reference

#include <miniatureoccupancygrid.hh>

Inheritance diagram for semanticmodel::MiniatureOccupancyGrid:
Inheritance graph
[legend]

List of all members.

Public Types

enum  Occupancy { EMPTY, OCCUPIED }

Public Member Functions

Occupancy get (double x, double y) const
boost::mutex::scoped_lock * get_lock ()
 MiniatureOccupancyGrid (double scale=0.05)
void round_coordinates (double x, double y, int &a, int &b) const
void set (double x, double y, Occupancy val)
std::pair< size_t, size_t > sizes () const
void to_msg (nav_msgs::OccupancyGrid &og) const

Public Attributes

double _scale
std::vector< std::vector
< Occupancy > > 
grid

Private Attributes

boost::mutex data_mutex

Detailed Description

Definition at line 21 of file miniatureoccupancygrid.hh.


Member Enumeration Documentation

Enumerator:
EMPTY 
OCCUPIED 

Definition at line 25 of file miniatureoccupancygrid.hh.


Constructor & Destructor Documentation

Definition at line 14 of file miniatureoccupancygrid.cc.


Member Function Documentation

Definition at line 26 of file miniatureoccupancygrid.cc.

boost::mutex::scoped_lock * semanticmodel::MiniatureOccupancyGrid::get_lock ( )

Definition at line 19 of file miniatureoccupancygrid.cc.

void semanticmodel::MiniatureOccupancyGrid::round_coordinates ( double  x,
double  y,
int &  a,
int &  b 
) const

Definition at line 74 of file miniatureoccupancygrid.cc.

Definition at line 43 of file miniatureoccupancygrid.cc.

std::pair< size_t, size_t > semanticmodel::MiniatureOccupancyGrid::sizes ( ) const

Definition at line 65 of file miniatureoccupancygrid.cc.

void semanticmodel::MiniatureOccupancyGrid::to_msg ( nav_msgs::OccupancyGrid &  og) const

Definition at line 85 of file miniatureoccupancygrid.cc.


Member Data Documentation

Definition at line 52 of file miniatureoccupancygrid.hh.

Definition at line 62 of file miniatureoccupancygrid.hh.

Definition at line 51 of file miniatureoccupancygrid.hh.


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


semanticmodel
Author(s): Julian ("Mac") Mason
autogenerated on Thu Dec 12 2013 12:39:10