|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-5f4f7ad06c
|
Raster Library - Set window (map region) More...
#include <grass/gis.h>#include <grass/raster.h>#include <grass/glocale.h>#include "../gis/G.h"#include "R.h"
Go to the source code of this file.
Functions | |
| void | Rast__init_window (void) |
| void | Rast_set_window (struct Cell_head *window) |
| Establishes 'window' as the current working window. | |
| void | Rast_unset_window (void) |
| Unset current window. | |
| void | Rast_set_output_window (struct Cell_head *window) |
| Establishes 'window' as the current working window for output. | |
| void | Rast_set_input_window (struct Cell_head *window) |
| Establishes 'window' as the current working window for input. | |
Raster Library - Set window (map region)
(C) 2001-2009 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file raster/set_window.c.
Definition at line 24 of file raster/set_window.c.
References G__init_window(), G_initialize_done(), G_is_initialized(), R__::rd_window, R__::split_window, G__::window, R__::window_set, and R__::wr_window.
Referenced by Rast_create_gdal_link(), Rast_get_input_window(), Rast_get_output_window(), Rast_get_window(), Rast_input_window_cols(), Rast_input_window_rows(), Rast_output_window_cols(), Rast_output_window_rows(), Rast_window_cols(), and Rast_window_rows().
Establishes 'window' as the current working window for input.
Any opened cell files has its file-to-window mapping reworked.
| window | window to become operative window |
Definition at line 97 of file raster/set_window.c.
References G_adjust_Cell_head(), Rast__init(), R__::rd_window, and R__::split_window.
Establishes 'window' as the current working window for output.
| window | window to become operative window |
Definition at line 76 of file raster/set_window.c.
References G_adjust_Cell_head(), G_set_window(), Rast__init(), R__::split_window, and R__::wr_window.
Referenced by IL_resample_output_2d().
Establishes 'window' as the current working window.
| window | window to become operative window |
Definition at line 43 of file raster/set_window.c.
References _, G_adjust_Cell_head(), G_warning(), Rast__init(), R__::rd_window, R__::split_window, and R__::wr_window.
Referenced by D_setup(), I_compute_scatts(), I_insert_patch_to_cat_rast(), IL_output_2d(), and N_init_geom_data_2d().
Unset current window.
Definition at line 64 of file raster/set_window.c.
References G_debug(), and R__::window_set.