pihmRasterLIBS/gioapi.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define STRLEN   129
#define TRUE   1
#define FALSE   0
#define NULL   0
#define READONLY   1
#define READWRITE   2
#define WRITEONLY   3
#define ROWIO   1
#define CELLIO   2
#define BLOCKIO   3
#define ROWRUNIO   4
#define BLOCKRUNIO   5
#define REGIONIO   6
#define REGIONRUNIO   7
#define CELLINT   1
#define CELLFLOAT   2
#define CELLMAX   2147483646
#define CELLMIN   -2147483646
#define MISSINGINT   -2147483647
#define ROWIO   1
#define CELLIO   2
#define BLOCKIO   3
#define ROWRUNIO   4
#define BLOCKRUNIO   5
#define REGIONIO   6
#define REGIONRUNIO   7
#define READONLY   1
#define READWRITE   2
#define ADAPTIVE   -1
#define COMPRESSED   0
#define UNCOMPRESSED   1

Typedefs

typedef int CELLTYPE

Functions

void GetMissingFloat (float *)
int GridExists (char *grid_name)
int GridCopy (char *from_grid, char *to_grid)
int GridRename (char *from_grid, char *to_grid)
int GridDelete (char *grid_name)
int GridKill (char *grid_name, int option)
int DescribeGridDbl (char *grdnam, double *cellsz, int *gridsz, double *box, double *sta, int *datatyp, int *nclass, int *reclen)
int BndCellRead (char *grdnam, double *box)
int GridIOSetup (void)
int GridIOExit (void)
int CellLyrExists (char *clyr_name)
int CellLayerCreate (char *clyr_name, int rdwrflag, int iomode, int celltype, double cellsize, double box[4])
int CellLayerCreateTiled (char *clyr_name, int rdwrflag, int iomode, int celltype, double cellsize, double box[4], int blockxcells, int blockycells)
int CellLayerOpen (char *clyr_name, int rdwrflag, int iomode, int *celltype, double *cellsize)
int CellLyrClose (int channel)
int CellLyrCloseNoVat (int channel)
int CellLyrDelete (char *clyr_name)
int CellLyrGetIO (int channel)
int CellLyrSetIO (int channel, int mode)
int CellLyrName (int channel, char *name)
int CellLyrItem (int channel, char *name)
int CellLyrEvalType (int channel)
int CellLyrBlockSize (int channel, int *bxcells, int *bycells)
int CellLyrSta (int channel, double *dmin, double *dmax, double *dmean, double *dstdv)
int AccessWindowSet (double box[4], double cellsize, double newbox[4])
int WindowRows (void)
int WindowCols (void)
int WindowBox (double box[4])
int XY2WindowColRow (double x, double y, int *col, int *row)
int AccessWindowClear (void)
int PrivateAccessWindowSet (int channel, double box[4], double cellsize, double newbox[4])
int PrivateWindowCols (int i)
int PrivateWindowRows (int i)
int PrivateWindowBox (int i, double box[4])
int XY2PrivateWindowColRow (int i, double x, double y, int *col, int *row)
int PrivateAccessWindowClear (int channel)
char * CAllocate1 (int number, int size)
char ** CAllocate2 (int nrows, int ncols, int size)
char *** CAllocate3 (int nlyrs, int nrows, int ncols, int size)
void CFree1 (char *ptr)
void CFree2 (char **ptr, int nrows)
void CFree3 (char ***ptr, int nlyrs, int nrows)
int GetWindowRow (int channel, int nreswinrow, CELLTYPE *rowbuf)
int GetWindowRowFloat (int channel, int nreswinrow, float *rowbuf)
int GetWindowRowInt (int channel, int nreswinrow, int *rowbuf)
int PutWindowRow (int channel, int nwinrow, CELLTYPE *rowbuf)
int GetWindowBand (int channel, int startrow, int nrows, CELLTYPE **bandbuf)
int GetWindowBandFloat (int channel, int startrow, int nrows, float **bandbuf)
int GetWindowBandInt (int channel, int startrow, int nrows, int **bandbuf)
int PutWindowBand (int channel, int startrow, int nrows, CELLTYPE **bandbuf)
int GetWindowRectangle (int channel, int rxul, int ryul, int rxcells, int rycells, CELLTYPE **rbuf)
int GetWindowRectangleInt (int channel, int rxul, int ryul, int rxcells, int rycells, int **rbuf)
int GetWindowRectangleFloat (int channel, int rxul, int ryul, int rxcells, int rycells, float **rbuf)
int PutWindowRectangle (int channel, int rxul, int ryul, int rxcells, int rycells, CELLTYPE **rbuf)
int GetWindowCell (int channel, int rescol, int resrow, CELLTYPE *cell)
int GetWindowCellFloat (int channel, int rescol, int resrow, float *cell)
int GetWindowCellInt (int channel, int rescol, int resrow, int *cell)
int PutWindowCellFloat (int channel, int col, int row, double fcell)
int PutWindowCellInt (int channel, int col, int row, int icell)
int PutWindowCell (int channel, int col, int row, CELLTYPE cell)
int StaGetDbl (char *clyr_name, double *dmin, double *dmax, double *dmean, double *dstdv)
int StaGetMinmaxDbl (char *clyr_name, double *dmin, double *dmax)


Define Documentation

#define ADAPTIVE   -1

Definition at line 267 of file gioapi.h.

#define BLOCKIO   3

Definition at line 256 of file gioapi.h.

#define BLOCKIO   3

Definition at line 256 of file gioapi.h.

#define BLOCKRUNIO   5

Definition at line 258 of file gioapi.h.

#define BLOCKRUNIO   5

Definition at line 258 of file gioapi.h.

#define CELLFLOAT   2

Definition at line 76 of file gioapi.h.

Referenced by gridread(), and gridwrite().

#define CELLINT   1

Definition at line 75 of file gioapi.h.

Referenced by gridread(), and gridwrite().

#define CELLIO   2

Definition at line 255 of file gioapi.h.

#define CELLIO   2

Definition at line 255 of file gioapi.h.

#define CELLMAX   2147483646

Definition at line 78 of file gioapi.h.

#define CELLMIN   -2147483646

Definition at line 79 of file gioapi.h.

#define COMPRESSED   0

Definition at line 269 of file gioapi.h.

#define FALSE   0

Definition at line 35 of file gioapi.h.

#define MISSINGINT   -2147483647

Definition at line 83 of file gioapi.h.

Referenced by gridread(), and gridwrite().

#define NULL   0

Definition at line 39 of file gioapi.h.

#define READONLY   1

Definition at line 263 of file gioapi.h.

#define READONLY   1

Definition at line 263 of file gioapi.h.

Referenced by gridread().

#define READWRITE   2

Definition at line 264 of file gioapi.h.

#define READWRITE   2

Definition at line 264 of file gioapi.h.

#define REGIONIO   6

Definition at line 259 of file gioapi.h.

#define REGIONIO   6

Definition at line 259 of file gioapi.h.

#define REGIONRUNIO   7

Definition at line 260 of file gioapi.h.

#define REGIONRUNIO   7

Definition at line 260 of file gioapi.h.

#define ROWIO   1

Definition at line 254 of file gioapi.h.

#define ROWIO   1

Definition at line 254 of file gioapi.h.

Referenced by gridread(), and gridwrite().

#define ROWRUNIO   4

Definition at line 257 of file gioapi.h.

#define ROWRUNIO   4

Definition at line 257 of file gioapi.h.

#define STRLEN   129

Definition at line 24 of file gioapi.h.

#define TRUE   1

Definition at line 31 of file gioapi.h.

#define UNCOMPRESSED   1

Definition at line 270 of file gioapi.h.

#define WRITEONLY   3

Definition at line 52 of file gioapi.h.

Referenced by gridwrite().


Typedef Documentation

typedef int CELLTYPE

Definition at line 73 of file gioapi.h.


Function Documentation

int AccessWindowClear ( void   ) 

Definition at line 30 of file gridio_null.cpp.

Referenced by gridwrite().

int AccessWindowSet ( double  box[4],
double  cellsize,
double  newbox[4] 
)

Definition at line 26 of file gridio_null.cpp.

Referenced by gridread(), and gridwrite().

int BndCellRead ( char *  grdnam,
double *  box 
)

Definition at line 54 of file gridio_null.cpp.

Referenced by gridread().

char* CAllocate1 ( int  number,
int  size 
)

Definition at line 46 of file callocate.cpp.

Referenced by gridread(), and gridwrite().

char** CAllocate2 ( int  nrows,
int  ncols,
int  size 
)

Definition at line 82 of file callocate.cpp.

References NULL.

char*** CAllocate3 ( int  nlyrs,
int  nrows,
int  ncols,
int  size 
)

int CellLayerCreate ( char *  clyr_name,
int  rdwrflag,
int  iomode,
int  celltype,
double  cellsize,
double  box[4] 
)

Definition at line 66 of file gridio_null.cpp.

Referenced by gridwrite().

int CellLayerCreateTiled ( char *  clyr_name,
int  rdwrflag,
int  iomode,
int  celltype,
double  cellsize,
double  box[4],
int  blockxcells,
int  blockycells 
)

int CellLayerOpen ( char *  clyr_name,
int  rdwrflag,
int  iomode,
int *  celltype,
double *  cellsize 
)

Definition at line 13 of file gridio_null.cpp.

Referenced by gridread().

int CellLyrBlockSize ( int  channel,
int *  bxcells,
int *  bycells 
)

int CellLyrClose ( int  channel  ) 

Definition at line 18 of file gridio_null.cpp.

Referenced by gridread(), and gridwrite().

int CellLyrCloseNoVat ( int  channel  ) 

int CellLyrDelete ( char *  clyr_name  ) 

Definition at line 22 of file gridio_null.cpp.

Referenced by gridwrite().

int CellLyrEvalType ( int  channel  ) 

int CellLyrExists ( char *  clyr_name  ) 

Definition at line 71 of file gridio_null.cpp.

Referenced by gridwrite().

int CellLyrGetIO ( int  channel  ) 

int CellLyrItem ( int  channel,
char *  name 
)

