A B F G K M N O P R S T W

A

allBasinsRiskToRaster(ArrayList, TreeMap, Raster) - Method in class analysis.java.BasinModule
Converts an ArrayList into a Raster object This method converts an ArrayList of basins into a Raster object.
allBasinsToRaster(ArrayList, Raster) - Method in class analysis.java.BasinModule
Converts an ArrayList into a Raster object This method converts an ArrayList of basins into a Raster object.
allOutlinesToRaster(TreeMap, Raster) - Method in class analysis.java.BasinModule
Converts aTreeMap into a Raster object This method converts a TreeMap of all basin outlines into a single Raster object.
allPitsToRaster(ArrayList, Raster) - Method in class analysis.java.BasinModule
Converts an ArrayList into a Raster object This method converts an ArrayList of pits into a Raster object.
analysis.java - package analysis.java
 

B

BasinModule - class analysis.java.BasinModule.
Class for handling basin-related procedures, among which: finding basins in DEM assigning risk values to each basin converting all or each basin into a Raster object for output
BasinModule() - Constructor for class analysis.java.BasinModule
Creates a module for handling basin-related operations
basinRisk(ArrayList, TreeMap) - Method in class analysis.java.RiskModule
Creates a TreeMap containing basin id and risk value for basin as a whole
basinSize() - Method in class analysis.java.BasinModule
 
basinsToRaster(ArrayList, int, int) - Method in class analysis.java.GraphicsModule
Turns an ArrayList of basins and basin cells to a Raster for each basin

F

FileIO - class analysis.java.FileIO.
Class for reading lines of text from ASCII text file(s) onto screen
FileIO() - Constructor for class analysis.java.FileIO
Creates an empty object for reading in a text file with instructions
findBasins(ArrayList, Raster) - Method in class analysis.java.BasinModule
Calculates upstream cells (basins) for a given layer of cells This method calculates the upstream cells and basins from a given input layer of cells, and a direction layer.
findDirections(Raster, Raster) - Method in class analysis.java.FlowDirection
Finding flow direction for cell, Checks for neighbors 1-8 that are lower or equal to current cell X:
FlowDirection - class analysis.java.FlowDirection.
Class to derive flow direction from DEM, returns a Raster Object direction
FlowDirection() - Constructor for class analysis.java.FlowDirection
Creates a module for calculating flow direction

G

getCol(int) - Method in class analysis.java.Raster
Get column at cell id
getData(int) - Method in class analysis.java.Raster
Get value at position id
getData(int, int) - Method in class analysis.java.RWFile
Gets data from row i column j
getData(int, int) - Method in class analysis.java.Raster
Get value at row i, col j
getDouble() - Method in class analysis.java.KeyboardInput
Extracts a double precision number from the keyboard input.
getFloat() - Method in class analysis.java.KeyboardInput
Extracts a floating point number from the keyboard input.
getID(int, int) - Method in class analysis.java.Raster
Get id at row i, col j
getInt() - Method in class analysis.java.KeyboardInput
Extracts an integer number from the keyboard input.
getNumCols() - Method in class analysis.java.RWFile
Gets # of columns
getNumCols() - Method in class analysis.java.Raster
Get number of columns in Raster
getNumRows() - Method in class analysis.java.RWFile
Gets # of rows
getNumRows() - Method in class analysis.java.Raster
Get number of rows in Raster
getOutlines() - Method in class analysis.java.GraphicsModule
Gets a list of outline cells
getPitList() - Method in class analysis.java.FlowDirection
Get list of pit cells in DEM
getPits() - Method in class analysis.java.FlowDirection
Get number of pits in DEM
getRow(int) - Method in class analysis.java.Raster
Get row at cell id
getString() - Method in class analysis.java.KeyboardInput
Extracts a String from the keyboard input.
GraphicsModule - class analysis.java.GraphicsModule.
Class for handling visualization-related procedures, among which: Converting basins polygons to outlines Separating each basin into separate Raster object for output
GraphicsModule() - Constructor for class analysis.java.GraphicsModule
Creates an module for visualization related procedures

K

KeyboardInput - class analysis.java.KeyboardInput.
Class to handle keyboard input.
KeyboardInput() - Constructor for class analysis.java.KeyboardInput
Creates a keyboardInput object that handles prompting and conversion of keyboard input.

M

main(String[]) - Static method in class analysis.java.RasterAnalysis
Runs the analysis

N

novegRisk(ArrayList, TreeMap) - Method in class analysis.java.RiskModule
Creates a TreeMap containing risk values for cells, masked out by the NDVI index and considered risk-prone
numBasins() - Method in class analysis.java.BasinModule
Returns number of basins This method queries the length of the ArrayList of basins

O

outlinesToRaster(ArrayList, int, int) - Method in class analysis.java.GraphicsModule
Turns a list of outlines into Raster objects

P

prompt(String) - Method in class analysis.java.KeyboardInput
Prompts the user to type in something from the keyboard.

R

Raster - class analysis.java.Raster.
Class to handle Raster object and methods to read file to/from Raster; also includes methods for accessing data values
Raster() - Constructor for class analysis.java.Raster
Creates a generic Raster object
Raster(int, int) - Constructor for class analysis.java.Raster
Creates a Raster object; with a set number of rows and columns
Raster(String) - Constructor for class analysis.java.Raster
Creates a Raster object from a tab-delimited text file
RasterAnalysis - class analysis.java.RasterAnalysis.
Main class to run application
RasterAnalysis() - Constructor for class analysis.java.RasterAnalysis
Creates a RasterAnalysis object
read(String) - Method in class analysis.java.Raster
Read tab-delimited file into Raster object
readFile(String) - Method in class analysis.java.FileIO
Reads from a text file and prints contents to screen
readFile(String) - Method in class analysis.java.RWFile
Reads a tab-delimited file into an [][] array.
riskCellsInBasinToRaster(ArrayList, TreeMap, Raster) - Method in class analysis.java.RiskModule
Creates a Raster object with non-vegetated risk-prone cells within basins
RiskModule - class analysis.java.RiskModule.
Class for handling risk-related procedures, such as calculating risk based on slope and NDVI index
RiskModule() - Constructor for class analysis.java.RiskModule
Creates a module of methods for risk calculating procedures
RWFile - class analysis.java.RWFile.
Class to handle reading from and writing to a tab-delimited text file
RWFile() - Constructor for class analysis.java.RWFile
Creates a module for reading from/writing to a tab-delimited text file

S

setData(float, int) - Method in class analysis.java.Raster
Enter value at cell id
setData(float, int, int) - Method in class analysis.java.Raster
Enter value at row i, col j
singleBasinToRaster(ArrayList, Raster) - Method in class analysis.java.BasinModule
Converts an ArrayList into a Raster object This method converts an ArrayList of basin cells for one basin into a Raster object.
slopeRisk(Raster) - Method in class analysis.java.RiskModule
Converts a slope Raster to a TreeMap containing cell id and risk value for cell id

T

toArrayList(Raster, int) - Method in class analysis.java.Raster
Convert a binary Raster (e.g.
toRaster(ArrayList, int, int) - Method in class analysis.java.Raster
Convert an ArrayList to Raster
toRaster(TreeMap, int, int) - Method in class analysis.java.Raster
Convert a TreeMap to Raster

W

wdir - Static variable in class analysis.java.RasterAnalysis
Working directory
writeFile(String, Raster) - Method in class analysis.java.RWFile
Writes a Raster object to a tab-delimted file

A B F G K M N O P R S T W