Storages and handles the pixel data component. More...
#include <hfl_pixel.h>
Public Member Functions | |
PixelReturn & | atReturn (uint16_t x) |
uint16_t & | atSlice (uint16_t x) |
Pixel (size_t returns_size, size_t slices_size) | |
Private Attributes | |
std::vector< PixelReturn > | returns_ |
Pixel's returns data. More... | |
Slice | slices_ |
Slices data. More... | |
Storages and handles the pixel data component.
Definition at line 63 of file hfl_pixel.h.
hfl::Pixel::Pixel | ( | size_t | returns_size, |
size_t | slices_size | ||
) |
Pixel initializer constructor
returns_size | Number of returns per pixel |
slices_size | Number of slices per pixel |
Definition at line 40 of file hfl_pixel.cpp.
PixelReturn & hfl::Pixel::atReturn | ( | uint16_t | x | ) |
Return the Pixel's return data at location x
x | Desired pixel return |
Definition at line 46 of file hfl_pixel.cpp.
uint16_t & hfl::Pixel::atSlice | ( | uint16_t | x | ) |
Returns the Slice data value at location x
x | Desired Slice position |
Definition at line 51 of file hfl_pixel.cpp.
|
private |
Pixel's returns data.
Definition at line 95 of file hfl_pixel.h.
|
private |
Slices data.
Definition at line 92 of file hfl_pixel.h.