|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoanalyst.RasterTransformationOp
public class RasterTransformationOp
ESRI Transformation operations class.
Constructor Summary | |
---|---|
RasterTransformationOp()
Constructs a RasterTransformationOp using ArcGIS Engine. |
|
RasterTransformationOp(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterTransformationOp theRasterTransformationOp = (RasterTransformationOp) obj; |
Method Summary | |
---|---|
void |
addOutputDatasetName(int index,
IDatasetName pOutName)
Adds an output dataset name to the specified index. |
IGeoDataset |
clip(IGeoDataset geoDataset,
IEnvelope rectangle)
Subsets a raster using a rectangle. |
boolean |
equals(Object o)
Compare this object with another |
IGeoDataset |
flip(IGeoDataset geoDataset)
Flips a raster along the horizontal axis. |
void |
getCellSize(int[] envType,
double[] cellSize)
Gets the type and value of cell size in the RasterAnalysis. |
static String |
getClsid()
getClsid. |
int |
getCompressionType()
The type and value of compression in the RasterAnalysis. |
String |
getConfigurationKeyword()
The configuration keyword in the RasterAnalysis. |
String |
getDefaultOutputRasterPrefix()
The default output raster prefix. |
String |
getDefaultOutputVectorPrefix()
The default output vector prefix. |
void |
getExtent(int[] envType,
IEnvelope[] extent)
Gets the type and values of extent in the RasterAnalysis. |
ISpatialReference |
getGDBDomains()
The XY, Z and M domains in the RasterAnalysis. |
String |
getIgnoredValue()
The ignored value in statistics calculation in RasterAnalysis. |
int |
getJpegQuality()
Jpeg compression quality in the RasterAnalysis. |
IGeoDataset |
getMask()
Mask allows processing to occur only for a selected set of cells. |
int |
getMosaicType()
The mosaic type in the RasterAnalysis. |
ISpatialReference |
getOutSpatialReference()
The output spatial reference of GeoAnalysis. |
IWorkspace |
getOutWorkspace()
The output workspace of GeoAnalysis. |
int |
getPyramidLevel()
The level in pyramid building in the RasterAnalysis. |
int |
getPyramidResampleType()
The resample type in pyramid building in the RasterAnalysis. |
int |
getTileHeight()
The GeoDatabase tile height in the RasterAnalysis. |
int |
getTileWidth()
The GeoDatabase tile width in the RasterAnalysis. |
int |
getVerifyType()
The verify type of the RasterAnalysis. |
int |
getXSkipFactor()
The skip factor in X direction in statistics calculation in the RasterAnalysis. |
int |
getYSkipFactor()
The skip factor in Y direction in statistics calculation in the RasterAnalysis. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isAvoidDataConversion()
Indicates weather to avoid data conversion in the RasterAnalysis. |
boolean |
isBuildPyramid()
Indicates if the pyramid building in the RasterAnalysis. |
boolean |
isCalculateStatistics()
Indicates if the statistics calculation in the RasterAnalysis. |
boolean |
isGlobeOptimized()
Indicates if the globe optimized type in the RasterAnalysis. |
IGeoDataset |
mirror(IGeoDataset geoDataset)
Mirrors a raster along the vertical axis. |
IGeoDataset |
mosaic(IRasterBandCollection collectionOfRasters,
int mosaicType)
Creates one raster from two or more adjacent rasters and makes a smooth transition over the overlapping areas of the neighboring rasters. |
IGeoDataset |
projectFast(IGeoDataset geoDataset,
ISpatialReference newSpatialReference,
int resampleType,
Object cellSize)
Converts a raster between two coordinate systems on region bases. |
IGeoDataset |
resample(IGeoDataset geoDataset,
double newCellsize,
int resampleType)
Resamples raster to a new cell size. |
IGeoDataset |
reScale(IGeoDataset inData,
double xScale,
double yScale)
Scales the coordinates of a raster. |
void |
reset()
Remove all previously stored default rasteranalysis environments. |
void |
restoreToPreviousDefaultEnvironment()
Restores to the previous default raster analysis environment. |
IGeoDataset |
rotate(IGeoDataset geoDataset,
int resampleType,
double angle,
Object origin)
Rotates a raster around a point by a specified angle. |
void |
setAsNewDefaultEnvironment()
Sets the raster analysis environment of the object as new default environment. |
void |
setAvoidDataConversion(boolean bAvoid)
Indicates weather to avoid data conversion in the RasterAnalysis. |
void |
setBuildPyramid(boolean buildParamid)
Indicates if the pyramid building in the RasterAnalysis. |
void |
setCalculateStatistics(boolean calculateStatistics)
Indicates if the statistics calculation in the RasterAnalysis. |
void |
setCellSize(int envType,
Object cellSizeProvider)
Sets the type and value of cell size in the RasterAnalysis. |
void |
setCompressionType(int compressionType)
The type and value of compression in the RasterAnalysis. |
void |
setConfigurationKeyword(String configKeyword)
The configuration keyword in the RasterAnalysis. |
void |
setDefaultOutputRasterPrefix(String rasterPrefix)
The default output raster prefix. |
void |
setDefaultOutputVectorPrefix(String vectorPrefix)
The default output vector prefix. |
void |
setExtent(int envType,
Object extentProvider,
Object snapRasterData)
Sets the type and values of extent in the RasterAnalysis. |
void |
setGDBDomainsByRef(ISpatialReference domainsSpRef)
The XY, Z and M domains in the RasterAnalysis. |
void |
setGlobeOptimized(boolean globeOptimized)
Indicates if the globe optimized type in the RasterAnalysis. |
void |
setIgnoredValue(String ignoredValue)
The ignored value in statistics calculation in RasterAnalysis. |
void |
setJpegQuality(int jpegQuality)
Jpeg compression quality in the RasterAnalysis. |
void |
setMaskByRef(IGeoDataset mask)
Mask allows processing to occur only for a selected set of cells. |
void |
setMosaicType(int mosaicType)
The mosaic type in the RasterAnalysis. |
void |
setOutputDatasetNameArrayByRef(IArray rhs1)
Puts output name array. |
void |
setOutSpatialReferenceByRef(ISpatialReference spatialReference)
The output spatial reference of GeoAnalysis. |
void |
setOutWorkspaceByRef(IWorkspace workspace)
The output workspace of GeoAnalysis. |
void |
setPyramidLevel(int level)
The level in pyramid building in the RasterAnalysis. |
void |
setPyramidResampleType(int resampleType)
The resample type in pyramid building in the RasterAnalysis. |
void |
setTileHeight(int tileHeight)
The GeoDatabase tile height in the RasterAnalysis. |
void |
setTileWidth(int tileWidth)
The GeoDatabase tile width in the RasterAnalysis. |
void |
setVerifyType(int verifyType)
The verify type of the RasterAnalysis. |
void |
setXSkipFactor(int xSkipFactor)
The skip factor in X direction in statistics calculation in the RasterAnalysis. |
void |
setYSkipFactor(int ySkipFactor)
The skip factor in Y direction in statistics calculation in the RasterAnalysis. |
IGeoDataset |
shift(IGeoDataset geoDataset,
double xShift,
double yShift,
Object pSnapRasterData)
Shifts the coordinates of a raster. |
IGeoDataset |
warp(IGeoDataset geoDataset,
IPointCollection sourceControlPoints,
IPointCollection targetControlPoints,
int transformType,
int resampleType)
Transforms a raster along a set of links using a polynomial transformation. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public RasterTransformationOp() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RasterTransformationOp(Object obj) throws IOException
RasterTransformationOp theRasterTransformationOp = (RasterTransformationOp) obj;
obj
to RasterTransformationOp
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setCellSize(int envType, Object cellSizeProvider) throws IOException, AutomationException
envType |
An enumeration type specifying the raster cellsize environment settings for analysis. All subsequent results will be to the value specified. It can be of type esriRasterEnvMaxOf – The largest cell size of all input raster datasets that are specifed in the function. This is the default. This option is not suitable for methods such as IInterpolationOp::IDW, IDensityOp:KernalDensity etc. where features are the only inputs. Use esriRasterEnvValue instead. esriRasterEnvMinOf - Smallest cell size of all input raster datasets. This option is not suitable for methods such as IInterpolationOp::IDW, IDensityOp:KernalDensity etc. where features are the only inputs. Use esriRasterEnvValue instead esriRasterEnvValue - Any user specified value for the cell size. Use this option to specify a particular value for a cell size or for methods such as IInterpolationOp::IDW, IDensityOp:KernalDensity etc. where features are the only input. |
[cellSizeProvider] |
A specified value (double) or RasterDataset that is used to provide the cellsize environment value. |
setCellSize
in interface IRasterAnalysisEnvironment
envType
- A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (in)cellSizeProvider
- A Variant (in, optional, pass null if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getCellSize(int[] envType, double[] cellSize) throws IOException, AutomationException
envType |
will return an enumeration type constant specifying the raster cellsize environment settings for analysis. It can be of type esriRasterEnvMaxOf - largest cell size of all input datasets. This is the default. esriRasterEnvMinOf - smallest cell size of all input datasets esriRasterEnvValue - User specified value. |
cellsize |
returns a value that specifying the current environment setting for cellsize |
getCellSize
in interface IRasterAnalysisEnvironment
envType
- A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (out: use single element array)cellSize
- The cellSize (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtent(int envType, Object extentProvider, Object snapRasterData) throws IOException, AutomationException
envType |
An enumeration type specifying the raster extent environment settings for analysis. All subsequent results will be to this extent. It can be of type esriRasterEnvMinOf – Intersection of Inputs - All input feature extents are intersected and the extent common to all is used as the extent values for the study area. This is the default. esriRasterEnvMaxOf - Union of Inputs - All input feature extents are combined and the outer extent of the union is used. esriRasterEnvValue - Value - User specified values for the Left, Right, Top and Bottom extent (x, y values) of the study area. |
[extentProvider] |
An envelope object supporting IEnvelope interface or RasterDataset that is used to provide the environment values of the analysis extent. |
[snapRasterData] |
A RasterDataset that can be used to snap all output raster datasets to the cell registration of the specified raster. All subsequent results will share the lower-left corner and cell size of the specified raster. |
setExtent
in interface IRasterAnalysisEnvironment
envType
- A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (in)extentProvider
- A Variant (in, optional, pass null if not required)snapRasterData
- A Variant (in, optional, pass null if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getExtent(int[] envType, IEnvelope[] extent) throws IOException, AutomationException
envType |
will return an enumeration constant specifying the raster extent environment settings for analysis. It can be of type, esriRasterEnvMinOf – Intersection of Inputs - All input feature extents are intersected and the extent common to all is used as the extent values for the study area. This is the default. esriRasterEnvMaxOf - Union of Inputs - All input feature extents are combined and the outer extent of the union is used. esriRasterEnvValue - Value - User specified values for the Left, Right, Top and Bottom extent (x, y values) of the study area. |
extent |
An envelope object supporting IEnvelope interface used to describe the values of the analysis extent. |
getExtent
in interface IRasterAnalysisEnvironment
envType
- A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (out: use single element array)extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaskByRef(IGeoDataset mask) throws IOException, AutomationException
setMaskByRef
in interface IRasterAnalysisEnvironment
mask
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset getMask() throws IOException, AutomationException
The mask can be a reference to a Raster, RasterDataset, RasterBand, or RasterDescriptor object or FeatureClass, FeatureClassDescriptor object.
The mask identifies only those cells within the analysis extent that will be considered when performing an action. Only the identified cells will be processed in subsequent output raster datasets. All other cells are characterized as nodata.
getMask
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVerifyType(int verifyType) throws IOException, AutomationException
setVerifyType
in interface IRasterAnalysisEnvironment
verifyType
- A com.esri.arcgis.geoanalyst.esriRasterVerifyEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getVerifyType() throws IOException, AutomationException
The value is an enumeration environment setting that contols the way that an output RasterDatasets are written to file when during analysis. The verify enumeration can be of type
esriRasterEnvVerifyOn - specifies that the user will be prompted to verify the output already exists and it is okay to overwrite it
esriRasterEnvVerifyOff - specifies that output data will be automatically overwritten if already exists. This is the default environment setting.
esriRasterEnvVerifyError - specifies that an error will be produced when the output already exists.
getVerifyType
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDefaultOutputRasterPrefix() throws IOException, AutomationException
The user specified prefix which is included to all temporary output RasterDatasets during analysis.
getDefaultOutputRasterPrefix
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultOutputRasterPrefix(String rasterPrefix) throws IOException, AutomationException
setDefaultOutputRasterPrefix
in interface IRasterAnalysisEnvironment
rasterPrefix
- The rasterPrefix (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDefaultOutputVectorPrefix() throws IOException, AutomationException
The user specified prefix which is included to all temporary output Shapefiles during analysis.
getDefaultOutputVectorPrefix
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultOutputVectorPrefix(String vectorPrefix) throws IOException, AutomationException
setDefaultOutputVectorPrefix
in interface IRasterAnalysisEnvironment
vectorPrefix
- The vectorPrefix (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAsNewDefaultEnvironment() throws IOException, AutomationException
Will set all current environment settings of the RasterAnalysis object as the new default environment. All subsequent analysis will use the set object properties unless otherwise specified.
setAsNewDefaultEnvironment
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void restoreToPreviousDefaultEnvironment() throws IOException, AutomationException
This will restore the default environment to the settings of the "previous" RasterAnalysisEnvironment object used to set the default environement. Note: If multiple default environments have been set it will reference the past settings one at a time in order of sequence.
restoreToPreviousDefaultEnvironment
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws IOException, AutomationException
This method can be used to restore the system default raster environment settings for extent, cell size, precision, spatial reference and/or current workspace for analysis. This will change all previously altered environment settings made to the RasterAnlaysis object back to the original settings.
reset
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutWorkspaceByRef(IWorkspace workspace) throws IOException, AutomationException
setOutWorkspaceByRef
in interface IGeoAnalysisEnvironment
workspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IWorkspace getOutWorkspace() throws IOException, AutomationException
The variable is an object specifying the directory or subdirectory to contain the output rasterdataset
getOutWorkspace
in interface IGeoAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutSpatialReferenceByRef(ISpatialReference spatialReference) throws IOException, AutomationException
setOutSpatialReferenceByRef
in interface IGeoAnalysisEnvironment
spatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getOutSpatialReference() throws IOException, AutomationException
The variable references an object that specifies the output features spatial reference. If not explicitly set the spatial reference of the input features will be used.
getOutSpatialReference
in interface IGeoAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGlobeOptimized(boolean globeOptimized) throws IOException, AutomationException
setGlobeOptimized
in interface IRasterAnalysisGDBEnvironment
globeOptimized
- The globeOptimized (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isGlobeOptimized() throws IOException, AutomationException
isGlobeOptimized
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMosaicType(int mosaicType) throws IOException, AutomationException
setMosaicType
in interface IRasterAnalysisGDBEnvironment
mosaicType
- A com.esri.arcgis.datasourcesraster.rstMosaicOperatorType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMosaicType() throws IOException, AutomationException
getMosaicType
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCompressionType(int compressionType) throws IOException, AutomationException
setCompressionType
in interface IRasterAnalysisGDBEnvironment
compressionType
- A com.esri.arcgis.geoanalyst.esriRasterGDBCompressionEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCompressionType() throws IOException, AutomationException
getCompressionType
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setJpegQuality(int jpegQuality) throws IOException, AutomationException
setJpegQuality
in interface IRasterAnalysisGDBEnvironment
jpegQuality
- The jpegQuality (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getJpegQuality() throws IOException, AutomationException
getJpegQuality
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBuildPyramid(boolean buildParamid) throws IOException, AutomationException
setBuildPyramid
in interface IRasterAnalysisGDBEnvironment
buildParamid
- The buildParamid (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isBuildPyramid() throws IOException, AutomationException
isBuildPyramid
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPyramidResampleType(int resampleType) throws IOException, AutomationException
setPyramidResampleType
in interface IRasterAnalysisGDBEnvironment
resampleType
- A com.esri.arcgis.geoanalyst.esriGeoAnalysisResampleEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPyramidResampleType() throws IOException, AutomationException
getPyramidResampleType
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPyramidLevel(int level) throws IOException, AutomationException
setPyramidLevel
in interface IRasterAnalysisGDBEnvironment
level
- The level (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPyramidLevel() throws IOException, AutomationException
getPyramidLevel
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCalculateStatistics(boolean calculateStatistics) throws IOException, AutomationException
setCalculateStatistics
in interface IRasterAnalysisGDBEnvironment
calculateStatistics
- The calculateStatistics (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCalculateStatistics() throws IOException, AutomationException
isCalculateStatistics
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setXSkipFactor(int xSkipFactor) throws IOException, AutomationException
setXSkipFactor
in interface IRasterAnalysisGDBEnvironment
xSkipFactor
- The xSkipFactor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getXSkipFactor() throws IOException, AutomationException
getXSkipFactor
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setYSkipFactor(int ySkipFactor) throws IOException, AutomationException
setYSkipFactor
in interface IRasterAnalysisGDBEnvironment
ySkipFactor
- The ySkipFactor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getYSkipFactor() throws IOException, AutomationException
getYSkipFactor
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIgnoredValue(String ignoredValue) throws IOException, AutomationException
setIgnoredValue
in interface IRasterAnalysisGDBEnvironment
ignoredValue
- The ignoredValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getIgnoredValue() throws IOException, AutomationException
getIgnoredValue
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTileWidth(int tileWidth) throws IOException, AutomationException
setTileWidth
in interface IRasterAnalysisGDBEnvironment
tileWidth
- The tileWidth (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTileWidth() throws IOException, AutomationException
getTileWidth
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTileHeight(int tileHeight) throws IOException, AutomationException
setTileHeight
in interface IRasterAnalysisGDBEnvironment
tileHeight
- The tileHeight (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTileHeight() throws IOException, AutomationException
getTileHeight
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConfigurationKeyword(String configKeyword) throws IOException, AutomationException
setConfigurationKeyword
in interface IRasterAnalysisGDBEnvironment
configKeyword
- The configKeyword (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getConfigurationKeyword() throws IOException, AutomationException
getConfigurationKeyword
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGDBDomainsByRef(ISpatialReference domainsSpRef) throws IOException, AutomationException
setGDBDomainsByRef
in interface IRasterAnalysisGDBEnvironment
domainsSpRef
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getGDBDomains() throws IOException, AutomationException
getGDBDomains
in interface IRasterAnalysisGDBEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAvoidDataConversion(boolean bAvoid) throws IOException, AutomationException
Setting to false (the default setting) is the same as in versions before ArcGIS 9.4.
Setting the property to True ensures that all processing is performed natively on the raster data. This improves the overall performance as there is no need for the input data to be converted to ESRI grid format. The output data, however, is still temporary rasters in ESRI grid format.
setAvoidDataConversion
in interface IRasterAnalysisGlobalEnvironment
bAvoid
- The bAvoid (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAvoidDataConversion() throws IOException, AutomationException
isAvoidDataConversion
in interface IRasterAnalysisGlobalEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addOutputDatasetName(int index, IDatasetName pOutName) throws IOException, AutomationException
addOutputDatasetName
in interface IRasterOpBase
index
- The index (in)pOutName
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutputDatasetNameArrayByRef(IArray rhs1) throws IOException, AutomationException
setOutputDatasetNameArrayByRef
in interface IRasterOpBase
rhs1
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset flip(IGeoDataset geoDataset) throws IOException, AutomationException
GeoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor to make a Flip copy of(along the horizontal axis). |
flip
in interface ITransformationOp
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset mirror(IGeoDataset geoDataset) throws IOException, AutomationException
GeoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor to make a mirror copy of (along the verticle axis). |
mirror
in interface ITransformationOp
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset shift(IGeoDataset geoDataset, double xShift, double yShift, Object pSnapRasterData) throws IOException, AutomationException
GeoDataSet |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |
xShift |
The value to shift the x coordinates by. |
yShift |
The value to shift the y coordinates by. |
pSnapRasterData |
The input raster to snap cell alignment to |
shift
in interface ITransformationOp
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)xShift
- The xShift (in)yShift
- The yShift (in)pSnapRasterData
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset reScale(IGeoDataset inData, double xScale, double yScale) throws IOException, AutomationException
inData |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |
xScale |
Factor to scale the cell size in the x direction by. |
yScale |
Factor to scale the cell size in the y direction by. |
reScale
in interface ITransformationOp
inData
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)xScale
- The xScale (in)yScale
- The yScale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset rotate(IGeoDataset geoDataset, int resampleType, double angle, Object origin) throws IOException, AutomationException
GeoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |
resampleType |
an esriGeoAnalysisResampleEnum specifing the resampling algorithm to be used when sampling a Raster can be of type: esriGeoAnalysisResampleBilinear - bilinear interpolation. This is Default. esriGeoAnalysisResampleCubic - cubic convolution. esriGeoAnalysisResampleNearest - nearest neighbor assignment. |
angle |
The angle in degrees to rotate the raster. This can be any floating-point number. |
[origin] |
The pivot point to rotate the raster around. The default is the lower left corner of input GeoDataset |
rotate
in interface ITransformationOp
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)resampleType
- A com.esri.arcgis.geoanalyst.esriGeoAnalysisResampleEnum constant (in)angle
- The angle (in)origin
- A Variant (in, optional, pass null if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset clip(IGeoDataset geoDataset, IEnvelope rectangle) throws IOException, AutomationException
GeoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |
Rectangle |
an IEnvelope identifying the lower-left and upper-right coordinates of the rectangle defining the area to be subset from the input GeoDatabase The coordinates are specified in map units and are in the same units as the GeoDataset. |
clip
in interface ITransformationOp
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)rectangle
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset resample(IGeoDataset geoDataset, double newCellsize, int resampleType) throws IOException, AutomationException
GeoDataSet |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |
newCellsize |
The cell size the output raster will be created at. This will be the value in the Environment if it is explicitly set. Otherwise, it is the shortest of the width or the height of the extent of in_point_features, in the input spatial reference, divided by 250. |
resampleType |
an esriGeoAnalysisResampleEnum specifing the resampling algorithm to be used when sampling a Raster can be of type: esriGeoAnalysisResampleBilinear - bilinear interpolation. This is Default. esriGeoAnalysisResampleCubic - cubic convolution. esriGeoAnalysisResampleNearest - nearest neighbor assignment. |
resample
in interface ITransformationOp
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)newCellsize
- The newCellsize (in)resampleType
- A com.esri.arcgis.geoanalyst.esriGeoAnalysisResampleEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset warp(IGeoDataset geoDataset, IPointCollection sourceControlPoints, IPointCollection targetControlPoints, int transformType, int resampleType) throws IOException, AutomationException
GeoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |
sourceControlPoints |
The source points are the "from" coordinates of the links. |
targetControlPoints |
The target points are the "to" coordinates of the links. |
transformType |
an esriGeoTransTypeEnum specifying the geometric transformation type. There are three types, specifying the order of the polynomial. Higher order values will fit a more complex surface. esriGeoTransPolyOrder1 - A first order polynomial fits a flat plane to the input points. This is default. esriGeoTransPolyOrder2 - Transformation is a second order polynomial esriGeoTransPolyOrder3 - Transformation is a third order polynomial. |
resampleType |
an esriGeoAnalysisResampleEnum specifing the resampling algorithm to be used when sampling a Raster can be of type: esriGeoAnalysisResampleBilinear - bilinear interpolation. This is Default. esriGeoAnalysisResampleCubic - cubic convolution. esriGeoAnalysisResampleNearest - nearest neighbor assignment. |
warp
in interface ITransformationOp
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)sourceControlPoints
- A reference to a com.esri.arcgis.geometry.IPointCollection (in)targetControlPoints
- A reference to a com.esri.arcgis.geometry.IPointCollection (in)transformType
- A com.esri.arcgis.datasourcesraster.esriGeoTransTypeEnum constant (in)resampleType
- A com.esri.arcgis.geoanalyst.esriGeoAnalysisResampleEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset projectFast(IGeoDataset geoDataset, ISpatialReference newSpatialReference, int resampleType, Object cellSize) throws IOException, AutomationException
GeoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |
newSpatialReference |
references an object supporting ISpatialReference interface that specifies the output spatial reference. |
resampleType |
an esriGeoAnalysisResampleEnum specifing the resampling algorithm to be used when sampling a Raster can be of type: esriGeoAnalysisResampleBilinear - bilinear interpolation. This is Default. esriGeoAnalysisResampleCubic - cubic convolution. esriGeoAnalysisResampleNearest - nearest neighbor assignment. |
[cellSize] |
ouput cellsize. The default is the current environment setting. |
projectFast
in interface ITransformationOp
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)newSpatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)resampleType
- A com.esri.arcgis.geoanalyst.esriGeoAnalysisResampleEnum constant (in)cellSize
- A Variant (in, optional, pass null if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset mosaic(IRasterBandCollection collectionOfRasters, int mosaicType) throws IOException, AutomationException
collectionOfRasters |
input collection of Raster objects that support IRasterBandCollection interface |
MosaicType |
an enumeration type constant which specifies the method used to mosaic overlapping areas. can be of type: MT_BLEND - The output value will be a blend of values of the overlapped cells. MT_MEAN - The output value will be the mean value of the overlapped cells. MT_MIN - The output value will be the minimum value of the overlapped cells. MT_MAX - The output value will be the maximum value of the overlapped cells. |
mosaic
in interface ITransformationOp
collectionOfRasters
- A reference to a com.esri.arcgis.datasourcesraster.IRasterBandCollection (in)mosaicType
- A com.esri.arcgis.datasourcesraster.rstMosaicOperatorType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |