|
| virtual void | Deserialize (const std::uint8_t *pBuffer, const std::size_t size)=0 |
| | Fill this point cloud object from binary data.
|
| virtual void | Deserialize (const std::vector< std::uint8_t > &data)=0 |
| | Fill this point cloud object from binary data.
|
| virtual const std::vector< std::uint16_t > & | GetAmbient () const =0 |
| | Get the background light of points of the current line.
|
| virtual const std::vector< rgb > & | GetColors () const =0 |
| | Get the rgb color values for each point.
|
| virtual const std::vector< float > & | GetConfidence () const =0 |
| | Get the confidence of points of the current line.
|
| virtual const std::vector< float > & | GetDistanceMm () const =0 |
| | Get the measured distance of the points of the current line.
|
| virtual std::uint64_t | GetFrameTimestampUs () const =0 |
| | Get the frame timestamp associated with this dataset.
|
| virtual const ImuData & | GetImuData () const =0 |
| | Get the IMU data of the current line.
|
| virtual std::uint64_t | GetLineTimestampUs () const =0 |
| | Get the line timestamp associated with this dataset.
|
| virtual const MetaData & | GetMetaData () const =0 |
| | Get the metadata of the current line.
|
| virtual std::size_t | GetNrPoints () const =0 |
| | Get the number of points in the current line.
|
| virtual const OnboardProbes & | GetOnboardProbes () const =0 |
| | Get the temperature and humidity of the current line.
|
| virtual const std::vector< float > & | GetReflectivity () const =0 |
| | Get the reflectivity of the points of the current line.
|
| virtual const std::vector< float > & | GetXMm () const =0 |
| | Get the x reconstruction of points of the current line.
|
| virtual const std::vector< float > & | GetYMm () const =0 |
| | Get the y reconstruction of points of the current line.
|
| virtual const std::vector< float > & | GetZMm () const =0 |
| | Get the z reconstruction of points of the current line.
|
| virtual const std::vector< std::uint8_t > & | Serialize ()=0 |
| | Convert this point cloud object into binary data.
|
| virtual void | SetColors (const std::vector< rgb > &colors)=0 |
| | Set the rgb color values for each point.
|
The interface of the point cloud object.
Returned by the point cloud callback, each point cloud object represents a single line in the FOV of the sensor.
The point cloud object contains: the (x,y,z) reconstruction of each point, the measured distance from the sensor, the reflectivity and ambient light values, a confidence level for each point, and the metadata.
| virtual const std::vector< rgb > & GetColors |
( |
| ) |
const |
|
pure virtual |
Get the rgb color values for each point.
- Returns
- Reference to the vector containing rgb values .
If color information is present, the returned vector contains GetNrPoints() elements, each representing the color of a point.
If the point cloud does not contain color information, an empty vector is returned.