pihmRasterLIBS/streamSegmentation.cpp File Reference

#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 Documentation

#define MAX   8

Definition at line 4 of file streamSegmentation.cpp.


Function Documentation

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:


Variable Documentation

FILE* fpNode_Seg

Definition at line 12 of file streamSegmentation.cpp.

int numNodes_Seg = 0

Definition at line 13 of file streamSegmentation.cpp.


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