|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.spatialanalysttools.HillShade
public class HillShade
Computes hillshade values for a raster surface by considering the illumination angle and shadows.
The Hillshade tool is contained in the Spatial Analyst Tools tool box.
Learn more about how Hillshade works
Software restrictions: none

| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
HillShade()
Creates the Hillshade tool with defaults. |
|
HillShade(Object inRaster,
Object outRaster)
Creates the Hillshade tool with the required parameters. |
|
| Method Summary | |
|---|---|
double |
getAltitude()
Returns the Altitude parameter of this tool . |
double |
getAzimuth()
Returns the Azimuth parameter of this tool . |
Object |
getInRaster()
Returns the Input raster parameter of this tool . |
String |
getModelShadows()
Returns the Model shadows parameter of this tool . |
Object |
getOutRaster()
Returns the Output raster 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. |
double |
getZFactor()
Returns the Z factor parameter of this tool . |
void |
setAltitude(double altitude)
Sets the Altitude parameter of this tool . |
void |
setAzimuth(double azimuth)
Sets the Azimuth parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input raster parameter of this tool . |
void |
setModelShadows(String modelShadows)
Sets the Model shadows parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output raster parameter of this tool . |
void |
setZFactor(double zFactor)
Sets the Z factor 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 HillShade()
Initializes the array of tool parameters with the default values specified when the tool was created.
public HillShade(Object inRaster,
Object outRaster)
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 - Composite Geodataset, input raster.outRaster - Raster Dataset, the hillshade raster has an integer value range of 0 to 255.| Method Detail |
|---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster - Composite Geodataset, input raster.public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster - Raster Dataset, the hillshade raster has an integer value range of 0 to 255.public double getAzimuth()
public void setAzimuth(double azimuth)
azimuth - Double, the default is 315 degrees.public double getAltitude()
public void setAltitude(double altitude)
altitude - Double, the default is 45 degrees.public String getModelShadows()
public void setModelShadows(String modelShadows)
modelShadows - String, type of shaded relief to be generated.public double getZFactor()
public void setZFactor(double zFactor)
zFactor - Double, for example, if your z units are feet and your x,y units are meters, you would use a z-factor of 0.3048 to convert your z units from feet to meters (1 foot = 0.3048 meter).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 | ||||||||