public class RasterStatistics extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRasterStatistics, IRasterStatistics2
Description 'A raster statistics class.' 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, IIDdc667a54_7969_4486_aa5a_f7ec40d4b707, xxDummy
IID7e7e6103_fa34_11d1_8d22_0000f8780535
Constructor and Description |
---|
RasterStatistics()
Constructs a RasterStatistics using ArcGIS Engine.
|
RasterStatistics(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
RasterStatistics theRasterStatistics = (RasterStatistics) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.Object |
getCovariances()
Array of doubles, the covariances with the n bands of the raster.
|
java.lang.Object |
getIgnoredValues()
Array of doubles indicating the pixel values not included in the statistics calculation.
|
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.
|
double |
getMaximum()
Approximate largest value.
|
double |
getMean()
Approximate average value.
|
double |
getMedian()
Divides pixel population approximately in halves.
|
double |
getMinimum()
Approximate smallest value.
|
double |
getMode()
Approximate most popular pixel value.
|
int |
getSkipFactorX()
Number of horizontal pixels between samples for purposes of calculating statistics.
|
int |
getSkipFactorY()
Number of vertical pixels between samples for purposes of calculating statistics.
|
double |
getStandardDeviation()
Measures spread of pixel values about the mean.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isValid()
Indicates if statistics are fresh.
|
void |
recalculate()
Recalculate statistics based upon current skip factors and ignored values.
|
void |
release()
Release this COM object reference
|
void |
setCovariances(java.lang.Object pVal)
Array of doubles, the covariances with the n bands of the raster.
|
void |
setIgnoredValues(java.lang.Object pVal)
Array of doubles indicating the pixel values not included in the statistics calculation.
|
void |
setIsValid(boolean pVal)
Indicates if statistics are fresh.
|
void |
setMaximum(double pVal)
Approximate largest value.
|
void |
setMean(double pVal)
Approximate average value.
|
void |
setMinimum(double pVal)
Approximate smallest value.
|
void |
setRasterBand(IRasterBand rhs1)
The RasterBand.
|
void |
setSkipFactorX(int pVal)
Number of horizontal pixels between samples for purposes of calculating statistics.
|
void |
setSkipFactorY(int pVal)
Number of vertical pixels between samples for purposes of calculating statistics.
|
void |
setStandardDeviation(double pVal)
Measures spread of pixel values about the mean.
|
public RasterStatistics() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic RasterStatistics(java.lang.Object obj) throws java.io.IOException
RasterStatistics theRasterStatistics = (RasterStatistics) obj;
obj
to RasterStatistics
.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 double getMinimum() throws java.io.IOException, AutomationException
getMinimum
in interface IRasterStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMinimum(double pVal) throws java.io.IOException, AutomationException
setMinimum
in interface IRasterStatistics
pVal
- The pVal (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMaximum() throws java.io.IOException, AutomationException
getMaximum
in interface IRasterStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMaximum(double pVal) throws java.io.IOException, AutomationException
setMaximum
in interface IRasterStatistics
pVal
- The pVal (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMean() throws java.io.IOException, AutomationException
getMean
in interface IRasterStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMean(double pVal) throws java.io.IOException, AutomationException
setMean
in interface IRasterStatistics
pVal
- The pVal (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getStandardDeviation() throws java.io.IOException, AutomationException
getStandardDeviation
in interface IRasterStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setStandardDeviation(double pVal) throws java.io.IOException, AutomationException
setStandardDeviation
in interface IRasterStatistics
pVal
- The pVal (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMedian() throws java.io.IOException, AutomationException
getMedian
in interface IRasterStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMode() throws java.io.IOException, AutomationException
getMode
in interface IRasterStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isValid() throws java.io.IOException, AutomationException
isValid
in interface IRasterStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setIsValid(boolean pVal) throws java.io.IOException, AutomationException
setIsValid
in interface IRasterStatistics
pVal
- The pVal (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getIgnoredValues() throws java.io.IOException, AutomationException
getIgnoredValues
in interface IRasterStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setIgnoredValues(java.lang.Object pVal) throws java.io.IOException, AutomationException
setIgnoredValues
in interface IRasterStatistics
pVal
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getSkipFactorX() throws java.io.IOException, AutomationException
getSkipFactorX
in interface IRasterStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSkipFactorX(int pVal) throws java.io.IOException, AutomationException
setSkipFactorX
in interface IRasterStatistics
pVal
- The pVal (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getSkipFactorY() throws java.io.IOException, AutomationException
getSkipFactorY
in interface IRasterStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSkipFactorY(int pVal) throws java.io.IOException, AutomationException
setSkipFactorY
in interface IRasterStatistics
pVal
- The pVal (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRasterBand(IRasterBand rhs1) throws java.io.IOException, AutomationException
setRasterBand
in interface IRasterStatistics
rhs1
- A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void recalculate() throws java.io.IOException, AutomationException
recalculate
in interface IRasterStatistics
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getCovariances() throws java.io.IOException, AutomationException
getCovariances
in interface IRasterStatistics2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCovariances(java.lang.Object pVal) throws java.io.IOException, AutomationException
setCovariances
in interface IRasterStatistics2
pVal
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.