Kd-tree builder with TBB.
More...
#include <kdtree_tbb.hpp>
|
template<typename KdTree , typename PointCloud > |
void | build_tree (KdTree &kdtree, const PointCloud &points) const |
| Build KdTree. More...
|
|
template<typename PointCloud , typename KdTree , typename IndexConstIterator > |
NodeIndexType | create_node (KdTree &kdtree, std::atomic_uint64_t &node_count, const PointCloud &points, IndexConstIterator global_first, IndexConstIterator first, IndexConstIterator last) const |
| Create a Kd-tree node from the given point indices. More...
|
|
Kd-tree builder with TBB.
◆ build_tree()
template<typename KdTree , typename PointCloud >
void small_gicp::KdTreeBuilderTBB::build_tree |
( |
KdTree & |
kdtree, |
|
|
const PointCloud & |
points |
|
) |
| const |
|
inline |
◆ create_node()
template<typename PointCloud , typename KdTree , typename IndexConstIterator >
NodeIndexType small_gicp::KdTreeBuilderTBB::create_node |
( |
KdTree & |
kdtree, |
|
|
std::atomic_uint64_t & |
node_count, |
|
|
const PointCloud & |
points, |
|
|
IndexConstIterator |
global_first, |
|
|
IndexConstIterator |
first, |
|
|
IndexConstIterator |
last |
|
) |
| const |
|
inline |
Create a Kd-tree node from the given point indices.
- Parameters
-
global_first | Global first point index iterator (i.e., this->indices.begin()). |
first | First point index iterator to be scanned. |
last | Last point index iterator to be scanned. |
- Returns
- Index of the created node.
◆ max_leaf_size
int small_gicp::KdTreeBuilderTBB::max_leaf_size = 20 |
Maximum number of points in a leaf node.
◆ projection_setting
The documentation for this struct was generated from the following file:
- /home/runner/work/small_gicp/small_gicp/include/small_gicp/ann/kdtree_tbb.hpp