CFEL - ASG Software Suite
2.5.0
CASS
|
check if pixel is neighbour More...
Public Member Functions | |
isNeighbour (const pair< uint16_t, uint16_t > &coordinate) | |
constructor More... | |
bool | operator() (const Pixel &pixel) |
the operator More... | |
Public Attributes | |
pair< uint16_t, uint16_t > | _neighbourCoordinate |
the coordinate of the neighbour to check More... | |
check if pixel is neighbour
predicate struct for find if. Will return true when a pixel is a neighbour. It will check whether the position of the pixel is identical to the coordinate that was given to this predicate in the constructor. The pixel also is not allowed to be used before as a neighbour of another pixel.
Definition at line 42 of file coalesce_simple.cpp.
|
inline |
constructor
coordinate | the coordinate of the neighbour |
Definition at line 51 of file coalesce_simple.cpp.
|
inline |
the operator
pixel | reference to the potential neighbour |
Definition at line 60 of file coalesce_simple.cpp.
References cass::pixeldetector::Pixel::used, cass::pixeldetector::Pixel::x, and cass::pixeldetector::Pixel::y.
pair<uint16_t,uint16_t> cass::pixeldetector::isNeighbour::_neighbourCoordinate |
the coordinate of the neighbour to check
Definition at line 45 of file coalesce_simple.cpp.