Main MRPT website > C++ reference
MRPT logo
List of all members | Public Types | Public Member Functions | Public Attributes | Static Protected Member Functions
mrpt::slam::CMultiMetricMap::TOptions Struct Reference

Detailed Description

Some options for this class:

Definition at line 110 of file CMultiMetricMap.h.

#include <mrpt/slam/CMultiMetricMap.h>

Inheritance diagram for mrpt::slam::CMultiMetricMap::TOptions:
Inheritance graph
[legend]

Public Types

enum  TMapSelectionForLikelihood {
  mapFuseAll = -1, mapGrid = 0, mapPoints, mapLandmarks,
  mapGasGrid, mapWifiGrid, mapBeacon, mapHeight,
  mapColourPoints, mapReflectivity, mapWeightedPoints
}
 This selects the map to be used when computing the likelihood of an observation. More...
 

Public Member Functions

 TOptions ()
 
void loadFromConfigFile (const mrpt::utils::CConfigFileBase &source, const std::string &section)
 Load parameters from configuration source.
 
void dumpToTextStream (CStream &out) const
 This method must display clearly all the contents of the structure in textual form, sending it to a CStream.
 
void loadFromConfigFileName (const std::string &config_file, const std::string &section)
 Behaves like loadFromConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to load the file.
 
virtual void saveToConfigFile (mrpt::utils::CConfigFileBase &source, const std::string &section)
 This method saves the options to a ".ini"-like file or memory-stored string list.
 
void saveToConfigFileName (const std::string &config_file, const std::string &section)
 Behaves like saveToConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to save the file.
 
void dumpToConsole () const
 This method must display clearly all the contents of the structure in textual form, sending it to a CStream.
 

Public Attributes

enum
mrpt::slam::CMultiMetricMap::TOptions::TMapSelectionForLikelihood 
likelihoodMapSelection
 
bool enableInsertion_pointsMap
 Default = true (set to false to avoid "insertObservation" to update a given map)
 
bool enableInsertion_landmarksMap
 Default = true (set to false to avoid "insertObservation" to update a given map)
 
bool enableInsertion_gridMaps
 Default = true (set to false to avoid "insertObservation" to update a given map)
 
bool enableInsertion_gasGridMaps
 Default = true (set to false to avoid "insertObservation" to update a given map)
 
bool enableInsertion_wifiGridMaps
 Default = true (set to false to avoid "insertObservation" to update a given map)
 
bool enableInsertion_beaconMap
 Default = true (set to false to avoid "insertObservation" to update a given map)
 
bool enableInsertion_heightMaps
 Default = true (set to false to avoid "insertObservation" to update a given map)
 
bool enableInsertion_reflectivityMaps
 Default = true (set to false to avoid "insertObservation" to update a given map)
 
bool enableInsertion_colourPointsMaps
 Default = true (set to false to avoid "insertObservation" to update a given map)
 
bool enableInsertion_weightedPointsMaps
 Default = true (set to false to avoid "insertObservation" to update a given map)
 

Static Protected Member Functions

static void dumpVar_int (CStream &out, const char *varName, int v)
 Used to print variable info from dumpToTextStream with the macro LOADABLEOPTS_DUMP_VAR.
 
static void dumpVar_float (CStream &out, const char *varName, float v)
 
static void dumpVar_double (CStream &out, const char *varName, double v)
 
static void dumpVar_bool (CStream &out, const char *varName, bool v)
 
static void dumpVar_string (CStream &out, const char *varName, const std::string &v)
 

Member Enumeration Documentation

This selects the map to be used when computing the likelihood of an observation.

This enum has a corresponding mrpt::utils::TEnumType<> specialization.

See Also
computeObservationLikelihood
Enumerator
mapFuseAll 
mapGrid 
mapPoints 
mapLandmarks 
mapGasGrid 
mapWifiGrid 
mapBeacon 
mapHeight 
mapColourPoints 
mapReflectivity 
mapWeightedPoints 

Definition at line 140 of file CMultiMetricMap.h.

Constructor & Destructor Documentation

mrpt::slam::CMultiMetricMap::TOptions::TOptions ( )
inline

Definition at line 112 of file CMultiMetricMap.h.

Member Function Documentation

void mrpt::utils::CLoadableOptions::dumpToConsole ( ) const
inherited

This method must display clearly all the contents of the structure in textual form, sending it to a CStream.

void mrpt::slam::CMultiMetricMap::TOptions::dumpToTextStream ( CStream out) const
virtual

This method must display clearly all the contents of the structure in textual form, sending it to a CStream.

