10 #ifndef CReflectivityGridMap2D_H 11 #define CReflectivityGridMap2D_H 43 public utils::CDynamicGrid<int8_t>,
61 return m_logodd_lut.l2p(c);
71 float resolution = 0.1
89 void loadFromConfigFile(
91 const std::string §ion);
100 float compute3DMatchingRatio(
103 float maxDistForCorr = 0.10f,
104 float maxMahaDistForCorr = 2.0f
109 void saveMetricMapRepresentationToFile(
110 const std::string &filNamePrefix
116 void getAs3DObject ( mrpt::opengl::CSetOfObjectsPtr &outObj )
const;
120 void getAsImage(
utils::CImage &img,
bool verticalFlip =
false,
bool forceRGB=
false)
const;
130 float min_x,max_x,min_y,max_y,resolution;
#define MAP_DEFINITION_END(_CLASS_NAME_, _LINKAGE_)
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
A class for storing images as grayscale or RGB bitmaps.
float cell2float(const int8_t &c) const
The user must implement this in order to provide "saveToTextFile" a way to convert each cell into a n...
int8_t cell_t
The type of cells.
void clear()
Erase all the contents of the map.
A 2D grid map representing the reflectivity of the environment (for example, measured with an IR prox...
This class allows loading and storing values and vectors of different types from a configuration text...
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
Parameters related with inserting observations into the map.
Declares a virtual base class for all metric maps storage classes.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Declares a class that represents any robot's observation.
A generic provider of log-odds grid-map maintainance functions.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
#define MAP_DEFINITION_START(_CLASS_NAME_, _LINKAGE_)
Add a MAP_DEFINITION_START() ...
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
One static instance of this struct should exist in any class implementing CLogOddsGridMap2D to hold t...