MRPT  2.0.3
List of all members | Public Member Functions | Public Attributes
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 890 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::string > fields
 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 2260 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 2253 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 2278 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 2286 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 2266 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 908 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 910 of file CGraphSlamEngine.h.




Page generated by Doxygen 1.8.14 for MRPT 2.0.3 Git: 8e9e8af54 Wed May 13 17:41:24 2020 +0200 at miƩ may 13 17:55:54 CEST 2020