#include <stdio.h>
#include "lsm.h"
Include dependency graph for streamSegmentation.cpp:
Go to the source code of this file.
Defines | |
#define | MAX 8 |
Functions | |
int | streamSegmentation (char *rivFile, char *fdrFile, char *segFile, char *nodeFile) |
void | streamGen (float **riv, short **fdr, int i, int j) |
void | findIJ (short **fdr, int i, int j, int *mIJ) |
int | findCell (float **riv, short **fdr, int i, int j, int(*cell)[2]) |
Variables | |
FILE * | fpNode_Seg |
int | numNodes_Seg = 0 |
#define MAX 8 |
Definition at line 4 of file streamSegmentation.cpp.
int findCell | ( | float ** | riv, | |
short ** | fdr, | |||
int | i, | |||
int | j, | |||
int * | cell[2] | |||
) |
Definition at line 117 of file streamSegmentation.cpp.
References findIJ().
Referenced by streamGen().
Here is the call graph for this function:
void findIJ | ( | short ** | fdr, | |
int | i, | |||
int | j, | |||
int * | mIJ | |||
) |
Definition at line 96 of file streamSegmentation.cpp.
Referenced by findCell(), and streamSegmentation().
void streamGen | ( | float ** | riv, | |
short ** | fdr, | |||
int | i, | |||
int | j | |||
) |
Definition at line 55 of file streamSegmentation.cpp.
References findCell(), MAX, and slope.
Referenced by streamSegmentation().
Here is the call graph for this function:
int streamSegmentation | ( | char * | rivFile, | |
char * | fdrFile, | |||
char * | segFile, | |||
char * | nodeFile | |||
) |
Definition at line 15 of file streamSegmentation.cpp.
References bndbox, csize, dir, dx, dy, elev, filetype, findIJ(), gridread(), gridwrite(), mval, nx, ny, RPFLTDTYPE, RPSHRDTYPE, slope, and streamGen().
Referenced by LinkGridDlg::run().
Here is the call graph for this function:
FILE* fpNode_Seg |
Definition at line 12 of file streamSegmentation.cpp.
int numNodes_Seg = 0 |
Definition at line 13 of file streamSegmentation.cpp.