4 #include <Utils/GeometryStructures.h> 6 #include <COGS/PointCloud.h> 16 KdTree(
const std::vector<const cogs::PointCloud *> clouds);
20 void Initialize(
const std::vector<const cogs::PointCloud *> clouds);
22 bool IsPointInRange(
const geom::Aabb3 &search_range)
const;
24 void GetPointsInRange(
const geom::Aabb3 &search_range, std::vector<uint32_t> *output)
const;
30 void Include(std::vector<std::pair<uint32_t, glm::vec3>> &points, uint8_t dimension = 0);
31 bool QueryRange(
const geom::Aabb3 &search_range, std::vector<uint32_t> *output =
nullptr)
const;
36 std::unique_ptr<TreeNode> l_node_ =
nullptr, r_node_ =
nullptr;
39 std::unique_ptr<TreeNode> tree_;
40 uint32_t point_count_;
Namespace of "Computer Graphic Structures" library, which implement many core classes and structures...
Definition: AabbHierarchy.h:8
Management class for a set of data points in a 3D space.
Definition: PointCloud.h:32
Space-partitioning data structure for point clouds.
Definition: KdTree.h:11