com.esri.arcgis.datasourcesraster
Class RasterInfo

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterInfo
All Implemented Interfaces:
IRasterInfo, IRasterInfo2, com.esri.arcgis.interop.RemoteObjRef, IPersist, IPersistStream, IXMLSerialize, IXMLVersionSupport, Externalizable, Serializable

public class RasterInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterInfo, IRasterInfo2, IPersist, IPersistStream, IXMLSerialize, IXMLVersionSupport, Externalizable

A class for a raster info value object containing information about a raster.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
RasterInfo()
          Constructs a RasterInfo using ArcGIS Engine.
RasterInfo(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterInfo theRasterInfo = (RasterInfo) obj;
 
Method Summary
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(Object o)
          Compare this object with another
 ITable getAttributeTable()
          The raster attribute table.
 int getBandCount()
          The number of bands in the Raster.
 int getBlockHeight()
          The block height in pixels.
 int getBlockWidth()
          The block width in pixels.
 IPnt getCellSize()
          The raster cell size.
 void getClassID(GUID[] pClassID)
          getClassID
static String getClsid()
          getClsid.
 IRasterColormap getColormap()
          The raster colormap.
 IEnvelope getExtent()
          The raster extent.
 int getFirstPyramidLevel()
          The first pyramid level.
 String getFormat()
          The raster format, e.g.
 IGeodataXform getGeodataXform()
          The raster GeoData transform.
 int getHeight()
          The raster height in pixels.
 IRasterHistogram getHistogram(int iBand)
          The histogram of a given band.
 IRasterLODInfos getLODInfos()
          The tiling Levels Of Details.
 IPnt getMaximumCellSize()
          The maximum cell size associated with this raster.
 int getMaximumPyramidLevel()
          The maximum pyramid level.
 String getMinNamespaceSupported()
          The minimum namespace the class can serialize to (eg the 90 namespace).
 IEnvelope getNativeExtent()
          The native raster extent before GeoData transform.
 ISpatialReference getNativeSpatialReference()
          The native raster spatial reference before GeoData transform.
 Object getNoData()
          The NoData value used to indicate invalid or excluded data.
 IPoint getOrigin()
          The tiling origin.
 IPixelResampler getPixelResampler()
          The current raster resampler.
 int getPixelType()
          The raster pixel type.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 ISpatialReference getSpatialReference()
          The raster spatial reference.
 IRasterStatistics getStatistics(int iBand)
          The statistics of a given band.
 int getWidth()
          The raster width in pixels.
 int hashCode()
          the hashcode for this object
 void init(IRaster pRaster)
          Initializes from a raster.
 void isDirty()
          isDirty
 boolean isResampling()
          Indicates if this raster source wants to perform resampling.
 boolean isSupportBandSelection()
          Indicates if this function supports band selection.
 void load(IStream pstm)
          load
 void readExternal(ObjectInput in)
           
 void removeStatsHistograms()
          Removes all band statistics and histograms.
 void save(IStream pstm, int fClearDirty)
          save
 void serialize(IXMLSerializeData data)
          Serializes an object to XML.
 void setAttributeTableByRef(ITable ppTable)
          The raster attribute table.
 void setBandCount(int pCount)
          The number of bands in the Raster.
 void setBlockHeight(int pHeight)
          The block height in pixels.
 void setBlockWidth(int pWidth)
          The block width in pixels.
 void setCellSize(IPnt ppCellsize)
          The raster cell size.
 void setColormapByRef(IRasterColormap ppColormap)
          The raster colormap.
 void setExtent(IEnvelope ppExtent)
          The raster extent.
 void setFirstPyramidLevel(int pLevel)
          The first pyramid level.
 void setFormat(String pFormat)
          The raster format, e.g.
 void setGeodataXformByRef(IGeodataXform ppXf)
          The raster GeoData transform.
 void setHistogramByRef(int iBand, IRasterHistogram ppHistogram)
          The histogram of a given band.
 void setLODInfosByRef(IRasterLODInfos ppLODInfos)
          The tiling Levels Of Details.
 void setMaximumCellSize(IPnt ppMaximumCellSize)
          The maximum cell size associated with this raster.
 void setMaximumPyramidLevel(int pLevel)
          The maximum pyramid level.
 void setNativeExtent(IEnvelope ppExtent)
          The native raster extent before GeoData transform.
 void setNativeSpatialReferenceByRef(ISpatialReference ppSpatialReference)
          The native raster spatial reference before GeoData transform.
 void setNoData(Object pvNoData)
          The NoData value used to indicate invalid or excluded data.
 void setOriginByRef(IPoint ppOrigin)
          The tiling origin.
 void setPixelResamplerByRef(IPixelResampler ppResampler)
          The current raster resampler.
 void setPixelType(int pPixelType)
          The raster pixel type.
 void setResampling(boolean pResampling)
          Indicates if this raster source wants to perform resampling.
 void setStatisticsByRef(int iBand, IRasterStatistics ppStats)
          The statistics of a given band.
 void setSupportBandSelection(boolean pSupportBandSelection)
          Indicates if this function supports band selection.
 void writeExternal(ObjectOutput out)
           
 
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

RasterInfo

public RasterInfo()
           throws IOException,
                  UnknownHostException
Constructs a RasterInfo using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

RasterInfo

public RasterInfo(Object obj)
           throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterInfo theRasterInfo = (RasterInfo) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getOrigin

public IPoint getOrigin()
                 throws IOException,
                        AutomationException
The tiling origin.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getOrigin in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOriginByRef

public void setOriginByRef(IPoint ppOrigin)
                    throws IOException,
                           AutomationException
The tiling origin.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setOriginByRef in interface IRasterInfo
Parameters:
ppOrigin - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBlockWidth

public int getBlockWidth()
                  throws IOException,
                         AutomationException
The block width in pixels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getBlockWidth in interface IRasterInfo
Returns:
The pWidth
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBlockWidth

public void setBlockWidth(int pWidth)
                   throws IOException,
                          AutomationException
The block width in pixels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setBlockWidth in interface IRasterInfo
Parameters:
pWidth - The pWidth (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBlockHeight

public int getBlockHeight()
                   throws IOException,
                          AutomationException
The block height in pixels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getBlockHeight in interface IRasterInfo
Returns:
The pHeight
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBlockHeight

public void setBlockHeight(int pHeight)
                    throws IOException,
                           AutomationException
The block height in pixels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setBlockHeight in interface IRasterInfo
Parameters:
pHeight - The pHeight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFirstPyramidLevel

public int getFirstPyramidLevel()
                         throws IOException,
                                AutomationException
The first pyramid level.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getFirstPyramidLevel in interface IRasterInfo
Returns:
The pLevel
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFirstPyramidLevel

public void setFirstPyramidLevel(int pLevel)
                          throws IOException,
                                 AutomationException
The first pyramid level.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setFirstPyramidLevel in interface IRasterInfo
Parameters:
pLevel - The pLevel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumPyramidLevel

public int getMaximumPyramidLevel()
                           throws IOException,
                                  AutomationException
The maximum pyramid level.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getMaximumPyramidLevel in interface IRasterInfo
Returns:
The pLevel
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaximumPyramidLevel

public void setMaximumPyramidLevel(int pLevel)
                            throws IOException,
                                   AutomationException
The maximum pyramid level.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setMaximumPyramidLevel in interface IRasterInfo
Parameters:
pLevel - The pLevel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeodataXform

public IGeodataXform getGeodataXform()
                              throws IOException,
                                     AutomationException
The raster GeoData transform.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getGeodataXform in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeodataXform
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGeodataXformByRef

public void setGeodataXformByRef(IGeodataXform ppXf)
                          throws IOException,
                                 AutomationException
The raster GeoData transform.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setGeodataXformByRef in interface IRasterInfo
Parameters:
ppXf - A reference to a com.esri.arcgis.geodatabase.IGeodataXform (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws IOException,
                                             AutomationException
The raster spatial reference.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSpatialReference in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws IOException,
                           AutomationException
The raster extent.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getExtent in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtent

public void setExtent(IEnvelope ppExtent)
               throws IOException,
                      AutomationException
The raster extent.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setExtent in interface IRasterInfo
Parameters:
ppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNativeSpatialReference

public ISpatialReference getNativeSpatialReference()
                                            throws IOException,
                                                   AutomationException
The native raster spatial reference before GeoData transform.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getNativeSpatialReference in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNativeSpatialReferenceByRef

public void setNativeSpatialReferenceByRef(ISpatialReference ppSpatialReference)
                                    throws IOException,
                                           AutomationException
The native raster spatial reference before GeoData transform.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setNativeSpatialReferenceByRef in interface IRasterInfo
Parameters:
ppSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNativeExtent

public IEnvelope getNativeExtent()
                          throws IOException,
                                 AutomationException
The native raster extent before GeoData transform.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getNativeExtent in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNativeExtent

public void setNativeExtent(IEnvelope ppExtent)
                     throws IOException,
                            AutomationException
The native raster extent before GeoData transform.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setNativeExtent in interface IRasterInfo
Parameters:
ppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCellSize

public IPnt getCellSize()
                 throws IOException,
                        AutomationException
The raster cell size.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getCellSize in interface IRasterInfo
Returns:
A reference to a com.esri.arcgis.geodatabase.IPnt
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCellSize

public void setCellSize(IPnt ppCellsize)
                 throws IOException,
                        AutomationException
The raster cell size.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setCellSize in interface IRasterInfo
Parameters:
ppCellsize - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

public int getWidth()
             throws IOException,
                    AutomationException
The raster width in pixels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getWidth in interface IRasterInfo
Returns:
The pWidth
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeight

public int getHeight()
              throws IOException,
                     AutomationException
The raster height in pixels.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getHeight in interface IRasterInfo
Returns:
The pHeight
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBandCount

public int getBandCount()
                 throws IOException,
                        AutomationException
The number of bands in the Raster.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getBandCount in interface IRasterInfo
Returns:
The pCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBandCount

public void setBandCount(int pCount)
                  throws IOException,
                         AutomationException
The number of bands in the Raster.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setBandCount in interface IRasterInfo
Parameters:
pCount - The pCount (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelType

public int getPixelType()
                 throws IOException,
                        AutomationException
The raster pixel type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPixelType in interface IRasterInfo
Returns:
A com.esri.arcgis.geodatabase.rstPixelType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelType

public void setPixelType(int pPixelType)
                  throws IOException,
                         AutomationException
The raster pixel type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setPixelType in interface IRasterInfo
Parameters:
pPixelType - A com.esri.arcgis.geodatabase.rstPixelType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNoData

public Object getNoData()
                 throws IOException,
                        AutomationException
The NoData value used to indicate invalid or excluded data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getNoData in interface IRasterInfo
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNoData

public void setNoData(Object pvNoData)
               throws IOException,
                      AutomationException
The NoData value used to indicate invalid or excluded data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setNoData in interface IRasterInfo
Parameters:
pvNoData - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isResampling

public boolean isResampling()
                     throws IOException,
                            AutomationException
Indicates if this raster source wants to perform resampling.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isResampling in interface IRasterInfo
Returns:
The pResampling
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setResampling

public void setResampling(boolean pResampling)
                   throws IOException,
                          AutomationException
Indicates if this raster source wants to perform resampling.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setResampling in interface IRasterInfo
Parameters:
pResampling - The pResampling (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSupportBandSelection

public boolean isSupportBandSelection()
                               throws IOException,
                                      AutomationException
Indicates if this function supports band selection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isSupportBandSelection in interface IRasterInfo
Returns:
The pSupportBandSelection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSupportBandSelection

public void setSupportBandSelection(boolean pSupportBandSelection)
                             throws IOException,
                                    AutomationException
Indicates if this function supports band selection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setSupportBandSelection in interface IRasterInfo
Parameters:
pSupportBandSelection - The pSupportBandSelection (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFormat

public String getFormat()
                 throws IOException,
                        AutomationException
The raster format, e.g. TIFF, NITF, and etc.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getFormat in interface IRasterInfo
Returns:
The pFormat
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFormat

public void setFormat(String pFormat)
               throws IOException,
                      AutomationException
The raster format, e.g. TIFF, NITF, and etc.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setFormat in interface IRasterInfo
Parameters:
pFormat - The pFormat (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(IRaster pRaster)
          throws IOException,
                 AutomationException
Initializes from a raster.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
init in interface IRasterInfo2
Parameters:
pRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeStatsHistograms

public void removeStatsHistograms()
                           throws IOException,
                                  AutomationException
Removes all band statistics and histograms.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
removeStatsHistograms in interface IRasterInfo2
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLODInfos

public IRasterLODInfos getLODInfos()
                            throws IOException,
                                   AutomationException
The tiling Levels Of Details.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getLODInfos in interface IRasterInfo2
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterLODInfos
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLODInfosByRef

public void setLODInfosByRef(IRasterLODInfos ppLODInfos)
                      throws IOException,
                             AutomationException
The tiling Levels Of Details.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setLODInfosByRef in interface IRasterInfo2
Parameters:
ppLODInfos - A reference to a com.esri.arcgis.geodatabase.IRasterLODInfos (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColormap

public IRasterColormap getColormap()
                            throws IOException,
                                   AutomationException
The raster colormap.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getColormap in interface IRasterInfo2
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterColormap
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColormapByRef

public void setColormapByRef(IRasterColormap ppColormap)
                      throws IOException,
                             AutomationException
The raster colormap.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setColormapByRef in interface IRasterInfo2
Parameters:
ppColormap - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeTable

public ITable getAttributeTable()
                         throws IOException,
                                AutomationException
The raster attribute table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAttributeTable in interface IRasterInfo2
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAttributeTableByRef

public void setAttributeTableByRef(ITable ppTable)
                            throws IOException,
                                   AutomationException
The raster attribute table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setAttributeTableByRef in interface IRasterInfo2
Parameters:
ppTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatistics

public IRasterStatistics getStatistics(int iBand)
                                throws IOException,
                                       AutomationException
The statistics of a given band.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getStatistics in interface IRasterInfo2
Parameters:
iBand - The iBand (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterStatistics
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStatisticsByRef

public void setStatisticsByRef(int iBand,
                               IRasterStatistics ppStats)
                        throws IOException,
                               AutomationException
The statistics of a given band.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setStatisticsByRef in interface IRasterInfo2
Parameters:
iBand - The iBand (in)
ppStats - A reference to a com.esri.arcgis.datasourcesraster.IRasterStatistics (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHistogram

public IRasterHistogram getHistogram(int iBand)
                              throws IOException,
                                     AutomationException
The histogram of a given band.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getHistogram in interface IRasterInfo2
Parameters:
iBand - The iBand (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterHistogram
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHistogramByRef

public void setHistogramByRef(int iBand,
                              IRasterHistogram ppHistogram)
                       throws IOException,
                              AutomationException
The histogram of a given band.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setHistogramByRef in interface IRasterInfo2
Parameters:
iBand - The iBand (in)
ppHistogram - A reference to a com.esri.arcgis.datasourcesraster.IRasterHistogram (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelResampler

public IPixelResampler getPixelResampler()
                                  throws IOException,
                                         AutomationException
The current raster resampler.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPixelResampler in interface IRasterInfo2
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IPixelResampler
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelResamplerByRef

public void setPixelResamplerByRef(IPixelResampler ppResampler)
                            throws IOException,
                                   AutomationException
The current raster resampler.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setPixelResamplerByRef in interface IRasterInfo2
Parameters:
ppResampler - A reference to a com.esri.arcgis.datasourcesraster.IPixelResampler (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumCellSize

public IPnt getMaximumCellSize()
                        throws IOException,
                               AutomationException
The maximum cell size associated with this raster.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getMaximumCellSize in interface IRasterInfo2
Returns:
A reference to a com.esri.arcgis.geodatabase.IPnt
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaximumCellSize

public void setMaximumCellSize(IPnt ppMaximumCellSize)
                        throws IOException,
                               AutomationException
The maximum cell size associated with this raster.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setMaximumCellSize in interface IRasterInfo2
Parameters:
ppMaximumCellSize - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws IOException,
                       AutomationException
getClassID

Description

IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirty

public void isDirty()
             throws IOException,
                    AutomationException
isDirty

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isDirty in interface IPersistStream
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IStream pstm)
          throws IOException,
                 AutomationException
load

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
load in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

save

public void save(IStream pstm,
                 int fClearDirty)
          throws IOException,
                 AutomationException
save

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws IOException,
                       AutomationException
getSizeMax

Description

IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serialize

public void serialize(IXMLSerializeData data)
               throws IOException,
                      AutomationException
Serializes an object to XML.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
serialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deserialize

public void deserialize(IXMLSerializeData data)
                 throws IOException,
                        AutomationException
Deserializes an object from XML.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
deserialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinNamespaceSupported

public String getMinNamespaceSupported()
                                throws IOException,
                                       AutomationException
The minimum namespace the class can serialize to (eg the 90 namespace).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getMinNamespaceSupported in interface IXMLVersionSupport
Returns:
The namespaceURI
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException