Container for parameters of SegmentProber.
More...
#include <ProbingControl.h>
|
| enum | move_status { MOVE_ACCEPTED =0
, COORD_ERROR =1
, DIR_ERROR =2
} |
| |
|
typedef unsigned char | marker_t |
| |
|
|
virtual bool | isVisited (const Position &pos) const |
| | NEW.
|
| |
|
virtual void | markVisited (const Position &pos) |
| |
| void | markBlockedIn (const Position &pos, Direction::value_t dir) |
| | Disable exit from position pos towards direction dir.
|
| |
| bool | markBlockedOut (Position pos, Direction::value_t dir) |
| | Disable entry to position pos from direction dir inverted .
|
| |
|
virtual bool | isValidDir (const Position &pos, Direction::value_t dir) const |
| | Direction NONE is always valid,.
|
| |
|
virtual bool | isValidPixel (const Channel &src, const Position &pos) const =0 |
| |
|
virtual move_status | move (Position &pos, Direction::value_t dir) const |
| |
Container for parameters of SegmentProber.
- Template Parameters
-
| S | - storage type of the source image data (int by default, but should be floating-type, if src is). |
| D | - storage type of the destination image data |
- Author
- Marku.nosp@m.s.Pe.nosp@m.ura@f.nosp@m.mi.f.nosp@m.i
◆ markBlockedIn()
| void markBlockedIn |
( |
const Position & |
pos, |
|
|
Direction::value_t |
dir |
|
) |
| |
|
inline |
Disable exit from position pos towards direction dir.
Mark blocking for this position(i,j).
- Parameters
-
| pos | - value parameter forwarded to direction dir |
| dir | - direction to be inverted for marking |
◆ markBlockedOut()
| bool markBlockedOut |
( |
Position |
pos, |
|
|
Direction::value_t |
dir |
|
) |
| |
|
inline |
Disable entry to position pos from direction dir inverted .
Mark inverse blocking for "pos+dir", with dir inverted 180 degrees.
- Parameters
-
| pos | - value parameter forwarded to direction dir |
| dir | - direction to be inverted for marking |
- Returns
- -
true in success, false upon coordinate overflow
The documentation for this struct was generated from the following file: