6 #ifndef COGS_POINT_CLOUD_SELECTOR_H 7 #define COGS_POINT_CLOUD_SELECTOR_H 9 #include <COGS/Octree.h> 10 #include <COGS/PointCloud.h> 33 void Initialize(std::shared_ptr<cogs::PointCloud> pointcloud);
35 size_t CountSelected()
const;
46 int32_t SelectPoint(
const geom::Ray3 &ray);
57 int32_t DeselectPoint(
const geom::Ray3 &ray);
64 void SelectPoint(int32_t point_index);
71 void DeselectPoint(int32_t point_index);
81 void SelectPointsAround(int32_t point_index,
float selection_radius);
91 void DeselectPointsAround(int32_t point_index,
float deselection_radius);
93 void DeselectAllPoints();
100 const std::set<int32_t> &GetSelectedPoints()
const;
103 std::shared_ptr<cogs::PointCloud> pointcloud_;
105 std::set<int32_t> selected_points_;
Namespace of "Computer Graphic Structures" library, which implement many core classes and structures...
Definition: AabbHierarchy.h:8
Space-partitioning data structure for point clouds.
Definition: Octree.h:16
API for selecting points from a point cloud by ray-casting.
Definition: PointCloudSelector.h:15