pihmRasterLIBS/lsm.h File Reference

#include "gridio.h"

Include dependency graph for lsm.h:

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

Go to the source code of this file.

Defines

#define WIN
#define PI2   1.5707963268

Functions

int setdf (float mval)
int vdn (int n)
int pool (int i, int j)
void set (int i, int j, float *fact, float mval)
float min2 (float e1, float e2)
float max2 (float e1, float e2)
int setdfnoflood (float mval)
void SET2 (int I, int J, float *DXX, float DD)
void setdf2 (void)
void VSLOPE (float E0, float E1, float E2, float D1, float D2, float DD, float *S, float *A)
int setdir (char *demfile, char *angfile, char *slopefile, char *pfile)
float prop ()
void dparea ()
int aread8 ()
void darea ()
void SetWorkingStatus (void)

Variables

short ** dir
short ** apool
float ** elev
float ** slope
float ** ang
float ** sca
short * ipool
short * jpool
short * tmp
short * dn
short * is
short * js
int nx
int ny
int npool
int pooln
int pstack
int nis
int istack
int filetype
int i1
int i2
int n1
int n2
char annot [MAXLN]
char units [MAXLN]
float dx
float dy
float emin
float et
float utme
float utmn
float skew
float aref [10]
float ndv
int nf
int dd1 [8]
int dd2 [8]
int * d1
int * d2
double bndbox [4]
double csize
float mval


Define Documentation

#define PI2   1.5707963268

Definition at line 18 of file lsm.h.

Referenced by SET2(), and setdf2().

#define WIN

Definition at line 11 of file lsm.h.


Function Documentation

int aread8 (  ) 

void darea (  ) 

void dparea (  ) 

float max2 ( float  e1,
float  e2 
)

Definition at line 421 of file flood.cpp.

Referenced by addSOrder(), and setdf().

float min2 ( float  e1,
float  e2 
)

Definition at line 413 of file flood.cpp.

int pool ( int  i,
int  j 
)

Definition at line 338 of file flood.cpp.

References apool, d1, d2, dir, elev, ipool, jpool, npool, NULL, nx, ny, pool(), pooln, and pstack.

Referenced by pool(), poolalloc(), pooldeinit(), poolrestart(), poolzero(), setdf(), traversalinit(), and traverse().

Here is the call graph for this function:

float prop (  ) 

void set ( int  i,
int  j,
float *  fact,
float  mval 
)

Definition at line 319 of file flood.cpp.

References d1, d2, dir, elev, mval, and slope.

void SET2 ( int  I,
int  J,
float *  DXX,
float  DD 
)

Definition at line 679 of file setdir.cpp.

References ang, elev, PI2, slope, and VSLOPE().

Referenced by setdf2().

Here is the call graph for this function:

int setdf ( float  mval  ) 

Definition at line 91 of file flood.cpp.

References addstack(), apool, d1, d2, dir, dx, dy, elev, emin, et, i1, i2, ipool, is, jpool, js, max2(), n1, n2, nf, nis, npool, pool(), pooln, SetWorkingStatus(), and vdn().

Referenced by flood().

Here is the call graph for this function:

void setdf2 ( void   ) 

Definition at line 600 of file setdir.cpp.

References ang, dir, dx, dy, nx, ny, PI2, SET2(), SetWorkingStatus(), and slope.

Referenced by setdir().

Here is the call graph for this function:

int setdfnoflood ( float  mval  ) 

Definition at line 172 of file setdir.cpp.

References d1, d2, dir, dn, dx, dy, elev, flatrout(), i1, i2, is, js, matalloc(), n1, n2, NULL, nx, ny, and RPINTDTYPE.

Referenced by setdir(), and setdird8().

Here is the call graph for this function:

int setdir ( char *  demfile,
char *  angfile,
char *  slopefile,
char *  pfile 
)

Definition at line 75 of file setdir.cpp.

void SetWorkingStatus ( void   ) 

int vdn ( int  n  ) 

Definition at line 278 of file flood.cpp.

References d1, d2, dir, dn, elev, is, js, nis, and SetWorkingStatus().

Referenced by setdf().

Here is the call graph for this function:

void VSLOPE ( float  E0,
float  E1,
float  E2,
float  D1,
float  D2,
float  DD,
float *  S,
float *  A 
)

Definition at line 732 of file setdir.cpp.

Referenced by SET2().


Variable Documentation

float** ang

Definition at line 13 of file lsmcom.cpp.

Referenced by SET2(), setdf2(), and setdir().

char annot[MAXLN]

Definition at line 31 of file lsmcom.cpp.

short** apool

Definition at line 10 of file lsmcom.cpp.

Referenced by flood(), pool(), and setdf().

float aref[10]

Definition at line 36 of file lsmcom.cpp.

double bndbox[4]

Definition at line 46 of file lsmcom.cpp.

Referenced by aread8(), catchmentGrid(), catchmentPoly(), flood(), setdir(), setdird8(), streamDefinition(), streamGenShp(), streamSegmentation(), and streamSegmentationShp().

double csize

Definition at line 46 of file lsmcom.cpp.

Referenced by aread8(), catchmentGrid(), catchmentPoly(), flood(), setdir(), setdird8(), streamDefinition(), streamGenShp(), streamSegmentation(), and streamSegmentationShp().

int* d1

Definition at line 42 of file lsmcom.cpp.

Referenced by aread8(), darea(), flood(), incfall(), incrise(), pool(), set(), set2(), setdf(), setdfnoflood(), setdir(), setdird8(), sloped8(), and vdn().

int* d2

Definition at line 43 of file lsmcom.cpp.

Referenced by aread8(), darea(), flood(), incfall(), incrise(), pool(), set(), set2(), setdf(), setdfnoflood(), setdir(), setdird8(), sloped8(), and vdn().

int dd1[8]

Definition at line 40 of file lsmcom.cpp.

int dd2[8]

Definition at line 40 of file lsmcom.cpp.

short** dir

Definition at line 9 of file lsmcom.cpp.

Referenced by aread8(), catchmentGrid(), darea(), flatrout(), flood(), incfall(), pool(), set(), set2(), setdf(), setdf2(), setdfnoflood(), setdir(), setdird8(), sloped8(), streamSegmentation(), streamSegmentationShp(), and vdn().

short* dn

Definition at line 17 of file lsmcom.cpp.

Referenced by addstack(), flatrout(), flood(), incrise(), setdfnoflood(), and vdn().

float dx

Definition at line 33 of file lsmcom.cpp.

Referenced by aread8(), catchmentGrid(), catchmentPoly(), findcircumcenter(), flood(), quality_statistics(), setdf(), setdf2(), setdfnoflood(), setdir(), setdird8(), sloped8(), streamDefinition(), streamSegmentation(), and streamSegmentationShp().

float dy

Definition at line 33 of file lsmcom.cpp.

Referenced by aread8(), catchmentGrid(), catchmentPoly(), findcircumcenter(), flood(), quality_statistics(), setdf(), setdf2(), setdfnoflood(), setdir(), setdird8(), sloped8(), streamDefinition(), streamSegmentation(), and streamSegmentationShp().

float** elev

Definition at line 11 of file lsmcom.cpp.

Referenced by catchmentGrid(), catchmentPoly(), flood(), incfall(), incrise(), pool(), set(), SET2(), set2(), setdf(), setdfnoflood(), setdir(), setdird8(), sloped8(), streamDefinition(), streamSegmentation(), streamSegmentationShp(), and vdn().

float emin

Definition at line 34 of file lsmcom.cpp.

Referenced by setdf().

float et

Definition at line 34 of file lsmcom.cpp.

Referenced by setdf().

int filetype

Definition at line 24 of file lsmcom.cpp.

Referenced by aread8(), catchmentGrid(), catchmentPoly(), flood(), setdir(), setdird8(), streamDefinition(), streamSegmentation(), and streamSegmentationShp().

int i1

Definition at line 29 of file lsmcom.cpp.

Referenced by flood(), setdf(), setdfnoflood(), setdir(), setdird8(), and sloped8().

int i2

Definition at line 29 of file lsmcom.cpp.

Referenced by flood(), setdf(), setdfnoflood(), setdir(), setdird8(), and sloped8().

short* ipool

Definition at line 16 of file lsmcom.cpp.

Referenced by flood(), pool(), and setdf().

short * is

Definition at line 17 of file lsmcom.cpp.

