struct mrpt::hwdrivers::TMyntEyeCameraParameters
Overview
Open parameters for CMyntEyeCamera.
See also:
#include <mrpt/hwdrivers/CMyntEyeCamera.h> struct TMyntEyeCameraParameters: public mrpt::config::CLoadableOptions { // fields std::uint8_t ir_intensity = 4; // methods virtual void loadFromConfigFile(const mrpt::config::CConfigFileBase& source, const std::string& section); };
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
std::uint8_t ir_intensity = 4
IR (Infrared), range [0,10], default 0.
Methods
virtual void loadFromConfigFile(const mrpt::config::CConfigFileBase& source, const std::string& section)
This method load the options from a “.ini”-like file or memory-stored string list.
Only those parameters found in the given “section” and having the same name that the variable are loaded. Those not found in the file will stay with their previous values (usually the default values loaded at initialization). An example of an “.ini” file:
[section] resolution = 0.10 // blah blah... modeSelection = 1 // 0=blah, 1=blah,...
See also: