mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Added option to show graphs in the 3D map view. (See "General Settings->3D rendering->Show Graphs" default true)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1943 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -130,6 +130,13 @@ public:
|
||||
void updateCameraPosition(
|
||||
const Transform & pose);
|
||||
|
||||
void addOrUpdateGraph(
|
||||
const std::string & id,
|
||||
const pcl::PointCloud<pcl::PointXYZ>::Ptr & graph,
|
||||
const QColor & color = Qt::gray);
|
||||
void removeGraph(const std::string & id);
|
||||
void removeAllGraphs();
|
||||
|
||||
void setTrajectoryShown(bool shown);
|
||||
void setTrajectorySize(int value);
|
||||
void clearTrajectory();
|
||||
@@ -182,6 +189,7 @@ private:
|
||||
QAction * _aShowGrid;
|
||||
QAction * _aSetBackgroundColor;
|
||||
QMenu * _menu;
|
||||
std::map<std::string, pcl::PointCloud<pcl::PointXYZ>::Ptr > _graphes;
|
||||
pcl::PointCloud<pcl::PointXYZ>::Ptr _trajectory;
|
||||
unsigned int _maxTrajectorySize;
|
||||
QMap<std::string, Transform> _addedClouds; // include cloud, scan, meshes
|
||||
|
||||
Reference in New Issue
Block a user