mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
Added Octomap visualization and export options
This commit is contained in:
@@ -58,9 +58,12 @@ namespace pcl {
|
||||
}
|
||||
|
||||
class QMenu;
|
||||
class vtkProp;
|
||||
|
||||
namespace rtabmap {
|
||||
|
||||
class OctoMap;
|
||||
|
||||
class RTABMAPGUI_EXP CloudViewer : public QVTKWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -136,6 +139,9 @@ public:
|
||||
const pcl::TextureMesh::Ptr & textureMesh,
|
||||
const Transform & pose = Transform::getIdentity());
|
||||
|
||||
bool addOctomap(const OctoMap * octomap, unsigned int treeDepth = 0, bool showEdges = true, bool lightingOn = false);
|
||||
void removeOctomap();
|
||||
|
||||
bool addOccupancyGridMap(
|
||||
const cv::Mat & map8U,
|
||||
float resolution, // cell size
|
||||
@@ -326,6 +332,7 @@ private:
|
||||
bool _backfaceCulling;
|
||||
bool _frontfaceCulling;
|
||||
double _renderingRate;
|
||||
vtkProp * _octomapActor;
|
||||
};
|
||||
|
||||
} /* namespace rtabmap */
|
||||
|
||||
Reference in New Issue
Block a user