int CellLyrName ( int  channel,
char *  name 
)

int CellLyrSetIO ( int  channel,
int  mode 
)

int CellLyrSta ( int  channel,
double *  dmin,
double *  dmax,
double *  dmean,
double *  dstdv 
)

void CFree1 ( char *  ptr  ) 

Definition at line 149 of file callocate.cpp.

Referenced by gridread(), and gridwrite().

void CFree2 ( char **  ptr,
int  nrows 
)

Definition at line 180 of file callocate.cpp.

void CFree3 ( char ***  ptr,
int  nlyrs,
int  nrows 
)

int DescribeGridDbl ( char *  grdnam,
double *  cellsz,
int *  gridsz,
double *  box,
double *  sta,
int *  datatyp,
int *  nclass,
int *  reclen 
)

void GetMissingFloat ( float *   ) 

Definition at line 50 of file gridio_null.cpp.

Referenced by gridread(), and gridwrite().

int GetWindowBand ( int  channel,
int  startrow,
int  nrows,
CELLTYPE **  bandbuf 
)

int GetWindowBandFloat ( int  channel,
int  startrow,
int  nrows,
float **  bandbuf 
)

int GetWindowBandInt ( int  channel,
int  startrow,
int  nrows,
int **  bandbuf 
)

int GetWindowCell ( int  channel,
int  rescol,
int  resrow,
CELLTYPE cell 
)

int GetWindowCellFloat ( int  channel,
int  rescol,
int  resrow,
float *  cell 
)

int GetWindowCellInt ( int  channel,
int  rescol,
int  resrow,
int *  cell 
)

int GetWindowRectangle ( int  channel,
int  rxul,
int  ryul,
int  rxcells,
int  rycells,
CELLTYPE **  rbuf 
)

int GetWindowRectangleFloat ( int  channel,
int  rxul,
int  ryul,
int  rxcells,
int  rycells,
float **  rbuf 
)

int GetWindowRectangleInt ( int  channel,
int  rxul,
int  ryul,
int  rxcells,
int  rycells,
int **  rbuf 
)

int GetWindowRow ( int  channel,
int  nreswinrow,
CELLTYPE rowbuf 
)

Definition at line 42 of file gridio_null.cpp.

Referenced by gridread().

int GetWindowRowFloat ( int  channel,
int  nreswinrow,
float *  rowbuf 
)

int GetWindowRowInt ( int  channel,
int  nreswinrow,
int *  rowbuf 
)

int GridCopy ( char *  from_grid,
char *  to_grid 
)

int GridDelete ( char *  grid_name  ) 

Definition at line 62 of file gridio_null.cpp.

Referenced by gridwrite().

int GridExists ( char *  grid_name  ) 

int GridIOExit ( void   ) 

Definition at line 9 of file gridio_null.cpp.

Referenced by gridread(), and gridwrite().

int GridIOSetup ( void   ) 

Definition at line 4 of file gridio_null.cpp.

Referenced by gridread(), and gridwrite().

int GridKill ( char *  grid_name,
int  option 
)

int GridRename ( char *  from_grid,
char *  to_grid 
)

Definition at line 58 of file gridio_null.cpp.

Referenced by gridwrite().

int PrivateAccessWindowClear ( int  channel  ) 

int PrivateAccessWindowSet ( int  channel,
double  box[4],
double  cellsize,
double  newbox[4] 
)

int PrivateWindowBox ( int  i,
double  box[4] 
)

int PrivateWindowCols ( int  i  ) 

int PrivateWindowRows ( int  i  ) 

int PutWindowBand ( int  channel,
int  startrow,
int  nrows,
CELLTYPE **  bandbuf 
)

int PutWindowCell ( int  channel,
int  col,
int  row,
CELLTYPE  cell 
)

int PutWindowCellFloat ( int  channel,
int  col,
int  row,
double  fcell 
)

int PutWindowCellInt ( int  channel,
int  col,
int  row,
int  icell 
)

int PutWindowRectangle ( int  channel,
int  rxul,
int  ryul,
int  rxcells,
int  rycells,
CELLTYPE **  rbuf 
)

int PutWindowRow ( int  channel,
int  nwinrow,
CELLTYPE rowbuf 
)

Definition at line 46 of file gridio_null.cpp.

Referenced by gridwrite().

int StaGetDbl ( char *  clyr_name,
double *  dmin,
double *  dmax,
double *  dmean,
double *  dstdv 
)

int StaGetMinmaxDbl ( char *  clyr_name,
double *  dmin,
double *  dmax 
)

int WindowBox ( double  box[4]  ) 

int WindowCols ( void   ) 

Definition at line 38 of file gridio_null.cpp.

Referenced by gridread().

int WindowRows ( void   ) 

Definition at line 34 of file gridio_null.cpp.

Referenced by gridread().

int XY2PrivateWindowColRow ( int  i,
double  x,
double  y,
int *  col,
int *  row 
)

int XY2WindowColRow ( double  x,
double  y,
int *  col,
int *  row 
)


Generated on Sun Aug 5 17:34:54 2007 for PIHMgis by  doxygen 1.5.2