#include <mrpt/maps/CReflectivityGridMap2D.h>
|
static TMetricMapInitializer * | factory (const std::string &mapClassName) |
| Looks up in the registry of known map types and call the corresponding <metric_map_class>::MapDefinition() . More...
|
|
|
static void | dumpVar_int (CStream &out, const char *varName, int v) |
| Used to print variable info from dumpToTextStream with the macro LOADABLEOPTS_DUMP_VAR. More...
|
|
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) |
|
◆ TMapDefinitionBase()
mrpt::maps::CReflectivityGridMap2D::TMapDefinitionBase::TMapDefinitionBase |
( |
| ) |
|
|
inline |
◆ dumpToConsole()
void mrpt::utils::CLoadableOptions::dumpToConsole |
( |
| ) |
const |
|
inherited |
◆ dumpToTextStream()
This method should clearly display all the contents of the structure in textual form, sending it to a CStream.
The default implementation in this base class relies on saveToConfigFile() to generate a plain text representation of all the parameters.
Reimplemented from mrpt::utils::CLoadableOptions.
◆ dumpToTextStream_map_specific()
virtual void mrpt::maps::TMetricMapInitializer::dumpToTextStream_map_specific |
( |
mrpt::utils::CStream & |
out | ) |
const |
|
protectedpure virtualinherited |
Implemented in mrpt::maps::COccupancyGridMap2D::TMapDefinition, mrpt::maps::CLandmarksMap::TMapDefinition, mrpt::maps::CColouredPointsMap::TMapDefinition, mrpt::maps::CBeaconMap::TMapDefinition, mrpt::maps::CGasConcentrationGridMap2D::TMapDefinition, mrpt::maps::CHeightGridMap2D::TMapDefinition, mrpt::maps::CWeightedPointsMap::TMapDefinition, mrpt::maps::CSimplePointsMap::TMapDefinition, mrpt::maps::CReflectivityGridMap2D::TMapDefinition, mrpt::maps::CHeightGridMap2D_MRF::TMapDefinition, mrpt::maps::CWirelessPowerGridMap2D::TMapDefinition, mrpt::maps::CColouredOctoMap::TMapDefinition, and mrpt::maps::COctoMap::TMapDefinition.
◆ dumpVar_bool()
static void mrpt::utils::CLoadableOptions::dumpVar_bool |
( |
CStream & |
out, |
|
|
const char * |
varName, |
|
|
bool |
v |
|
) |
| |
|
staticprotectedinherited |
◆ dumpVar_double()
static void mrpt::utils::CLoadableOptions::dumpVar_double |
( |
CStream & |
out, |
|
|
const char * |
varName, |
|
|
double |
v |
|
) |
| |
|
staticprotectedinherited |
◆ dumpVar_float()
static void mrpt::utils::CLoadableOptions::dumpVar_float |
( |
CStream & |
out, |
|
|
const char * |
varName, |
|
|
float |
v |
|
) |
| |
|
staticprotectedinherited |
◆ dumpVar_int()
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.
◆ dumpVar_string()
static void mrpt::utils::CLoadableOptions::dumpVar_string |
( |
CStream & |
out, |
|
|
const char * |
varName, |
|
|
const std::string & |
v |
|
) |
| |
|
staticprotectedinherited |
◆ factory()
static TMetricMapInitializer* mrpt::maps::TMetricMapInitializer::factory |
( |
const std::string & |
mapClassName | ) |
|
|
staticinherited |
Looks up in the registry of known map types and call the corresponding <metric_map_class>::MapDefinition()
.
◆ getMetricMapClassType()
◆ loadFromConfigFile()
void mrpt::maps::TMetricMapInitializer::loadFromConfigFile |
( |
const mrpt::utils::CConfigFileBase & |
source, |
|
|
const std::string & |
sectionNamePrefix |
|
) |
| |
|
virtualinherited |
◆ loadFromConfigFile_map_specific()
virtual void mrpt::maps::TMetricMapInitializer::loadFromConfigFile_map_specific |
( |
const mrpt::utils::CConfigFileBase & |
source, |
|
|
const std::string & |
sectionNamePrefix |
|
) |
| |
|
protectedpure virtualinherited |
Load all map-specific params.
Implemented in mrpt::maps::COccupancyGridMap2D::TMapDefinition, mrpt::maps::CLandmarksMap::TMapDefinition, mrpt::maps::CColouredPointsMap::TMapDefinition, mrpt::maps::CBeaconMap::TMapDefinition, mrpt::maps::CGasConcentrationGridMap2D::TMapDefinition, mrpt::maps::CHeightGridMap2D::TMapDefinition, mrpt::maps::CWeightedPointsMap::TMapDefinition, mrpt::maps::CSimplePointsMap::TMapDefinition, mrpt::maps::CReflectivityGridMap2D::TMapDefinition, mrpt::maps::CHeightGridMap2D_MRF::TMapDefinition, mrpt::maps::CWirelessPowerGridMap2D::TMapDefinition, mrpt::maps::CColouredOctoMap::TMapDefinition, and mrpt::maps::COctoMap::TMapDefinition.
◆ loadFromConfigFileName()
void mrpt::utils::CLoadableOptions::loadFromConfigFileName |
( |
const std::string & |
config_file, |
|
|
const std::string & |
section |
|
) |
| |
|
inherited |
◆ saveToConfigFile()
This method saves the options to a ".ini"-like file or memory-stored string list.
- See also
- loadFromConfigFile, saveToConfigFileName
Reimplemented in mrpt::vision::TMultiResDescOptions, mrpt::vision::TMultiResDescMatchOptions, mrpt::nav::CPTG_RobotShape_Circular, mrpt::nav::CPTG_RobotShape_Polygonal, mrpt::nav::CParameterizedTrajectoryGenerator, mrpt::nav::CAbstractPTGBasedReactive::TAbstractPTGNavigatorParams, mrpt::nav::CAbstractNavigator::TAbstractNavigatorParams, mrpt::nav::CPTG_DiffDrive_CollisionGridBased, mrpt::nav::CHolonomicND::TOptions, mrpt::nav::CWaypointsNavigator::TWaypointsNavigatorParams, mrpt::nav::CHolonomicFullEval::TOptions, mrpt::nav::CReactiveNavigationSystem::TReactiveNavigatorParams, mrpt::nav::CHolonomicVFF::TOptions, mrpt::nav::CMultiObjectiveMotionOptimizerBase::TParamsBase, mrpt::maps::CPointCloudFilterByDistance::TOptions, mrpt::nav::CPTG_DiffDrive_C, mrpt::nav::CPTG_DiffDrive_alpha, mrpt::nav::CMultiObjMotionOpt_Scalarization::TParams, mrpt::nav::CPTG_DiffDrive_CC, mrpt::nav::CPTG_DiffDrive_CCS, mrpt::nav::CPTG_DiffDrive_CS, and mrpt::nav::CPTG_Holo_Blend.
◆ saveToConfigFileName()
void mrpt::utils::CLoadableOptions::saveToConfigFileName |
( |
const std::string & |
config_file, |
|
|
const std::string & |
section |
|
) |
| const |
|
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
◆ genericMapParams
Common params for all maps: These are automatically set in TMetricMapTypesRegistry::factoryMapObjectFromDefinition()
Definition at line 37 of file TMetricMapInitializer.h.
◆ metricMapClassType