Go to the documentation of this file.
15 #ifndef BELUGA_SENSOR_DATA_VALUE_GRID_HPP
16 #define BELUGA_SENSOR_DATA_VALUE_GRID_HPP
59 [[nodiscard]] std::size_t
size()
const {
return data_.size(); }
62 [[nodiscard]]
const std::vector<T>&
data()
const {
return data_; }
Linear 2D grid base type.
Concepts and abstract implementations of linear (ie. contiguous storage) grids.
double resolution() const
Gets grid resolution.
std::size_t height() const
Gets grid height.
const std::vector< T > & data() const
Gets grid data.
std::size_t size() const
Gets grid size (ie. number of grid cells).
std::size_t width() const
Gets grid width.
ValueGrid2(std::vector< T > data, std::size_t width, double resolution=1.)
Constructs the grid.
Generic 2D linear value grid.
The main Beluga namespace.
beluga
Author(s):
autogenerated on Tue Jul 16 2024 02:59:53