|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.spatialanalyst.RasterGeneralizeOp
public class RasterGeneralizeOp
COM Class 'RasterGeneralizeOp'. Generated 3/19/2015 1:20:46 PM from 'C:\ArcGIS\COM\esriSpatialAnalyst.olb'
Description 'A mechanism for performing simplifying operations on rasters.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.geoanalyst.IRasterAnalysisEnvironment |
---|
IID, IID3297e9c5_93a1_11d2_9f33_00c04f8ed1d7, xxDummy |
Fields inherited from interface com.esri.arcgis.geoanalyst.IGeoAnalysisEnvironment |
---|
IID3297e9c8_93a1_11d2_9f33_00c04f8ed1d7 |
Fields inherited from interface com.esri.arcgis.spatialanalyst.IGeneralizeOp |
---|
IID, IID273774e8_ead9_11d3_9f93_00c04f8ef00e, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Constructor Summary | |
---|---|
RasterGeneralizeOp()
Constructs a RasterGeneralizeOp using ArcGIS Engine. |
|
RasterGeneralizeOp(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterGeneralizeOp theRasterGeneralizeOp = (RasterGeneralizeOp) obj; |
Method Summary | |
---|---|
IGeoDataset |
aggregate(IGeoDataset raster,
int cellFactor,
int aggregationType,
boolean expandExtent,
boolean ignoreNoData)
Generates a reduced resolution version of a raster. |
IGeoDataset |
boundaryClean(IGeoDataset raster,
int sortType,
boolean runTwice)
Smoothes the boundary between zones by expanding and shrinking the boundary. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IGeoDataset |
expand(IGeoDataset raster,
int numberCells,
java.lang.Object zoneList)
Expands the selected zones by a specified number of cells. |
void |
getCellSize(int[] envType,
double[] cellSize)
Gets the type and value of cell size in the RasterAnalysis. |
static java.lang.String |
getClsid()
getClsid. |
java.lang.String |
getDefaultOutputRasterPrefix()
The default output raster prefix. |
java.lang.String |
getDefaultOutputVectorPrefix()
The default output vector prefix. |
void |
getExtent(int[] envType,
IEnvelope[] extent)
Gets the type and values of extent in the RasterAnalysis. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IGeoDataset |
getMask()
Mask allows processing to occur only for a selected set of cells. |
ISpatialReference |
getOutSpatialReference()
The output spatial reference of GeoAnalysis. |
IWorkspace |
getOutWorkspace()
The output workspace of GeoAnalysis. |
int |
getVerifyType()
The verify type of the RasterAnalysis. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
IGeoDataset |
majorityFilter(IGeoDataset raster,
boolean useDiagonalNeighbors,
boolean halfIsMajority)
Replaces cells based upon the majority of their contiguous neighboring cells. |
IGeoDataset |
nibble(IGeoDataset raster,
IGeoDataset maskRaster,
boolean useNoData)
Replaces areas in a raster corresponding to a mask, with the values of the nearest neighbors. |
IGeoDataset |
regionGroup(IGeoDataset raster,
boolean useDiagonalNeighbors,
boolean withinZones,
boolean createLinkField,
java.lang.Object excludedValue)
Records for each cell in the output, the identity of the connected region to which it belongs. |
void |
release()
Release a RasterGeneralizeOp. |
IGeoDataset |
resample(IGeoDataset raster,
double newCellSize,
int resampleType)
Resamples the raster to a new cell size. |
void |
reset()
Remove all previously stored default rasteranalysis environments. |
void |
restoreToPreviousDefaultEnvironment()
Restores to the previous default raster analysis environment. |
void |
setAsNewDefaultEnvironment()
Sets the raster analysis environment of the object as new default environment. |
void |
setCellSize(int envType,
java.lang.Object cellSizeProvider)
Sets the type and value of cell size in the RasterAnalysis. |
void |
setDefaultOutputRasterPrefix(java.lang.String rasterPrefix)
The default output raster prefix. |
void |
setDefaultOutputVectorPrefix(java.lang.String vectorPrefix)
The default output vector prefix. |
void |
setExtent(int envType,
java.lang.Object extentProvider,
java.lang.Object snapRasterData)
Sets the type and values of extent in the RasterAnalysis. |
void |
setMaskByRef(IGeoDataset mask)
Mask allows processing to occur only for a selected set of cells. |
void |
setOutSpatialReferenceByRef(ISpatialReference spatialReference)
The output spatial reference of GeoAnalysis. |
void |
setOutWorkspaceByRef(IWorkspace workspace)
The output workspace of GeoAnalysis. |
void |
setVerifyType(int verifyType)
The verify type of the RasterAnalysis. |
IGeoDataset |
shrink(IGeoDataset raster,
int numberCells,
java.lang.Object zoneList)
Shrinks the selected zones by a specified number of cells. |
IGeoDataset |
thin(IGeoDataset raster,
boolean backgroundIsNoData,
boolean filterData,
boolean roundCorners,
java.lang.Object maxThickness)
Thins rasterized linear features by reducing the number of pixels representing the width of the features. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RasterGeneralizeOp() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic RasterGeneralizeOp(java.lang.Object obj) throws java.io.IOException
RasterGeneralizeOp theRasterGeneralizeOp = (RasterGeneralizeOp) obj;
obj
to RasterGeneralizeOp
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setCellSize(int envType, java.lang.Object cellSizeProvider) throws java.io.IOException, AutomationException
setCellSize
in interface IRasterAnalysisEnvironment
envType
- A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (in)cellSizeProvider
- A Variant (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getCellSize(int[] envType, double[] cellSize) throws java.io.IOException, AutomationException
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtent(int envType, java.lang.Object extentProvider, java.lang.Object snapRasterData) throws java.io.IOException, AutomationException
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getExtent(int[] envType, IEnvelope[] extent) throws java.io.IOException, AutomationException
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaskByRef(IGeoDataset mask) throws java.io.IOException, AutomationException
setMaskByRef
in interface IRasterAnalysisEnvironment
mask
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset getMask() throws java.io.IOException, AutomationException
getMask
in interface IRasterAnalysisEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVerifyType(int verifyType) throws java.io.IOException, AutomationException
setVerifyType
in interface IRasterAnalysisEnvironment
verifyType
- A com.esri.arcgis.geoanalyst.esriRasterVerifyEnum constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getVerifyType() throws java.io.IOException, AutomationException
getVerifyType
in interface IRasterAnalysisEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDefaultOutputRasterPrefix() throws java.io.IOException, AutomationException
getDefaultOutputRasterPrefix
in interface IRasterAnalysisEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultOutputRasterPrefix(java.lang.String rasterPrefix) throws java.io.IOException, AutomationException
setDefaultOutputRasterPrefix
in interface IRasterAnalysisEnvironment
rasterPrefix
- The rasterPrefix (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDefaultOutputVectorPrefix() throws java.io.IOException, AutomationException
getDefaultOutputVectorPrefix
in interface IRasterAnalysisEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultOutputVectorPrefix(java.lang.String vectorPrefix) throws java.io.IOException, AutomationException
setDefaultOutputVectorPrefix
in interface IRasterAnalysisEnvironment
vectorPrefix
- The vectorPrefix (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAsNewDefaultEnvironment() throws java.io.IOException, AutomationException
setAsNewDefaultEnvironment
in interface IRasterAnalysisEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void restoreToPreviousDefaultEnvironment() throws java.io.IOException, AutomationException
restoreToPreviousDefaultEnvironment
in interface IRasterAnalysisEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws java.io.IOException, AutomationException
reset
in interface IRasterAnalysisEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutWorkspaceByRef(IWorkspace workspace) throws java.io.IOException, AutomationException
setOutWorkspaceByRef
in interface IGeoAnalysisEnvironment
workspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IWorkspace getOutWorkspace() throws java.io.IOException, AutomationException
getOutWorkspace
in interface IGeoAnalysisEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutSpatialReferenceByRef(ISpatialReference spatialReference) throws java.io.IOException, AutomationException
setOutSpatialReferenceByRef
in interface IGeoAnalysisEnvironment
spatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getOutSpatialReference() throws java.io.IOException, AutomationException
getOutSpatialReference
in interface IGeoAnalysisEnvironment
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset aggregate(IGeoDataset raster, int cellFactor, int aggregationType, boolean expandExtent, boolean ignoreNoData) throws java.io.IOException, AutomationException
aggregate
in interface IGeneralizeOp
raster
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)cellFactor
- The cellFactor (in)aggregationType
- A com.esri.arcgis.geoanalyst.esriGeoAnalysisStatisticsEnum constant (in)expandExtent
- The expandExtent (in)ignoreNoData
- The ignoreNoData (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset boundaryClean(IGeoDataset raster, int sortType, boolean runTwice) throws java.io.IOException, AutomationException
boundaryClean
in interface IGeneralizeOp
raster
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)sortType
- A com.esri.arcgis.spatialanalyst.esriGeoAnalysisSortEnum constant (in)runTwice
- The runTwice (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset expand(IGeoDataset raster, int numberCells, java.lang.Object zoneList) throws java.io.IOException, AutomationException
expand
in interface IGeneralizeOp
raster
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)numberCells
- The numberCells (in)zoneList
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset majorityFilter(IGeoDataset raster, boolean useDiagonalNeighbors, boolean halfIsMajority) throws java.io.IOException, AutomationException
majorityFilter
in interface IGeneralizeOp
raster
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)useDiagonalNeighbors
- The useDiagonalNeighbors (in)halfIsMajority
- The halfIsMajority (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset nibble(IGeoDataset raster, IGeoDataset maskRaster, boolean useNoData) throws java.io.IOException, AutomationException
nibble
in interface IGeneralizeOp
raster
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)maskRaster
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)useNoData
- The useNoData (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset regionGroup(IGeoDataset raster, boolean useDiagonalNeighbors, boolean withinZones, boolean createLinkField, java.lang.Object excludedValue) throws java.io.IOException, AutomationException
regionGroup
in interface IGeneralizeOp
raster
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)useDiagonalNeighbors
- The useDiagonalNeighbors (in)withinZones
- The withinZones (in)createLinkField
- The createLinkField (in)excludedValue
- A Variant (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset resample(IGeoDataset raster, double newCellSize, int resampleType) throws java.io.IOException, AutomationException
resample
in interface IGeneralizeOp
raster
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)newCellSize
- The newCellSize (in)resampleType
- A com.esri.arcgis.geoanalyst.esriGeoAnalysisResampleEnum constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset shrink(IGeoDataset raster, int numberCells, java.lang.Object zoneList) throws java.io.IOException, AutomationException
shrink
in interface IGeneralizeOp
raster
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)numberCells
- The numberCells (in)zoneList
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset thin(IGeoDataset raster, boolean backgroundIsNoData, boolean filterData, boolean roundCorners, java.lang.Object maxThickness) throws java.io.IOException, AutomationException
thin
in interface IGeneralizeOp
raster
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)backgroundIsNoData
- The backgroundIsNoData (in)filterData
- The filterData (in)roundCorners
- The roundCorners (in)maxThickness
- A Variant (in, optional, pass null if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.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 |