29 #include <Eigen/Dense>
30 #include <Eigen/Eigenvalues>
34 #pragma warning(disable: 4267 4244)
37 #include <flann/flann.hpp>
48 int Read(std::string filepath);
50 Eigen::Matrix<float, Eigen::Dynamic, 3> *
getPC(){
return pointcloud_;}
51 flann::Index<flann::L2<float>>*
getTree(){
return tree_;}
52 float getResolution ();
58 int ReadCSV(std::string filepath);
60 flann::Index<flann::L2<float>>*
tree_;
61 float getNearestNeighborDistance(Eigen::Vector3f pt);
62 void SearchFLANNTree(flann::Index<flann::L2<float>>* index,
63 Eigen::Vector3f& input,
64 std::vector<int>& indices,
65 std::vector<float>& dists,