struct mrpt::maps::CRandomFieldGridMap3D::TInsertionOptions
Overview
Parameters common to any derived class.
Derived classes should derive a new struct from this one, plus mrpt::config::CLoadableOptions, and call the internal_* methods where appropriate to deal with the variables declared here. Derived classes instantions of their “TInsertionOptions” MUST set the pointer “m_insertOptions_common” upon construction.
#include <mrpt/maps/CRandomFieldGridMap3D.h> struct TInsertionOptions: public mrpt::config::CLoadableOptions { // fields double GMRF_lambdaPrior {0.01f}; bool GMRF_skip_variance {false}; // construction TInsertionOptions(); // methods virtual void loadFromConfigFile(const mrpt::config::CConfigFileBase& source, const std::string& section); virtual void dumpToTextStream(std::ostream& out) const; };
Inherited Members
public: // methods virtual void loadFromConfigFile(const mrpt::config::CConfigFileBase& source, const std::string& section) = 0; void loadFromConfigFileName(const std::string& config_file, const std::string& section); virtual void saveToConfigFile(mrpt::config::CConfigFileBase& target, const std::string& section) const; void saveToConfigFileName(const std::string& config_file, const std::string& section) const; void dumpToConsole() const; virtual void dumpToTextStream(std::ostream& out) const;
Fields
double GMRF_lambdaPrior {0.01f}
The information (Lambda) of fixed map constraints.
bool GMRF_skip_variance {false}
(Default:false) Skip the computation of the variance, just compute the mean
Construction
TInsertionOptions()
Default values loader.
Methods
virtual void loadFromConfigFile(const mrpt::config::CConfigFileBase& source, const std::string& section)
See mrpt::config::CLoadableOptions.
virtual void dumpToTextStream(std::ostream& out) const