16 #ifndef __PBMAPMAKER_H
17 #define __PBMAPMAKER_H
19 #include <mrpt/config.h>
23 #include <pcl/visualization/cloud_viewer.h>
24 #include <pcl/visualization/pcl_visualizer.h>
94 pcl::PointCloud<PointT>::Ptr& pointCloudPtr_arg,
95 Eigen::Matrix4f& poseKF,
double distThreshold,
double angleThreshold,
101 Plane& plane1,
Plane& plane2,
const float distThreshold);
113 Plane& plane1,
Plane& plane2,
const float& cosAngleThreshold,
114 const float& distThreshold,
const float& proxThreshold);
144 void viz_cb(pcl::visualization::PCLVisualizer& viz);
A class used to store a Plane-based Map (PbMap).
void viz_cb(pcl::visualization::PCLVisualizer &viz)
PbMapMaker(const std::string &config_file)
bool arePlanesNearby(Plane &plane1, Plane &plane2, const float distThreshold)
pcl::visualization::CloudViewer cloudViewer
PbMapLocaliser * mpPbMapLocaliser
std::set< unsigned > observedPlanes
boost::mutex mtx_pbmap_busy
std::set< unsigned > sQueueObservedPlanes
void serializePbMap(std::string path)
void checkProximity(Plane &plane, float proximity)
void detectPlanesCloud(pcl::PointCloud< PointT >::Ptr &pointCloudPtr_arg, Eigen::Matrix4f &poseKF, double distThreshold, double angleThreshold, double minInliersF)
SemanticClustering * clusterize
void mergePlanes(Plane &updatePlane, Plane &discardPlane)
bool areSamePlane(Plane &plane1, Plane &plane2, const float &cosAngleThreshold, const float &distThreshold, const float &proxThreshold)
PlaneInferredInfo * mpPlaneInferInfo
std::vector< frameRGBDandPose > frameQueue
A class used to store a planar feature (Plane for short).
A class used to infer some semantic meaning to the planes of a PbMap.
GLsizei const GLchar ** string
pcl::PointCloud< PointT >::Ptr cloudPtr