com.esri.arcgis.datasourcesraster
Interface IRasterInfo2

All Superinterfaces:
IRasterInfo, Serializable
All Known Implementing Classes:
RasterInfo

public interface IRasterInfo2
extends IRasterInfo, Serializable

Provides access to members that control a raster info object.

Product Availability

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


Method Summary
 ITable getAttributeTable()
          The raster attribute table.
 IRasterColormap getColormap()
          The raster colormap.
 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.
 IPixelResampler getPixelResampler()
          The current raster resampler.
 IRasterStatistics getStatistics(int iBand)
          The statistics of a given band.
 void init(IRaster pRaster)
          Initializes from a raster.
 void removeStatsHistograms()
          Removes all band statistics and histograms.
 void setAttributeTableByRef(ITable ppTable)
          The raster attribute table.
 void setColormapByRef(IRasterColormap ppColormap)
          The raster colormap.
 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 setPixelResamplerByRef(IPixelResampler ppResampler)
          The current raster resampler.
 void setStatisticsByRef(int iBand, IRasterStatistics ppStats)
          The statistics of a given band.
 
Methods inherited from interface com.esri.arcgis.datasourcesraster.IRasterInfo
getBandCount, getBlockHeight, getBlockWidth, getCellSize, getExtent, getFirstPyramidLevel, getFormat, getGeodataXform, getHeight, getMaximumPyramidLevel, getNativeExtent, getNativeSpatialReference, getNoData, getOrigin, getPixelType, getSpatialReference, getWidth, isResampling, isSupportBandSelection, setBandCount, setBlockHeight, setBlockWidth, setCellSize, setExtent, setFirstPyramidLevel, setFormat, setGeodataXformByRef, setMaximumPyramidLevel, setNativeExtent, setNativeSpatialReferenceByRef, setNoData, setOriginByRef, setPixelType, setResampling, setSupportBandSelection
 

Method Detail

init

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

Product Availability

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

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

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

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLODInfos

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

Product Availability

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

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

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

Product Availability

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

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

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

Product Availability

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

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

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

Product Availability

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

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

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

Product Availability

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

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

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

Product Availability

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

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

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

Product Availability

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

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

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.

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

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

Product Availability

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

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

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.

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

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

Product Availability

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

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

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

Product Availability

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

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

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

Product Availability

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

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

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.

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.