Referenced by addstack(), flatrout(), flood(), incfall(), incrise(), setdf(), setdfnoflood(), and vdn().

int istack

Definition at line 23 of file lsmcom.cpp.

Referenced by addstack(), and flood().

short * jpool

Definition at line 16 of file lsmcom.cpp.

Referenced by flood(), pool(), and setdf().

short * js

Definition at line 17 of file lsmcom.cpp.

Referenced by addstack(), flatrout(), flood(), incfall(), incrise(), setdf(), setdfnoflood(), and vdn().

float mval

Definition at line 47 of file lsmcom.cpp.

Referenced by catchmentGrid(), catchmentPoly(), flood(), set(), setdir(), setdird8(), streamDefinition(), streamSegmentation(), and streamSegmentationShp().

int n1

Definition at line 29 of file lsmcom.cpp.

Referenced by flood(), setdf(), setdfnoflood(), setdir(), setdird8(), and sloped8().

int n2

Definition at line 29 of file lsmcom.cpp.

Referenced by flood(), setdf(), setdfnoflood(), setdir(), setdird8(), and sloped8().

float ndv

Definition at line 37 of file lsmcom.cpp.

Referenced by aread8().

int nf

Definition at line 39 of file lsmcom.cpp.

Referenced by setdf().

int nis

Definition at line 23 of file lsmcom.cpp.

Referenced by addstack(), setdf(), and vdn().

int npool

Definition at line 22 of file lsmcom.cpp.

Referenced by pool(), and setdf().

int nx

Definition at line 21 of file lsmcom.cpp.

Referenced by addstack(), aread8(), catchmentGrid(), catchmentPoly(), darea(), flood(), pool(), setdf2(), setdfnoflood(), setdir(), setdird8(), streamDefinition(), streamSegmentation(), and streamSegmentationShp().

int ny

Definition at line 21 of file lsmcom.cpp.

Referenced by addstack(), aread8(), catchmentGrid(), catchmentPoly(), darea(), flood(), pool(), setdf2(), setdfnoflood(), setdir(), setdird8(), streamDefinition(), streamSegmentation(), and streamSegmentationShp().

int pooln

Definition at line 22 of file lsmcom.cpp.

Referenced by pool(), and setdf().

int pstack

Definition at line 22 of file lsmcom.cpp.

Referenced by flood(), and pool().

float** sca

Definition at line 14 of file lsmcom.cpp.

float skew

Definition at line 35 of file lsmcom.cpp.

float** slope

Definition at line 12 of file lsmcom.cpp.

Referenced by catchmentGrid(), extractRiver4mTIN(), set(), SET2(), set2(), setdf2(), setdir(), setdird8(), sloped8(), streamGen(), streamGenShp(), streamSegmentation(), and streamSegmentationShp().

short * tmp

Definition at line 16 of file lsmcom.cpp.

Referenced by attFileDlg::attBrowse(), mshFileDlg::mshBrowse(), mergeFeaturesDialogDlg::outputBrowse(), StreamPolyLineDlg::outputBrowse(), StreamGridDlg::outputBrowse(), LinkGridDlg::outputBrowse(), CatchmentPolygonDlg::outputBrowse(), CatchmentGridDlg::outputBrowse(), fillpitsDlg::outputBrowse(), generateShapeTopologyDlg::outputBrowse(), FlowGridDlg::outputFAGBrowse(), FlowGridDlg::outputFDRBrowse(), paraFileDlg::paraBrowse(), splitLineDialogDlg::removeAllBrowse(), simplifyLineDialogDlg::removeAllBrowse(), polygonToPolyLineDialogDlg::removeAllBrowse(), mergeFeaturesDialogDlg::removeAllBrowse(), splitLineDialogDlg::removeBrowse(), simplifyLineDialogDlg::removeBrowse(), polygonToPolyLineDialogDlg::removeBrowse(), mergeFeaturesDialogDlg::removeBrowse(), rivFileDlg::rivBrowse(), and createTINsDlg::shpBrowse().

char units[MAXLN]

Definition at line 31 of file lsmcom.cpp.

float utme

Definition at line 35 of file lsmcom.cpp.

Referenced by gridread(), and gridwrite().

float utmn

Definition at line 35 of file lsmcom.cpp.

Referenced by gridread(), and gridwrite().


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