DatabaseViewer: using DBDriver directly instead of Memory to save RAM on large databases

This commit is contained in:
matlabbe
2015-10-16 14:54:47 -04:00
parent 835155e6ae
commit 5934ec90db
9 changed files with 544 additions and 408 deletions

View File

@@ -50,7 +50,7 @@ class QLabel;
namespace rtabmap
{
class Memory;
class DBDriver;
class ImageView;
class SensorData;
class CloudViewer;
@@ -155,7 +155,7 @@ private:
QMap<int, int> idToIndex_;
QList<rtabmap::Link> neighborLinks_;
QList<rtabmap::Link> loopLinks_;
rtabmap::Memory * memory_;
rtabmap::DBDriver * dbDriver_;
QString pathDatabase_;
std::string databaseFileName_;
std::list<std::map<int, rtabmap::Transform> > graphes_;