|
|||||||||
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.Rescale
public class Rescale
Resizes a raster by the specified x and y scale factors. The Rescale tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
Rescale()
Creates the Rescale tool with defaults. |
|
Rescale(Object inRaster,
Object outRaster,
double xScale,
double yScale)
Creates the Rescale tool with the required parameters. |
Method Summary | |
---|---|
Object |
getInRaster()
Returns the Input Raster parameter of this tool . |
Object |
getOutRaster()
Returns the Output Raster Dataset 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 |
getXScale()
Returns the X Scale Factor parameter of this tool . |
double |
getYScale()
Returns the Y Scale Factor parameter of this tool . |
void |
setInRaster(Object inRaster)
Sets the Input Raster parameter of this tool . |
void |
setOutRaster(Object outRaster)
Sets the Output Raster Dataset parameter of this tool . |
void |
setXScale(double xScale)
Sets the X Scale Factor parameter of this tool . |
void |
setYScale(double yScale)
Sets the Y Scale 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 Rescale()
Initializes the array of tool parameters with the default values specified when the tool was created.
public Rescale(Object inRaster, Object outRaster, double xScale, double yScale)
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.outRaster
- output raster dataset. when storing the raster dataset in a file format, you need to specify the file extension: when storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. when storing your raster dataset to a JPEG file, a JPEG 2000 file, a TIFF file, or a geodatabase, you can specify a compression type and compression quality.xScale
- the factor in which to scale the cell size in the x direction. the factor must be greater than zero.yScale
- the factor in which to scale the cell size in the y direction. the factor must be greater than zero.Method Detail |
---|
public Object getInRaster()
public void setInRaster(Object inRaster)
inRaster
- the input raster dataset.public Object getOutRaster()
public void setOutRaster(Object outRaster)
outRaster
- output raster dataset. when storing the raster dataset in a file format, you need to specify the file extension: when storing a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. when storing your raster dataset to a JPEG file, a JPEG 2000 file, a TIFF file, or a geodatabase, you can specify a compression type and compression quality.public double getXScale()
public void setXScale(double xScale)
xScale
- the factor in which to scale the cell size in the x direction. the factor must be greater than zero.public double getYScale()
public void setYScale(double yScale)
yScale
- the factor in which to scale the cell size in the y direction. the factor must be greater than zero.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 |