#include <vector>
#include "real_tile/real_tile.h"
Go to the source code of this file.
|
bool | is_local_minimum (const RealTile *tile, const int &pos_x, const int &pos_y, const Kernel &kernel) |
|
void | Catchmenter__color_pixel (RealTile *tile, const int &x, const int &y, const Kernel &kernel) |
|
void | Catchmenter__color_all (RealTile *tile, const Kernel &kernel) |
|
void | Catchmenter__color_all_immediate (RealTile *tile, const Kernel &kernel) |
|
void | Catchmenter__color_all_immediate_heightwise (RealTile *tile, const Kernel &kernel) |
|
void | Catchmenter__from (RealTile *tile, bool *visi_matrix, const int &from_x, const int &from_y, const Kernel &kernel, int jump_max) |
|
void | Catchmenter__all (RealTile *tile, const Kernel &kernel, int jump_max) |
|
- Author
- JMendyk
- Date
- 19.01.18
void Catchmenter__all |
( |
RealTile * |
tile, |
|
|
const Kernel & |
kernel, |
|
|
int |
jump_max |
|
) |
| |
Color whole RealTile using "Disjunctive" algorithm
- Parameters
-
tile | RealTile to catchment |
kernel | Kernel to use for coloring |
jump_max | Radius of area to check for expansion possibility |
void Catchmenter__color_all |
( |
RealTile * |
tile, |
|
|
const Kernel & |
kernel |
|
) |
| |
void Catchmenter__color_all_immediate |
( |
RealTile * |
tile, |
|
|
const Kernel & |
kernel |
|
) |
| |
Immediately color whole RealTile
- Parameters
-
void Catchmenter__color_all_immediate_heightwise |
( |
RealTile * |
tile, |
|
|
const Kernel & |
kernel |
|
) |
| |
Immediately color whole RealTile performing coloring based on height order
- Parameters
-
void Catchmenter__color_pixel |
( |
RealTile * |
tile, |
|
|
const int & |
x, |
|
|
const int & |
y, |
|
|
const Kernel & |
kernel |
|
) |
| |
void Catchmenter__from |
( |
RealTile * |
tile, |
|
|
bool * |
visi_matrix, |
|
|
const int & |
from_x, |
|
|
const int & |
from_y, |
|
|
const Kernel & |
kernel, |
|
|
int |
jump_max |
|
) |
| |
Color RealTile from given position
- Parameters
-
tile | RealTile to catchment |
visi_matrix | Matrix representing which positions have already been visited by Catchmeneter |
from_x | starting position's x coordinate |
from_y | starting position's y coordinate |
kernel | Kernel to use for coloring |
jump_max | Radius of area to check for expansion possibility |
bool is_local_minimum |
( |
const RealTile * |
tile, |
|
|
const int & |
pos_x, |
|
|
const int & |
pos_y, |
|
|
const Kernel & |
kernel |
|
) |
| |
Check if given position is at local minimum
- Parameters
-
tile | RealTile to get height data from |
pos_x | position's x coordinate |
pos_y | position's y coordinate |
kernel | Kernel to use for check |
- Returns
- Is position at local minimum