Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef voxel_h
00009 #define voxel_h
00010
00011 #include <boost/unordered_map.hpp>
00012 #include "unordered_map_voxel.h"
00013 #include <pcl/io/io.h>
00014 #include <pcl_ros/point_cloud.h>
00015 #include <pcl/point_types.h>
00016
00017 typedef boost::unordered_map<unordered_map_voxel,un_key> umap;
00018
00019
00020 class Voxelize
00021 {
00022 public:
00023 Voxelize(void){};
00024 ~Voxelize(){};
00025 void generateUmap(pcl::PointCloud<pcl::PointXYZ>& cloud,double resolution ,umap &m);
00026 pair<umap::iterator,bool> neighbor_search( umap &m, umap &m1,const unordered_map_voxel &tempp );
00027 };
00028 #endif