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);
PlaneInferredInfo * mpPlaneInferInfo
std::set< unsigned > observedPlanes
A class used to store a planar feature (Plane for short).
PbMapLocaliser * mpPbMapLocaliser
bool areSamePlane(Plane &plane1, Plane &plane2, const float &cosAngleThreshold, const float &distThreshold, const float &proxThreshold)
void checkProximity(Plane &plane, float proximity)
void serializePbMap(std::string path)
boost::mutex mtx_pbmap_busy
void viz_cb(pcl::visualization::PCLVisualizer &viz)
A class used to infer some semantic meaning to the planes of a PbMap.
void mergePlanes(Plane &updatePlane, Plane &discardPlane)
SemanticClustering * clusterize
GLsizei const GLchar ** string
PbMapMaker(const std::string &config_file)
bool arePlanesNearby(Plane &plane1, Plane &plane2, const float distThreshold)
std::set< unsigned > sQueueObservedPlanes
void detectPlanesCloud(pcl::PointCloud< PointT >::Ptr &pointCloudPtr_arg, Eigen::Matrix4f &poseKF, double distThreshold, double angleThreshold, double minInliersF)
pcl::PointCloud< PointT >::Ptr cloudPtr
std::vector< frameRGBDandPose > frameQueue
A class used to store a Plane-based Map (PbMap).
pcl::visualization::CloudViewer cloudViewer