|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.datamanagementtools.GetCellValue
public class GetCellValue
Retrieves the pixel value at a specific x,y coordinate. For multi-band raster datasets you can specify from which bands to retrieve the cell value. If you do not specify any bands, the pixel value for all the bands will be returned for the input location. The Get Cell Value tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
GetCellValue()
Creates the Get Cell Value tool with defaults. |
|
GetCellValue(Object inRaster,
Object locationPoint)
Creates the Get Cell Value tool with the required parameters. |
Method Summary | |
---|---|
Object |
getBandIndex()
Returns the Bands parameter of this tool . |
Object |
getInRaster()
Returns the Input Raster parameter of this tool . |
Object |
getLocationPoint()
Returns the Location parameter of this tool . |
String |
getOutString()
Returns the Output String parameter of this tool (Read only). |
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 |
setBandIndex(Object bandIndex)
Sets the Bands parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input Raster parameter of this tool . |
void |
setLocationPoint(Object locationPoint)
Sets the Location 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 |
---|
public GetCellValue()
Initializes the array of tool parameters with the default values specified when the tool was created.
public GetCellValue(Object inRaster, Object locationPoint)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inRaster
- the input raster dataset.locationPoint
- type the x and y coordinates of the pixel location.Method Detail |
---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster
- the input raster dataset.public Object getLocationPoint()
public void setLocationPoint(Object locationPoint)
locationPoint
- type the x and y coordinates of the pixel location.public Object getBandIndex()
public void setBandIndex(Object bandIndex)
bandIndex
- define which bands for which you would like to get the pixel value. If you do not define any bands, a pixel value for all the bands in the x,y location will be returned.public String getOutString()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |