grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

raster.h File Reference
#include <grass/gis.h>
#include <grass/defs/raster.h>
Include dependency graph for raster.h:

Go to the source code of this file.

Classes

struct  Reclass
 
struct  FPReclass_table
 
struct  FPReclass
 
struct  Quant_table
 
struct  Quant
 
struct  Categories
 
struct  History
 Raster history info (metadata) More...
 
struct  Cell_stats
 
struct  Cell_stats::Cell_stats_node
 
struct  Histogram
 
struct  Histogram::Histogram_list
 
struct  R_stats
 
struct  Range
 
struct  FPRange
 
struct  FP_stats
 

Macros

#define RECLASS_TABLE   1
 
#define RECLASS_RULES   2
 
#define RECLASS_SCALE   3
 
#define CELL_TYPE   0
 
#define FCELL_TYPE   1
 
#define DCELL_TYPE   2
 
#define INTERP_UNKNOWN   0
 Interpolation methods. More...
 
#define INTERP_NEAREST   1 /* nearest neighbor interpolation */
 
#define INTERP_BILINEAR   2 /* bilinear interpolation */
 
#define INTERP_BICUBIC   3 /* bicubic interpolation */
 

Typedefs

typedef int RASTER_MAP_TYPE
 
typedef int INTERP_TYPE
 

Enumerations

enum  History_field {
  HIST_MAPID , HIST_TITLE , HIST_MAPSET , HIST_CREATOR ,
  HIST_MAPTYPE , HIST_DATSRC_1 , HIST_DATSRC_2 , HIST_KEYWRD ,
  HIST_NUM_FIELDS
}
 Raster history info (metadata) More...
 

Macro Definition Documentation

◆ CELL_TYPE

#define CELL_TYPE   0

Definition at line 11 of file raster.h.

◆ DCELL_TYPE

#define DCELL_TYPE   2

Definition at line 13 of file raster.h.

◆ FCELL_TYPE

#define FCELL_TYPE   1

Definition at line 12 of file raster.h.

◆ INTERP_BICUBIC

#define INTERP_BICUBIC   3 /* bicubic interpolation */

Definition at line 22 of file raster.h.

◆ INTERP_BILINEAR

#define INTERP_BILINEAR   2 /* bilinear interpolation */

Definition at line 21 of file raster.h.

◆ INTERP_NEAREST

#define INTERP_NEAREST   1 /* nearest neighbor interpolation */

Definition at line 20 of file raster.h.

◆ INTERP_UNKNOWN

#define INTERP_UNKNOWN   0

Interpolation methods.

For G_get_raster_sample(), INTERP_TYPE

Definition at line 19 of file raster.h.

◆ RECLASS_RULES

#define RECLASS_RULES   2

Definition at line 8 of file raster.h.

◆ RECLASS_SCALE

#define RECLASS_SCALE   3

Definition at line 9 of file raster.h.

◆ RECLASS_TABLE

#define RECLASS_TABLE   1

Definition at line 7 of file raster.h.

Typedef Documentation

◆ INTERP_TYPE

typedef int INTERP_TYPE

Definition at line 28 of file raster.h.

◆ RASTER_MAP_TYPE

typedef int RASTER_MAP_TYPE

Definition at line 25 of file raster.h.

Enumeration Type Documentation

◆ History_field

Raster history info (metadata)

See History structure for implementation issues.

Enumerator
HIST_MAPID 

Raster name.

HIST_TITLE 

Raster title.

HIST_MAPSET 

Raster mapset.

HIST_CREATOR 

User who creater raster map.

HIST_MAPTYPE 

Map type ("raster", "reclass", "GDAL-link", or "virtual")

HIST_DATSRC_1 

Description of original data source (two lines)

HIST_DATSRC_2 
HIST_KEYWRD 

One-line data description.

HIST_NUM_FIELDS 

Number of fields to be defined in History structure.

Definition at line 157 of file raster.h.