Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Private Member Functions | Private Attributes
jafar::geom::DenseOG Class Reference

Detailed Description

Definition at line 146 of file 3dOccupancyGrid.hpp.

List of all members.

Public Types

typedef std::vector< double > OGType

Public Member Functions

 DenseOG (Box< double > const &box, double sizeVoxel, double emptyVoxelTh=0.2, double fullVoxelTh=0.8)
 DenseOG (Box< int > const &dox, double sizeVoxel, double emptyVoxelTh=0.2, double fullVoxelTh=0.8)
double sizeVoxel () const
Box< int > const & box () const
OGType const & og () const
double & get (VoxelCoord const &vi)
double & get (VoxelIndex const &vi)
void randomize (unsigned int s=1)
void update (OGSensorModel &model)

Private Member Functions

std::size_t computeFlatIndex (VoxelIndex const &vi)

Private Attributes

double m_sizeVoxel
Box< int > m_box
OGType m_og
double m_emptyVoxelLogTh
 a voxel is decided to be empty when it falls under this threshold (log-odds ratio)
double m_fullVoxelLogTh
 a voxel is decided to be full when it is above this threshold (log-odds ratio)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:36 for Jafar by doxygen 1.7.6.1
LAAS-CNRS