Main MRPT website > C++ reference for MRPT 1.5.5
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes
mrpt::maps::CWeightedPointsMap::TMapDefinition Struct Reference

Detailed Description

Definition at line 124 of file maps/CWeightedPointsMap.h.

#include <mrpt/maps/CWeightedPointsMap.h>

Inheritance diagram for mrpt::maps::CWeightedPointsMap::TMapDefinition:
Inheritance graph

Public Member Functions

 TMapDefinition ()
 
void loadFromConfigFile (const mrpt::utils::CConfigFileBase &source, const std::string &sectionNamePrefix) MRPT_OVERRIDE
 Load all params from a config file/source. More...
 
void dumpToTextStream (mrpt::utils::CStream &out) const MRPT_OVERRIDE
 Dump the options of the metric map in human-readable format. More...
 
const
mrpt::utils::TRuntimeClassIdPtr
getMetricMapClassType () const
 Query the map type (C++ class), as set by the factory method MapDefinition() More...
 
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. More...
 
virtual void saveToConfigFile (mrpt::utils::CConfigFileBase &target, const std::string &section) const
 This method saves the options to a ".ini"-like file or memory-stored string list. More...
 
void saveToConfigFileName (const std::string &config_file, const std::string &section) const
 Behaves like saveToConfigFile, but you can pass directly a file name and a temporary CConfigFile object will be created automatically to save the file. More...
 
void dumpToConsole () const
 Just like dumpToTextStream() but sending the text to the console (std::cout) More...
 

Static Public Member Functions

static TMetricMapInitializerfactory (const std::string &mapClassName)
 Looks up in the registry of known map types and call the corresponding <metric_map_class>::MapDefinition(). More...
 

Public Attributes

mrpt::maps::CPointsMap::TInsertionOptions insertionOpts
 Observations insertion options. More...
 
mrpt::maps::CPointsMap::TLikelihoodOptions likelihoodOpts
 Probabilistic observation likelihood options. More...
 
mrpt::maps::TMapGenericParams genericMapParams
 Common params for all maps: These are automatically set in TMetricMapTypesRegistry::factoryMapObjectFromDefinition() More...
 

Protected Member Functions

void loadFromConfigFile_map_specific (const mrpt::utils::CConfigFileBase &source, const std::string &sectionNamePrefix)
 Load all map-specific params. More...
 
void dumpToTextStream_map_specific (mrpt::utils::CStream &out) const
 

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. 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)
 

Protected Attributes

const
mrpt::utils::TRuntimeClassIdPtr 
metricMapClassType
 Derived classes set this to CLASS_ID(< class >) where < class > is any CMetricMap derived class. More...
 

Constructor & Destructor Documentation

CWeightedPointsMap::TMapDefinition::TMapDefinition ( )

Definition at line 28 of file CWeightedPointsMap.cpp.

Member Function Documentation

void CLoadableOptions::dumpToConsole ( ) const
inherited
void TMetricMapInitializer::dumpToTextStream ( mrpt::utils::CStream out) const
virtualinherited
void CWeightedPointsMap::TMapDefinition::dumpToTextStream_map_specific ( mrpt::utils::CStream out) const
protectedvirtual

Implements mrpt::maps::TMetricMapInitializer.

Definition at line 38 of file CWeightedPointsMap.cpp.

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

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

Definition at line 52 of file CLoadableOptions.cpp.

References LOADABLEOPTS_COLUMN_WIDTH, and mrpt::utils::CStream::printf().

void CLoadableOptions::dumpVar_string ( CStream out,
const char *  varName,
const std::string v 
)
staticprotectedinherited
TMetricMapInitializer * TMetricMapInitializer::factory ( const std::string mapClassName)
staticinherited

Looks up in the registry of known map types and call the corresponding <metric_map_class>::MapDefinition().

Definition at line 22 of file TMetricMapInitializer.cpp.

const mrpt::utils::TRuntimeClassIdPtr& mrpt::maps::TMetricMapInitializer::getMetricMapClassType ( ) const
inlineinherited

Query the map type (C++ class), as set by the factory method MapDefinition()

Definition at line 49 of file TMetricMapInitializer.h.

Referenced by mrpt::maps::internal::TMetricMapTypesRegistry::factoryMapObjectFromDefinition().

void TMetricMapInitializer::loadFromConfigFile ( const mrpt::utils::CConfigFileBase source,
const std::string sectionNamePrefix 
)
virtualinherited
void CWeightedPointsMap::TMapDefinition::loadFromConfigFile_map_specific ( const mrpt::utils::CConfigFileBase source,
const std::string sectionNamePrefix 
)
protectedvirtual

Load all map-specific params.

Implements mrpt::maps::TMetricMapInitializer.

Definition at line 32 of file CWeightedPointsMap.cpp.

References mrpt::maps::TMetricMapInitializer::loadFromConfigFile().

void 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

Definition at line 23 of file CLoadableOptions.cpp.

References mrpt::utils::CLoadableOptions::loadFromConfigFile().

Referenced by mrpt::graphslam::optimizers::CLevMarqGSO< GRAPH_T >::loadParams().

void CLoadableOptions::saveToConfigFile ( mrpt::utils::CConfigFileBase target,
const std::string section 
) const
virtualinherited
void 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

Definition at line 39 of file CLoadableOptions.cpp.

References mrpt::utils::CLoadableOptions::saveToConfigFile().

Member Data Documentation

mrpt::maps::TMapGenericParams mrpt::maps::TMetricMapInitializer::genericMapParams
inherited

Common params for all maps: These are automatically set in TMetricMapTypesRegistry::factoryMapObjectFromDefinition()

Definition at line 37 of file TMetricMapInitializer.h.

Referenced by mrpt::maps::TMetricMapInitializer::dumpToTextStream(), mrpt::maps::internal::TMetricMapTypesRegistry::factoryMapObjectFromDefinition(), and mrpt::maps::TMetricMapInitializer::loadFromConfigFile().

mrpt::maps::CPointsMap::TInsertionOptions mrpt::maps::CWeightedPointsMap::TMapDefinition::insertionOpts

Observations insertion options.

Definition at line 125 of file maps/CWeightedPointsMap.h.

Referenced by mrpt::maps::CWeightedPointsMap::internal_CreateFromMapDefinition().

mrpt::maps::CPointsMap::TLikelihoodOptions mrpt::maps::CWeightedPointsMap::TMapDefinition::likelihoodOpts

Probabilistic observation likelihood options.

Definition at line 126 of file maps/CWeightedPointsMap.h.

Referenced by mrpt::maps::CWeightedPointsMap::internal_CreateFromMapDefinition().

const mrpt::utils::TRuntimeClassIdPtr mrpt::maps::TMetricMapInitializer::metricMapClassType
protectedinherited

Derived classes set this to CLASS_ID(< class >) where < class > is any CMetricMap derived class.

Definition at line 56 of file TMetricMapInitializer.h.

Referenced by mrpt::maps::TMetricMapInitializer::dumpToTextStream().




Page generated by Doxygen 1.8.6 for MRPT 1.5.5 Git: e06b63d Fri Dec 1 14:41:11 2017 +0100 at sáb dic 2 13:00:21 CET 2017