UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::CloudProperties Struct Reference

Flags describing which optional per-point channels are present in a cloud file. More...

#include <lib/io/include/ufo/io/cloud_properties.hpp>

Public Attributes

bool alpha
 true if the colour channel includes an alpha (opacity) component.
 
bool color
 true if the cloud carries per-point RGB colour data.
 
bool intensity
 true if the cloud carries per-point scalar LiDAR return intensity.
 
bool normal
 true if the cloud carries per-point surface normal vectors.
 

Detailed Description

Flags describing which optional per-point channels are present in a cloud file.

CloudProperties is passed to I/O routines (read / write) to declare or query which optional data channels accompany the XYZ position data. Each flag maps to a distinct SoA channel in Cloud / PointCloud.

Channels

Field Type Description
color Color RGB colour per point (red, green, blue).
alpha Color Alpha (opacity) component of the colour channel.
intensity Intensity Scalar LiDAR return intensity.
normal Normal Surface normal vector.
Note
alpha is only meaningful when color is also true; the two flags are read and written together as an RGBA colour channel.

Definition at line 66 of file cloud_properties.hpp.

Member Data Documentation

◆ alpha

bool ufo::CloudProperties::alpha

true if the colour channel includes an alpha (opacity) component.

Definition at line 70 of file cloud_properties.hpp.

◆ color

bool ufo::CloudProperties::color

true if the cloud carries per-point RGB colour data.

Definition at line 68 of file cloud_properties.hpp.

◆ intensity

bool ufo::CloudProperties::intensity

true if the cloud carries per-point scalar LiDAR return intensity.

Definition at line 72 of file cloud_properties.hpp.

◆ normal

bool ufo::CloudProperties::normal

true if the cloud carries per-point surface normal vectors.

Definition at line 74 of file cloud_properties.hpp.


The documentation for this struct was generated from the following file: