Main MRPT website > C++ reference
MRPT logo
List of all members | Public Member Functions | Public Attributes | Static Protected Member Functions
mrpt::slam::CColouredPointsMap::TColourOptions Struct Reference

Detailed Description

The definition of parameters for generating colors from laser scans.

Definition at line 233 of file CColouredPointsMap.h.

#include <mrpt/slam/CColouredPointsMap.h>

Inheritance diagram for mrpt::slam::CColouredPointsMap::TColourOptions:
Inheritance graph
[legend]

Public Member Functions

 TColourOptions ()
 Initilization of default parameters. More...
 
virtual ~TColourOptions ()
 
void loadFromConfigFile (const mrpt::utils::CConfigFileBase &source, const std::string &section)
 See utils::CLoadableOptions. More...
 
void dumpToTextStream (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

TColouringMethod scheme
 
float z_min
 
float z_max
 
float d_max
 

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

◆ TColourOptions()

mrpt::slam::CColouredPointsMap::TColourOptions::TColourOptions ( )

Initilization of default parameters.

◆ ~TColourOptions()

virtual mrpt::slam::CColouredPointsMap::TColourOptions::~TColourOptions ( )
inlinevirtual

Definition at line 237 of file CColouredPointsMap.h.

Member Function Documentation

◆ dumpToConsole()

void mrpt::utils::CLoadableOptions::dumpToConsole ( ) const
inherited

Just like dumpToTextStream() but sending the text to the console (std::cout)

◆ dumpToTextStream()

void mrpt::slam::CColouredPointsMap::TColourOptions::dumpToTextStream ( CStream out) const
virtual

◆ 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

◆ loadFromConfigFile()

void mrpt::slam::CColouredPointsMap::TColourOptions::loadFromConfigFile ( const mrpt::utils::CConfigFileBase source,
const std::string &  section 
)
virtual

◆ loadFromConfigFileName()

void mrpt::utils::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

◆ saveToConfigFile()

virtual void mrpt::utils::CLoadableOptions::saveToConfigFile ( mrpt::utils::CConfigFileBase target,
const std::string &  section 
) const
inlinevirtualinherited

◆ 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

Member Data Documentation

◆ d_max

float mrpt::slam::CColouredPointsMap::TColourOptions::d_max

Definition at line 250 of file CColouredPointsMap.h.

◆ scheme

TColouringMethod mrpt::slam::CColouredPointsMap::TColourOptions::scheme

Definition at line 248 of file CColouredPointsMap.h.

◆ z_max

float mrpt::slam::CColouredPointsMap::TColourOptions::z_max

Definition at line 249 of file CColouredPointsMap.h.

◆ z_min

float mrpt::slam::CColouredPointsMap::TColourOptions::z_min

Definition at line 249 of file CColouredPointsMap.h.




Page generated by Doxygen 1.8.14 for MRPT 1.1.0 SVN: at lun oct 28 00:54:49 CET 2019 Hosted on:
SourceForge.net Logo