public class RasterCalcStatsHistogram extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRasterCalcStatsHistogram, IRasterCalcStatsHistogram2, IRasterCalcStatsHistogram3
Description 'A helper class for calculating raster statistics and histogram.' 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 =
IID, IID16ce5be0_f053_497c_a930_a68204949fee, xxDummy
IID5ea490ee_8638_4412_9df6_1fda5b9a8937
IID04ddbb5f_dba3_4acc_8641_43e22e8de599
Constructor and Description |
---|
RasterCalcStatsHistogram()
Constructs a RasterCalcStatsHistogram using ArcGIS Engine.
|
RasterCalcStatsHistogram(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
RasterCalcStatsHistogram theRasterCalcStatsHistogram = (RasterCalcStatsHistogram) obj; |
Modifier and Type | Method and Description |
---|---|
void |
computeAllFromBlock(IPixelBlock pBlock,
IArray pStatsHistograms)
Computes stats and histogram from a pixel block.
|
void |
computeAllFromRaster(IRaster pRaster,
IArray pStatsHistograms)
Computes stats and histogram from a given Raster.
|
void |
computeFromRaster(IRaster pRaster,
int iBand,
IStatsHistogram pStatsHistogram)
Computes stats and histogram from a given Raster.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
hashCode()
the hashcode for this object
|
void |
loadFromRasterBand(IRasterBand pBand,
java.lang.Object noData,
IStatsHistogram pStatsHistogram)
Computes stats and histogram from a given RasterBand.
|
void |
loadFromRasterBandEx(IRasterBand pBand,
java.lang.Object noData,
boolean approximation,
IStatsHistogram pStatsHistogram)
Loads stats and histogram from a given RasterBand.
|
void |
release()
Release this COM object reference
|
public RasterCalcStatsHistogram() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic RasterCalcStatsHistogram(java.lang.Object obj) throws java.io.IOException
RasterCalcStatsHistogram theRasterCalcStatsHistogram = (RasterCalcStatsHistogram) obj;
obj
to RasterCalcStatsHistogram
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic 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 computeFromRaster(IRaster pRaster, int iBand, IStatsHistogram pStatsHistogram) throws java.io.IOException, AutomationException
computeFromRaster
in interface IRasterCalcStatsHistogram
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)iBand
- The iBand (in)pStatsHistogram
- A reference to a com.esri.arcgis.datasourcesraster.IStatsHistogram (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void loadFromRasterBand(IRasterBand pBand, java.lang.Object noData, IStatsHistogram pStatsHistogram) throws java.io.IOException, AutomationException
loadFromRasterBand
in interface IRasterCalcStatsHistogram
pBand
- A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)noData
- A Variant (in)pStatsHistogram
- A reference to a com.esri.arcgis.datasourcesraster.IStatsHistogram (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void computeAllFromRaster(IRaster pRaster, IArray pStatsHistograms) throws java.io.IOException, AutomationException
computeAllFromRaster
in interface IRasterCalcStatsHistogram2
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)pStatsHistograms
- A reference to a com.esri.arcgis.system.IArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void computeAllFromBlock(IPixelBlock pBlock, IArray pStatsHistograms) throws java.io.IOException, AutomationException
computeAllFromBlock
in interface IRasterCalcStatsHistogram3
pBlock
- A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)pStatsHistograms
- A reference to a com.esri.arcgis.system.IArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void loadFromRasterBandEx(IRasterBand pBand, java.lang.Object noData, boolean approximation, IStatsHistogram pStatsHistogram) throws java.io.IOException, AutomationException
loadFromRasterBandEx
in interface IRasterCalcStatsHistogram3
pBand
- A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)noData
- A Variant (in)approximation
- The approximation (in)pStatsHistogram
- A reference to a com.esri.arcgis.datasourcesraster.IStatsHistogram (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.