mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
Export dialog keeps last config. Updated "clear the cache" to remove all visible images/trajectory/background color.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1811 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -429,6 +429,13 @@ void CloudViewer::setTrajectorySize(int value)
|
||||
_maxTrajectorySize = value;
|
||||
}
|
||||
|
||||
void CloudViewer::clearTrajectory()
|
||||
{
|
||||
_trajectory->clear();
|
||||
_visualizer->removeShape("trajectory");
|
||||
this->render();
|
||||
}
|
||||
|
||||
void CloudViewer::removeAllClouds()
|
||||
{
|
||||
_addedClouds.clear();
|
||||
@@ -877,9 +884,7 @@ void CloudViewer::handleAction(QAction * a)
|
||||
}
|
||||
else if(a == _aClearTrajectory)
|
||||
{
|
||||
_trajectory->clear();
|
||||
_visualizer->removeShape("trajectory");
|
||||
this->render();
|
||||
this->clearTrajectory();
|
||||
}
|
||||
else if(a == _aResetCamera)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user