Simplified rtabmap-imagesJoiner tools

This commit is contained in:
Mathieu Labbe
2015-01-30 18:07:28 -05:00
parent 1fe2a9ed95
commit 9d20403930
3 changed files with 60 additions and 72 deletions

View File

@@ -229,6 +229,17 @@ std::string UDirectory::getNextFileName()
return fileName;
}
std::string UDirectory::getNextFilePath()
{
std::string filePath;
if(iFileName_ != fileNames_.end())
{
filePath = path_+separator()+*iFileName_;
++iFileName_;
}
return filePath;
}
void UDirectory::rewind()
{
iFileName_ = fileNames_.begin();