GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-847944e18e
|
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. More... | |
void | Rast_unset_window (void) |
Unset current window. More... | |
void | Rast_set_output_window (struct Cell_head *window) |
Establishes 'window' as the current working window for output. More... | |
void | Rast_set_input_window (struct Cell_head *window) |
Establishes 'window' as the current working window for input. More... | |
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.
void Rast__init_window | ( | void | ) |
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_input_window_cols(), Rast_input_window_rows(), Rast_output_window_cols(), Rast_output_window_rows(), Rast_window_cols(), and Rast_window_rows().
void Rast_set_input_window | ( | struct Cell_head * | window | ) |
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 98 of file raster/set_window.c.
void Rast_set_output_window | ( | struct Cell_head * | 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.
void Rast_set_window | ( | struct Cell_head * | window | ) |
Establishes 'window' as the current working window.
window | window to become operative window |
Definition at line 43 of file raster/set_window.c.
void Rast_unset_window | ( | void | ) |
Unset current window.
Definition at line 64 of file raster/set_window.c.
References G_debug(), and R__::window_set.