#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 |
int aread8 | ( | ) |
void darea | ( | ) |
void dparea | ( | ) |
float max2 | ( | float | e1, | |
float | e2 | |||
) |
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 | |||
) |
void SET2 | ( | int | I, | |
int | J, | |||
float * | DXX, | |||
float | DD | |||
) |
int setdf | ( | float | mval | ) |
void setdf2 | ( | void | ) |
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 | ) |
void VSLOPE | ( | float | E0, | |
float | E1, | |||
float | E2, | |||
float | D1, | |||
float | D2, | |||
float | DD, | |||
float * | S, | |||
float * | A | |||
) |
char annot[MAXLN] |
Definition at line 31 of file lsmcom.cpp.
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 |
int* d2 |
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 |
float et |
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 * is |
Definition at line 17 of file lsmcom.cpp.
Referenced by addstack(), flatrout(), flood(), incfall(), incrise(), setdf(), setdfnoflood(), and vdn().
int istack |
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 |
int nf |
int nis |
int npool |
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 |
int pstack |
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 |
float utmn |