|
UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
|
Represents LiDAR/sensor return intensity as a single float value. More...
#include <lib/core/include/ufo/core/intensity.hpp>
Public Types | |
| using | value_type = float |
| Underlying scalar type. | |
Public Member Functions | |
| constexpr | operator value_type () const noexcept |
| Implicitly converts to the underlying scalar type. | |
Public Attributes | |
| value_type | intensity {} |
| The raw intensity value. | |
Friends | |
| constexpr auto | operator<=> (Intensity lhs, Intensity rhs) noexcept=default |
| Three-way comparison (total order on the underlying float). | |
| constexpr bool | operator== (Intensity lhs, Intensity rhs) noexcept=default |
| Equality comparison. | |
Represents LiDAR/sensor return intensity as a single float value.
Intensity is a lightweight, trivially-copyable value type with no overhead over a bare float. It is implicitly convertible to and from float, fully ordered via <=>, and supports std::ostream streaming and std::format.
Intended for use as a per-point attribute in a Cloud/PointCloud, where it can be stored as a separate SoA channel alongside position data.
Definition at line 66 of file intensity.hpp.
| using ufo::Intensity::value_type = float |
Underlying scalar type.
Definition at line 70 of file intensity.hpp.
|
inlineconstexprnoexcept |
Implicitly converts to the underlying scalar type.
Allows Intensity to be used wherever a float is expected.
Definition at line 84 of file intensity.hpp.
Three-way comparison (total order on the underlying float).
| [in] | lhs | Left operand. |
| [in] | rhs | Right operand. |
Equality comparison.
| [in] | lhs | Left operand. |
| [in] | rhs | Right operand. |
| value_type ufo::Intensity::intensity {} |
The raw intensity value.
Definition at line 75 of file intensity.hpp.