10 #ifndef CReflectivityGridMap2D_H
11 #define CReflectivityGridMap2D_H
65 return m_logodd_lut.l2p(c);
75 float resolution = 0.1
95 void loadFromConfigFile(
97 const std::string §ion);
101 void dumpToTextStream(
CStream &out)
const;
106 float compute3DMatchingRatio(
107 const CMetricMap *otherMap,
109 float maxDistForCorr = 0.10f,
110 float maxMahaDistForCorr = 2.0f
115 void saveMetricMapRepresentationToFile(
116 const std::string &filNamePrefix
122 void getAs3DObject ( mrpt::opengl::CSetOfObjectsPtr &outObj )
const;
126 void getAsImage(
utils::CImage &img,
bool verticalFlip =
false,
bool forceRGB=
false)
const;
132 virtual void internal_clear();
141 virtual bool internal_insertObservation(
const CObservation *obs,
const CPose3D *robotPose = NULL );
void clear()
Erase all the contents of the map.
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
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...
This class allows loading and storing values and vectors of different types from a configuration text...
Declares a virtual base class for all metric maps storage classes.
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
A 2D grid of dynamic size which stores any kind of data at each cell.
#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...
Declares a class that represents any robot's observation.
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.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
A 2D grid map representing the reflectivity of the environment (for example, measured with an IR prox...
One static instance of this struct should exist in any class implementing CLogOddsGridMap2D to hold t...
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
int8_t cell_t
The type of cells.
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
A generic provider of log-odds grid-map maintainance functions.