shift_pixels_left() |
Shift the window left, that moves
all stored data within the window
right, leave the leftmost column
(col = COLS-1) for inserting new
data. |
shift_pixels_right() |
Shift the window right, that
moves all stored data within the
window left, leave the rightmost
column (col = 0) for inserting
new data. |
shift_pixels_up() |
Shift the window up, that moves
all stored data within the window
down, leave the top row (row =
ROWS-1) for inserting new data. |
shift_pixels_down() |
Shift the window down, that moves
all stored data within the window
up, leave the bottom row (row =
0) for inserting new data. |
insert_pixel(T value, int row,
int col) |
Insert a new element value at
location (row, column) of the
window. |
insert_row(T value[COLS], int
row) |
Inserts a set of values in any
row of the window. |
insert_top_row(T value[COLS]) |
Inserts a set of values in the
top row = 0 of the window. |
insert_bottom_row(T value[COLS]) |
Inserts a set of values in the
bottom row = ROWS-1 of the
window. |
insert_col(T value[ROWS], int
col) |
Inserts a set of values in any
column of the window. |
insert_left_col(T value[ROWS]) |
Inserts a set of values in left
column = 0 of the window. |
insert_right_col(T value[ROWS]) |
Inserts a set of values in right
column = COLS-1 of the window. |
T& getval(int row, int col) |
Returns the data value in the
window at position (row,column). |
T& operator ()(int row, int col) |
Returns the data value in the
window at position (row,column). |
restore_val() |
Restore the contents of window
buffer to another array. |
window_print() |
Print all the data present in
window buffer onto console. |