EduArt Sensor Ring Library 3.0.1
Loading...
Searching...
No Matches
PointCloud.hpp
Go to the documentation of this file.
1// Copyright (c) 2025 EduArt Robotik GmbH
2
9
10#pragma once
11
12#include <vector>
13
16
17namespace eduart {
18
19namespace measurement {
20
25struct SENSORRING_API PointData {
27 math::Vector3 point = { 0.0, 0.0, 0.0 };
28
30 double raw_distance = 0.0;
31
33 double sigma = 0.0;
34
36 int user_idx = 0;
37};
38
43struct SENSORRING_API PointCloud {
45 std::vector<PointData> data;
46
52 void copyTo(double* buffer, int size);
53};
54
55} // namespace measurement
56
57} // namespace eduart
Collection of math functions.
Control the import and export of Windows DLL symbols.
Vector of length 3.
Definition Vector3.hpp:25
Stores a vector of points in 3D space.
Definition PointCloud.hpp:43
void copyTo(double *buffer, int size)
Copies the point cloud to a double buffer.
std::vector< PointData > data
Data structure of the PointCloud.
Definition PointCloud.hpp:45
Stores the data of a single point in 3d space.
Definition PointCloud.hpp:25
int user_idx
User assigned index of the sensor that measured the point.
Definition PointCloud.hpp:36
double raw_distance
Raw distance from the origin to the point.
Definition PointCloud.hpp:30
double sigma
Standard deviation associated with the points location.
Definition PointCloud.hpp:33
math::Vector3 point
Cartesian coordinates of the point.
Definition PointCloud.hpp:27