Public Member Functions | Private Attributes | List of all members
hfl::Pixel Class Reference

Storages and handles the pixel data component. More...

#include <hfl_pixel.h>

Public Member Functions

PixelReturnatReturn (uint16_t x)
 
uint16_t & atSlice (uint16_t x)
 
 Pixel (size_t returns_size, size_t slices_size)
 

Private Attributes

std::vector< PixelReturnreturns_
 Pixel's returns data. More...
 
Slice slices_
 Slices data. More...
 

Detailed Description

Storages and handles the pixel data component.

Definition at line 63 of file hfl_pixel.h.

Constructor & Destructor Documentation

hfl::Pixel::Pixel ( size_t  returns_size,
size_t  slices_size 
)

Pixel initializer constructor

Parameters
returns_sizeNumber of returns per pixel
slices_sizeNumber of slices per pixel

Definition at line 40 of file hfl_pixel.cpp.

Member Function Documentation

PixelReturn & hfl::Pixel::atReturn ( uint16_t  x)

Return the Pixel's return data at location x

Parameters
xDesired pixel return
Returns
PixelReturn data structure

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

Parameters
xDesired Slice position
Returns
Slice data value

Definition at line 51 of file hfl_pixel.cpp.

Member Data Documentation

std::vector<PixelReturn> hfl::Pixel::returns_
private

Pixel's returns data.

Definition at line 95 of file hfl_pixel.h.

Slice hfl::Pixel::slices_
private

Slices data.

Definition at line 92 of file hfl_pixel.h.


The documentation for this class was generated from the following files:


hfl_driver
Author(s): Evan Flynn , Maxton Ginier , Gerardo Bravo , Moises Diaz
autogenerated on Sat Mar 20 2021 02:27:31