![]() |
RSMesh 1.0.0
一个曲面重构的系统,输入为点云,输出为obj,stl等主流格式的网格文件,使用的方法为径向基函数插值,采取了并行优化、Intel-MKL等优化措施,支持百万级别的点云
|
用于在点云中搜索最近邻点的kdtree,利用flann库来进行实现 更多...
#include <kdtree.h>
类 | |
| class | impl |
Public 类型 | |
| using | indices_and_distaces = std::pair<std::vector<index_t>, std::vector<double>> |
Public 成员函数 | |
| kdtree (const geometry::points3d &points, bool use_exact_search) | |
| 构造函数 | |
| ~kdtree () | |
| 析构函数 | |
| kdtree (const kdtree &)=delete | |
| kdtree (kdtree &&)=delete | |
| kdtree & | operator= (const kdtree &)=delete |
| kdtree & | operator= (kdtree &&)=delete |
| indices_and_distaces | knn_search (const geometry::point3d &point, index_t k) const |
| 搜索距离某个点最近的k个点 | |
| indices_and_distaces | radius_search (const geometry::point3d &point, double radius) const |
| 搜索出距离某个点距离小于等于radius的全部点 | |
| using rsmesh::point_cloud::kdtree::indices_and_distaces = std::pair<std::vector<index_t>, std::vector<double>> |
| rsmesh::point_cloud::kdtree::kdtree | ( | const geometry::points3d & | points, |
| bool | use_exact_search ) |
| kdtree::indices_and_distaces rsmesh::point_cloud::kdtree::knn_search | ( | const geometry::point3d & | point, |
| rsmesh::index_t | k ) const |
| kdtree::indices_and_distaces rsmesh::point_cloud::kdtree::radius_search | ( | const geometry::point3d & | point, |
| double | radius ) const |