MRPT  1.9.9
mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::TRGBDInfoFileParams Struct Reference

Detailed Description

template<class GRAPH_T = typename mrpt::graphs::CNetworkOfPoses2DInf>
struct mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::TRGBDInfoFileParams

Struct responsible for keeping the parameters of the .info file in RGBD related datasets.

Definition at line 892 of file CGraphSlamEngine.h.

#include <mrpt/graphslam/CGraphSlamEngine.h>

Public Member Functions

 TRGBDInfoFileParams ()
 
 TRGBDInfoFileParams (const std::string &rawlog_fname)
 
 ~TRGBDInfoFileParams ()=default
 
void initTRGBDInfoFileParams ()
 
void parseFile ()
 Parse the RGBD information file to gain information about the rawlog file contents. More...
 
void setRawlogFile (const std::string &rawlog_fname)
 

Public Attributes

std::map< std::string, std::stringfields
 Format for the parameters in the info file: string literal - related value (kept in a string representation) More...
 
std::string info_fname
 

Constructor & Destructor Documentation

◆ TRGBDInfoFileParams() [1/2]

template<class GRAPH_T >
mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::TRGBDInfoFileParams::TRGBDInfoFileParams ( )

Definition at line 2265 of file CGraphSlamEngine_impl.h.

◆ TRGBDInfoFileParams() [2/2]

template<class GRAPH_T >
mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::TRGBDInfoFileParams::TRGBDInfoFileParams ( const std::string rawlog_fname)

Definition at line 2258 of file CGraphSlamEngine_impl.h.

◆ ~TRGBDInfoFileParams()

template<class GRAPH_T = typename mrpt::graphs::CNetworkOfPoses2DInf>
mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::TRGBDInfoFileParams::~TRGBDInfoFileParams ( )
default

Member Function Documentation

◆ initTRGBDInfoFileParams()

template<class GRAPH_T >
void mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::TRGBDInfoFileParams::initTRGBDInfoFileParams ( )

Definition at line 2283 of file CGraphSlamEngine_impl.h.

◆ parseFile()

template<class GRAPH_T >
void mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::TRGBDInfoFileParams::parseFile ( )

Parse the RGBD information file to gain information about the rawlog file contents.

Definition at line 2291 of file CGraphSlamEngine_impl.h.

References ASSERT_FILE_EXISTS_, ASSERTDEB_EQUAL_, ASSERTDEBMSG_, mrpt::io::CFileInputStream::fileOpenCorrectly(), mrpt::io::CFileInputStream::readLine(), mrpt::system::strCmpI(), mrpt::system::tokenize(), and mrpt::system::trim().

Here is the call graph for this function:

◆ setRawlogFile()

template<class GRAPH_T >
void mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::TRGBDInfoFileParams::setRawlogFile ( const std::string rawlog_fname)

Definition at line 2271 of file CGraphSlamEngine_impl.h.

References dir, mrpt::system::extractFileDirectory(), and mrpt::system::extractFileName().

Here is the call graph for this function:

Member Data Documentation

◆ fields

template<class GRAPH_T = typename mrpt::graphs::CNetworkOfPoses2DInf>
std::map<std::string, std::string> mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::TRGBDInfoFileParams::fields

Format for the parameters in the info file: string literal - related value (kept in a string representation)

Definition at line 910 of file CGraphSlamEngine.h.

◆ info_fname

template<class GRAPH_T = typename mrpt::graphs::CNetworkOfPoses2DInf>
std::string mrpt::graphslam::CGraphSlamEngine< GRAPH_T >::TRGBDInfoFileParams::info_fname

Definition at line 912 of file CGraphSlamEngine.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019