|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesraster.RasterCalcUniqueValues
public class RasterCalcUniqueValues
A helper class for calculating raster unique values.
RasterCalcUniqueValues is used to obtain the unique values from one or a collection of raster datasets and use these "unified" unique values to render many rasters or some raster datasets in a raster catalog.
RasterCalcUniqueValues creates UniqueValues object, which is used in RasterUniqueValueRenderer.
| Constructor Summary | |
|---|---|
RasterCalcUniqueValues()
Constructs a RasterCalcUniqueValues using ArcGIS Engine. |
|
RasterCalcUniqueValues(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterCalcUniqueValues theRasterCalcUniqueValues = (RasterCalcUniqueValues) obj; |
|
| Method Summary | |
|---|---|
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(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getMaxUniqueValueCount()
The maximum number of unique values. |
int |
hashCode()
the hashcode for this object |
void |
setMaxUniqueValueCount(int pMaxCount)
The maximum number of unique values. |
| 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 RasterCalcUniqueValues()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RasterCalcUniqueValues(Object obj)
throws IOException
RasterCalcUniqueValues theRasterCalcUniqueValues = (RasterCalcUniqueValues) obj;
obj to RasterCalcUniqueValues.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void addFromTable(ICursor pCursor,
int iValueField,
int iCountField,
IUniqueValues pUniqueValues)
throws 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addFromRaster(IRaster pRaster,
int iBand,
IUniqueValues pUniqueValues)
throws 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)
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 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaxUniqueValueCount()
throws IOException,
AutomationException
getMaxUniqueValueCount in interface IRasterCalcUniqueValues2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxUniqueValueCount(int pMaxCount)
throws IOException,
AutomationException
setMaxUniqueValueCount in interface IRasterCalcUniqueValues2pMaxCount - The pMaxCount (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 | ||||||||