Main MRPT website > C++ reference for MRPT 1.5.6
List of all members | Public Member Functions | Static Protected Member Functions
mrpt::maps::CRandomFieldGridMap3D::TInsertionOptions Struct Reference

Detailed Description

Parameters common to any derived class.

Derived classes should derive a new struct from this one, plus "public utils::CLoadableOptions", and call the internal_* methods where appropiate to deal with the variables declared here. Derived classes instantions of their "TInsertionOptions" MUST set the pointer "m_insertOptions_common" upon construction.

Definition at line 114 of file CRandomFieldGridMap3D.h.

#include <mrpt/maps/CRandomFieldGridMap3D.h>

Inheritance diagram for mrpt::maps::CRandomFieldGridMap3D::TInsertionOptions:
Inheritance graph

Public Member Functions

 TInsertionOptions ()
 Default values loader. More...
 
void loadFromConfigFile (const mrpt::utils::CConfigFileBase &source, const std::string &section)
 See utils::CLoadableOptions. More...
 
void dumpToTextStream (mrpt::utils::CStream &out) const
 See utils::CLoadableOptions. 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...
 

Public Attributes

Gaussian Markov Random Fields method
double GMRF_lambdaPrior
 The information (Lambda) of fixed map constraints. More...
 
bool GMRF_skip_variance
 (Default:false) Skip the computation of the variance, just compute the mean More...
 

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)
 

Constructor & Destructor Documentation

CRandomFieldGridMap3D::TInsertionOptions::TInsertionOptions ( )

Default values loader.

Definition at line 190 of file CRandomFieldGridMap3D.cpp.

Member Function Documentation

void CLoadableOptions::dumpToConsole ( ) const
inherited
void CRandomFieldGridMap3D::TInsertionOptions::dumpToTextStream ( mrpt::utils::CStream out) const
virtual
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
void CRandomFieldGridMap3D::TInsertionOptions::loadFromConfigFile ( const mrpt::utils::CConfigFileBase source,
const std::string section 
)
virtual
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

double mrpt::maps::CRandomFieldGridMap3D::TInsertionOptions::GMRF_lambdaPrior

The information (Lambda) of fixed map constraints.

Definition at line 127 of file CRandomFieldGridMap3D.h.

Referenced by mrpt::maps::CRandomFieldGridMap3D::readFromStream(), and mrpt::maps::CRandomFieldGridMap3D::writeToStream().

bool mrpt::maps::CRandomFieldGridMap3D::TInsertionOptions::GMRF_skip_variance

(Default:false) Skip the computation of the variance, just compute the mean

Definition at line 128 of file CRandomFieldGridMap3D.h.

Referenced by mrpt::maps::CRandomFieldGridMap3D::readFromStream(), TEST(), mrpt::maps::CRandomFieldGridMap3D::updateMapEstimation(), and mrpt::maps::CRandomFieldGridMap3D::writeToStream().




Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018