com.esri.arcgis.datasourcesraster
Class RasterCalcStatsHistogram

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterCalcStatsHistogram
All Implemented Interfaces:
IRasterCalcStatsHistogram, IRasterCalcStatsHistogram2, IRasterCalcStatsHistogram3, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class RasterCalcStatsHistogram
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterCalcStatsHistogram, IRasterCalcStatsHistogram2, IRasterCalcStatsHistogram3

COM Class 'RasterCalcStatsHistogram'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterCalcStatsHistogram3
IID, IID16ce5be0_f053_497c_a930_a68204949fee, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterCalcStatsHistogram2
IID5ea490ee_8638_4412_9df6_1fda5b9a8937
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterCalcStatsHistogram
IID04ddbb5f_dba3_4acc_8641_43e22e8de599
 
Constructor Summary
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;
 
Method Summary
 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()
          Deprecated. Internal use only.
 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)
          Computes stats and histogram from a given RasterBand.
 void release()
          Release a RasterCalcStatsHistogram.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterCalcStatsHistogram

public RasterCalcStatsHistogram()
                         throws java.io.IOException,
                                java.net.UnknownHostException
Constructs a RasterCalcStatsHistogram using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

RasterCalcStatsHistogram

public RasterCalcStatsHistogram(java.lang.Object obj)
                         throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterCalcStatsHistogram theRasterCalcStatsHistogram = (RasterCalcStatsHistogram) obj;

Construct a RasterCalcStatsHistogram using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterCalcStatsHistogram.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a RasterCalcStatsHistogram.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

computeFromRaster

public void computeFromRaster(IRaster pRaster,
                              int iBand,
                              IStatsHistogram pStatsHistogram)
                       throws java.io.IOException,
                              AutomationException
Computes stats and histogram from a given Raster.

Specified by:
computeFromRaster in interface IRasterCalcStatsHistogram
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFromRasterBand

public void loadFromRasterBand(IRasterBand pBand,
                               java.lang.Object noData,
                               IStatsHistogram pStatsHistogram)
                        throws java.io.IOException,
                               AutomationException
Computes stats and histogram from a given RasterBand.

Specified by:
loadFromRasterBand in interface IRasterCalcStatsHistogram
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

computeAllFromRaster

public void computeAllFromRaster(IRaster pRaster,
                                 IArray pStatsHistograms)
                          throws java.io.IOException,
                                 AutomationException
Computes stats and histogram from a given Raster.

Specified by:
computeAllFromRaster in interface IRasterCalcStatsHistogram2
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
pStatsHistograms - A reference to a com.esri.arcgis.system.IArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

computeAllFromBlock

public void computeAllFromBlock(IPixelBlock pBlock,
                                IArray pStatsHistograms)
                         throws java.io.IOException,
                                AutomationException
Computes stats and histogram from a pixel block.

Specified by:
computeAllFromBlock in interface IRasterCalcStatsHistogram3
Parameters:
pBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
pStatsHistograms - A reference to a com.esri.arcgis.system.IArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFromRasterBandEx

public void loadFromRasterBandEx(IRasterBand pBand,
                                 java.lang.Object noData,
                                 boolean approximation,
                                 IStatsHistogram pStatsHistogram)
                          throws java.io.IOException,
                                 AutomationException
Computes stats and histogram from a given RasterBand.

Specified by:
loadFromRasterBandEx in interface IRasterCalcStatsHistogram3
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.