Added Map color overlay on 3D cloud (press key '2' on keyboard)

Fixed loading all node ids from database, ignoring children

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1813 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-10-01 21:44:46 +00:00
parent 317d382a24
commit c441cc1d0f
10 changed files with 101 additions and 27 deletions

View File

@@ -453,10 +453,10 @@ void DBDriver::loadLoopClosures(int signatureId, std::map<int, Transform> & loop
}
//TODO Check also in the trash ?
void DBDriver::getAllNodeIds(std::set<int> & ids) const
void DBDriver::getAllNodeIds(std::set<int> & ids, bool ignoreChildren) const
{
_dbSafeAccessMutex.lock();
this->getAllNodeIdsQuery(ids);
this->getAllNodeIdsQuery(ids, ignoreChildren);
_dbSafeAccessMutex.unlock();
}