Kd-tree builder with OpenMP.
More...
#include <small_kdtree.hpp>
|
|
int | num_threads |
| | Number of threads.
|
| |
|
int | max_leaf_size |
| | Maximum number of points in a leaf node.
|
| |
|
ProjectionSetting | projection_setting |
| | Projection setting.
|
| |
Kd-tree builder with OpenMP.
◆ KdTreeBuilderOMP()
| gtsam_points::KdTreeBuilderOMP::KdTreeBuilderOMP |
( |
int |
num_threads = 4 | ) |
|
|
inline |
Constructor.
- Parameters
-
| num_threads | Number of threads |
◆ create_node()
| NodeIndexType gtsam_points::KdTreeBuilderOMP::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.
The documentation for this struct was generated from the following file:
- /home/runner/work/gtsam_points/gtsam_points/include/gtsam_points/ann/small_kdtree.hpp