![]() |
Project
|
< single pixel datum, with possibility to set a flag of pixel being masked out More...
#include <PixelData.h>
Public Member Functions | |
PixelData (const Digit *dig) | |
PixelData (uint16_t r=0, uint16_t c=0) | |
uint16_t | getRow () const |
uint16_t | getCol () const |
bool | isMasked () const |
void | setMask () |
void | unsetMask () |
uint16_t | getRowDirect () const |
for faster access when the pixel is guaranteed to not be masked | |
bool | operator== (const PixelData &dt) const |
bool | operator> (const PixelData &dt) const |
bool | operator< (const PixelData &dt) const |
bool | isNeighbour (const PixelData &dt, int maxDist) const |
int | compare (const PixelData &dt) const |
Static Public Attributes | |
static constexpr uint32_t | DummyROF = 0xffffffff |
static constexpr uint32_t | DummyChipID = 0xffff |
< single pixel datum, with possibility to set a flag of pixel being masked out
Transient data for single chip fired pixeld Assumes that the digits data is sorted in chip/col/row
Definition at line 32 of file PixelData.h.
|
inline |
Definition at line 36 of file PixelData.h.
|
inline |
Definition at line 37 of file PixelData.h.
< compare to pixels (first column then row)
Definition at line 78 of file PixelData.h.
|
inline |
Definition at line 39 of file PixelData.h.
|
inline |
Definition at line 38 of file PixelData.h.
|
inline |
for faster access when the pixel is guaranteed to not be masked
Definition at line 45 of file PixelData.h.
|
inline |
Definition at line 40 of file PixelData.h.
< check if one pixel is in proximity of another
Definition at line 71 of file PixelData.h.
|
inline |
< check if one pixel is lesser than another (first column then row)
Definition at line 62 of file PixelData.h.
|
inline |
< check if one pixel is equal to another
Definition at line 47 of file PixelData.h.
|
inline |
< check if one pixel is greater than another (first column then row)
Definition at line 53 of file PixelData.h.
|
inline |
Definition at line 41 of file PixelData.h.
|
inline |
Definition at line 42 of file PixelData.h.
|
staticconstexpr |
Definition at line 85 of file PixelData.h.
|
staticconstexpr |
Definition at line 84 of file PixelData.h.