com.esri.arcgis.geoprocessing.tools.spatialanalysttools
Class FocalFlow

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.spatialanalysttools.FocalFlow
All Implemented Interfaces:
GPTool

public class FocalFlow
extends AbstractGPTool

Determines the flow of the values in the input raster within each cell's immediate neighborhood. The Focal Flow tool is contained in the Spatial Analyst Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
FocalFlow()
          Creates the Focal Flow tool with defaults.
FocalFlow(Object inSurfaceRaster, Object outRaster)
          Creates the Focal Flow tool with the required parameters.
 
Method Summary
 Object getInSurfaceRaster()
          Returns the Input surface raster parameter of this tool .
 Object getOutRaster()
          Returns the Output raster parameter of this tool .
 double getThresholdValue()
          Returns the Threshold value parameter of this tool .
 String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 String getToolboxName()
          Returns the name of the tool box containing this tool.
 String getToolName()
          Returns the name of this tool.
 void setInSurfaceRaster(Object inSurfaceRaster)
          Sets the Input surface raster parameter of this tool .
 void setOutRaster(Object outRaster)
          Sets the Output raster parameter of this tool .
 void setThresholdValue(double thresholdValue)
          Sets the Threshold value parameter of this tool .
 
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
getParameterValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FocalFlow

public FocalFlow()
Creates the Focal Flow tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


FocalFlow

public FocalFlow(Object inSurfaceRaster,
                 Object outRaster)
Creates the Focal Flow tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inSurfaceRaster - the input surface raster for which to calculate the focal flow. the eight immediate neighbors of each cell are evaluated to determine the flow. the input raster can be integer or floating point.
outRaster - the output focal flow raster. the output raster is always of integer type.
Method Detail

getInSurfaceRaster

public Object getInSurfaceRaster()
Returns the Input surface raster parameter of this tool . This parameter is the input surface raster for which to calculate the focal flow. the eight immediate neighbors of each cell are evaluated to determine the flow. the input raster can be integer or floating point. This is a required parameter.

Returns:
the Input surface raster

setInSurfaceRaster

public void setInSurfaceRaster(Object inSurfaceRaster)
Sets the Input surface raster parameter of this tool . This parameter is the input surface raster for which to calculate the focal flow. the eight immediate neighbors of each cell are evaluated to determine the flow. the input raster can be integer or floating point. This is a required parameter.

Parameters:
inSurfaceRaster - the input surface raster for which to calculate the focal flow. the eight immediate neighbors of each cell are evaluated to determine the flow. the input raster can be integer or floating point.

getOutRaster

public Object getOutRaster()
Returns the Output raster parameter of this tool . This parameter is the output focal flow raster. the output raster is always of integer type. This is a required parameter.

Returns:
the Output raster

setOutRaster

public void setOutRaster(Object outRaster)
Sets the Output raster parameter of this tool . This parameter is the output focal flow raster. the output raster is always of integer type. This is a required parameter.

Parameters:
outRaster - the output focal flow raster. the output raster is always of integer type.

getThresholdValue

public double getThresholdValue()
Returns the Threshold value parameter of this tool . This parameter is defines a value that constitutes the threshold, which must be equaled or exceeded before flow can occur. the threshold value can be either an integer or floating-point value. if the difference between the value at a neighboring cell location and the value of the processing cell is less than or equal to the threshold value, the output will be zero (or no flow). This is an optional parameter.

Returns:
the Threshold value

setThresholdValue

public void setThresholdValue(double thresholdValue)
Sets the Threshold value parameter of this tool . This parameter is defines a value that constitutes the threshold, which must be equaled or exceeded before flow can occur. the threshold value can be either an integer or floating-point value. if the difference between the value at a neighboring cell location and the value of the processing cell is less than or equal to the threshold value, the output will be zero (or no flow). This is an optional parameter.

Parameters:
thresholdValue - defines a value that constitutes the threshold, which must be equaled or exceeded before flow can occur. the threshold value can be either an integer or floating-point value. if the difference between the value at a neighboring cell location and the value of the processing cell is less than or equal to the threshold value, the output will be zero (or no flow).

getToolName

public String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias