GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-bea8435a9e
raster/set_window.c File Reference

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"
Include dependency graph for raster/set_window.c:

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...
 

Detailed Description

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.

Author
Original author CERL

Definition in file raster/set_window.c.

Function Documentation

◆ Rast__init_window()

◆ Rast_set_input_window()

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.

Parameters
windowwindow to become operative window

Definition at line 98 of file raster/set_window.c.

◆ Rast_set_output_window()

void Rast_set_output_window ( struct Cell_head window)

Establishes 'window' as the current working window for output.

Parameters
windowwindow to become operative window

Definition at line 76 of file raster/set_window.c.

◆ Rast_set_window()

void Rast_set_window ( struct Cell_head window)

Establishes 'window' as the current working window.

Parameters
windowwindow to become operative window

Definition at line 43 of file raster/set_window.c.

◆ Rast_unset_window()

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.