Implements mrpt::utils::CLoadableOptions.

static void mrpt::utils::CLoadableOptions::dumpVar_bool ( CStream out,
const char *  varName,
bool  v 
)
staticprotectedinherited
static void mrpt::utils::CLoadableOptions::dumpVar_double ( CStream out,
const char *  varName,
double  v 
)
staticprotectedinherited
static void mrpt::utils::CLoadableOptions::dumpVar_float ( CStream out,
const char *  varName,
float  v 
)
staticprotectedinherited
static void mrpt::utils::CLoadableOptions::dumpVar_int ( CStream out,
const char *  varName,
int  v 
)
staticprotectedinherited

Used to print variable info from dumpToTextStream with the macro LOADABLEOPTS_DUMP_VAR.

static void mrpt::utils::CLoadableOptions::dumpVar_string ( CStream out,
const char *  varName,
const std::string &  v 
)
staticprotectedinherited
void mrpt::slam::CMultiMetricMap::TOptions::loadFromConfigFile ( const mrpt::utils::CConfigFileBase source,
const std::string &  section 
)
virtual

Load parameters from configuration source.

Implements mrpt::utils::CLoadableOptions.

void mrpt::utils::CLoadableOptions::loadFromConfigFileName ( const std::string &  config_file,
const std::string &  section 
)
inherited

Behaves like loadFromConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to load the file.

See Also
loadFromConfigFile
virtual void mrpt::utils::CLoadableOptions::saveToConfigFile ( mrpt::utils::CConfigFileBase source,
const std::string &  section 
)
inlinevirtualinherited

This method saves the options to a ".ini"-like file or memory-stored string list.

See Also
loadFromConfigFile, saveToConfigFileName

Reimplemented in mrpt::vision::TMultiResDescOptions, and mrpt::vision::TMultiResDescMatchOptions.

Definition at line 87 of file CLoadableOptions.h.

References THROW_EXCEPTION.

void mrpt::utils::CLoadableOptions::saveToConfigFileName ( const std::string &  config_file,
const std::string &  section 
)
inherited

Behaves like saveToConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to save the file.

See Also
saveToConfigFile, loadFromConfigFileName

Member Data Documentation

bool mrpt::slam::CMultiMetricMap::TOptions::enableInsertion_beaconMap

Default = true (set to false to avoid "insertObservation" to update a given map)

Definition at line 160 of file CMultiMetricMap.h.

bool mrpt::slam::CMultiMetricMap::TOptions::enableInsertion_colourPointsMaps

Default = true (set to false to avoid "insertObservation" to update a given map)

Definition at line 163 of file CMultiMetricMap.h.

bool mrpt::slam::CMultiMetricMap::TOptions::enableInsertion_gasGridMaps

Default = true (set to false to avoid "insertObservation" to update a given map)

Definition at line 158 of file CMultiMetricMap.h.

bool mrpt::slam::CMultiMetricMap::TOptions::enableInsertion_gridMaps

Default = true (set to false to avoid "insertObservation" to update a given map)

Definition at line 157 of file CMultiMetricMap.h.

bool mrpt::slam::CMultiMetricMap::TOptions::enableInsertion_heightMaps

Default = true (set to false to avoid "insertObservation" to update a given map)

Definition at line 161 of file CMultiMetricMap.h.

bool mrpt::slam::CMultiMetricMap::TOptions::enableInsertion_landmarksMap

Default = true (set to false to avoid "insertObservation" to update a given map)

Definition at line 156 of file CMultiMetricMap.h.

bool mrpt::slam::CMultiMetricMap::TOptions::enableInsertion_pointsMap

Default = true (set to false to avoid "insertObservation" to update a given map)

Definition at line 155 of file CMultiMetricMap.h.

bool mrpt::slam::CMultiMetricMap::TOptions::enableInsertion_reflectivityMaps

Default = true (set to false to avoid "insertObservation" to update a given map)

Definition at line 162 of file CMultiMetricMap.h.

bool mrpt::slam::CMultiMetricMap::TOptions::enableInsertion_weightedPointsMaps

Default = true (set to false to avoid "insertObservation" to update a given map)

Definition at line 164 of file CMultiMetricMap.h.

bool mrpt::slam::CMultiMetricMap::TOptions::enableInsertion_wifiGridMaps

Default = true (set to false to avoid "insertObservation" to update a given map)

Definition at line 159 of file CMultiMetricMap.h.

enum mrpt::slam::CMultiMetricMap::TOptions::TMapSelectionForLikelihood mrpt::slam::CMultiMetricMap::TOptions::likelihoodMapSelection



Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013