mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
MainWindow: added currentVisiblePosesMap()
This commit is contained in:
@@ -284,6 +284,7 @@ protected:
|
|||||||
const QMap<int, Signature> & cachedSignatures() const { return _cachedSignatures;}
|
const QMap<int, Signature> & cachedSignatures() const { return _cachedSignatures;}
|
||||||
const std::map<int, Transform> & currentPosesMap() const { return _currentPosesMap; } // <nodeId, pose>
|
const std::map<int, Transform> & currentPosesMap() const { return _currentPosesMap; } // <nodeId, pose>
|
||||||
const std::map<int, Transform> & currentGTPosesMap() const { return _currentGTPosesMap; } // <nodeId, pose>
|
const std::map<int, Transform> & currentGTPosesMap() const { return _currentGTPosesMap; } // <nodeId, pose>
|
||||||
|
const std::map<int, Transform>& currentVisiblePosesMap() const; // <nodeId, pose>
|
||||||
const std::multimap<int, Link> & currentLinksMap() const { return _currentLinksMap; } // <nodeFromId, link>
|
const std::multimap<int, Link> & currentLinksMap() const { return _currentLinksMap; } // <nodeFromId, link>
|
||||||
const std::map<int, int> & currentMapIds() const { return _currentMapIds; } // <nodeId, mapId>
|
const std::map<int, int> & currentMapIds() const { return _currentMapIds; } // <nodeId, mapId>
|
||||||
const std::map<int, std::string> & currentLabels() const { return _currentLabels; } // <nodeId, label>
|
const std::map<int, std::string> & currentLabels() const { return _currentLabels; } // <nodeId, label>
|
||||||
|
|||||||
@@ -700,6 +700,11 @@ void MainWindow::setupMainLayout(bool vertical)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const std::map<int, Transform>& MainWindow::currentVisiblePosesMap() const
|
||||||
|
{
|
||||||
|
return _ui->widget_mapVisibility->getVisiblePoses();
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::setCloudViewer(rtabmap::CloudViewer * cloudViewer)
|
void MainWindow::setCloudViewer(rtabmap::CloudViewer * cloudViewer)
|
||||||
{
|
{
|
||||||
UASSERT(cloudViewer);
|
UASSERT(cloudViewer);
|
||||||
|
|||||||
Reference in New Issue
Block a user