1 
2 /****************************************************************************
3  *
4  * MODULE:       r.cross
5  *
6  * AUTHOR(S):    Michael Shapiro - CERL
7  *
8  * PURPOSE:      Creates a cross product of the category values from
9  *               multiple raster map layers.
10  *
11  * COPYRIGHT:    (C) 2006 by the GRASS Development Team
12  *
13  *               This program is free software under the GNU General Public
14  *               License (>=v2). Read the file COPYING that comes with GRASS
15  *               for details.
16  *
17  ***************************************************************************/
18 
19 #ifndef __R_CROSS_GLOB_H__
20 #define __R_CROSS_GLOB_H__
21 
22 #include <grass/gis.h>
23 #include <grass/raster.h>
24 
25 #define NFILES 30		/* maximum number of layers */
26 
27 extern int nfiles;
28 extern int nrows;
29 extern int ncols;
30 extern const char *names[NFILES];
31 extern struct Categories labels[NFILES];
32 
33 typedef struct
34 {
35     CELL *cat;
36     CELL result;
37 } RECLASS;
38 
39 extern RECLASS *reclass;
40 extern CELL *table;
41 
42 #endif /* __R_CROSS_GLOB_H__ */
43