public class RasterCalcUniqueValues extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRasterCalcUniqueValues, IRasterCalcUniqueValues2, IRasterCalcUniqueValues3
Description 'A helper class for calculating raster unique values.' 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, IID4f1db6a1_e923_46d0_897a_f858a7253d05, xxDummyIID7c39b731_a6a8_4843_a734_ff607331e57aIIDb065f7f9_c202_466c_b111_f6a89c55ab29| Constructor and Description |
|---|
RasterCalcUniqueValues()
Constructs a RasterCalcUniqueValues using ArcGIS Engine.
|
RasterCalcUniqueValues(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
RasterCalcUniqueValues theRasterCalcUniqueValues = (RasterCalcUniqueValues) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
addFromBlock(IPixelBlock pBlock,
double precision,
IUniqueValues pUniqueValues)
Adds decimal values truncated to a given precision from a given a pixel block.
|
void |
addFromRaster(IRaster pRaster,
int iBand,
IUniqueValues pUniqueValues)
Adds values from a given band of a Raster.
|
void |
addFromRasterAsDecimal(IRaster pRaster,
int iBand,
double precision,
IUniqueValues pUniqueValues)
Adds decimal values truncated to a given precision from a given band of a Raster.
|
void |
addFromTable(ICursor pCursor,
int iValueField,
int iCountField,
IUniqueValues pUniqueValues)
Adds values of a field of a table.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IPnt |
getBlockSize()
The calculation block size.
|
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 |
getMaxUniqueValueCount()
The maximum number of unique values.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
void |
setBlockSize(IPnt ppSize)
The calculation block size.
|
void |
setMaxUniqueValueCount(int pMaxCount)
The maximum number of unique values.
|
public RasterCalcUniqueValues()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic RasterCalcUniqueValues(java.lang.Object obj)
throws java.io.IOException
RasterCalcUniqueValues theRasterCalcUniqueValues = (RasterCalcUniqueValues) obj;obj to RasterCalcUniqueValues.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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic void addFromTable(ICursor pCursor, int iValueField, int iCountField, IUniqueValues pUniqueValues) throws java.io.IOException, AutomationException
addFromTable in interface IRasterCalcUniqueValuespCursor - A reference to a com.esri.arcgis.geodatabase.ICursor (in)iValueField - The iValueField (in)iCountField - The iCountField (in)pUniqueValues - A reference to a com.esri.arcgis.datasourcesraster.IUniqueValues (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addFromRaster(IRaster pRaster, int iBand, IUniqueValues pUniqueValues) throws java.io.IOException, AutomationException
addFromRaster in interface IRasterCalcUniqueValuespRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)iBand - The iBand (in)pUniqueValues - A reference to a com.esri.arcgis.datasourcesraster.IUniqueValues (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addFromRasterAsDecimal(IRaster pRaster, int iBand, double precision, IUniqueValues pUniqueValues) throws java.io.IOException, AutomationException
addFromRasterAsDecimal in interface IRasterCalcUniqueValuespRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)iBand - The iBand (in)precision - The precision (in)pUniqueValues - A reference to a com.esri.arcgis.datasourcesraster.IUniqueValues (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getMaxUniqueValueCount()
throws java.io.IOException,
AutomationException
getMaxUniqueValueCount in interface IRasterCalcUniqueValues2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setMaxUniqueValueCount(int pMaxCount)
throws java.io.IOException,
AutomationException
setMaxUniqueValueCount in interface IRasterCalcUniqueValues2pMaxCount - The pMaxCount (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setBlockSize(IPnt ppSize) throws java.io.IOException, AutomationException
setBlockSize in interface IRasterCalcUniqueValues3ppSize - A reference to a com.esri.arcgis.geodatabase.IPnt (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPnt getBlockSize() throws java.io.IOException, AutomationException
getBlockSize in interface IRasterCalcUniqueValues3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addFromBlock(IPixelBlock pBlock, double precision, IUniqueValues pUniqueValues) throws java.io.IOException, AutomationException
addFromBlock in interface IRasterCalcUniqueValues3pBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)precision - The precision (in)pUniqueValues - A reference to a com.esri.arcgis.datasourcesraster.IUniqueValues (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.