com.esri.arcgis.geodatabase
Interface IRasterDataset3

All Superinterfaces:
IRasterDataset, IRasterDataset2, Serializable
All Known Implementing Classes:
FunctionRasterDataset, RasterDataset

public interface IRasterDataset3
extends IRasterDataset2, Serializable

Provides access to members that control a RasterDataset.

Product Availability

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


Method Summary
 int getBlockHeight()
          The native block height.
 int getBlockWidth()
          The native block width.
 int getFirstPyramidLevel()
          The first available pyramid level.
 IRasterLODInfos getLODInfos()
          The custom LOD infos.
 int getMaximumPyramidLevel()
          The maximum available pyramid level.
 boolean isCanWrite()
          Indicates if this RasterDataset is writable.
 void read(IPnt tlc, IRaster raster, IPixelBlock pixelBlock)
          Reads a block of pixels starting from the top left corner.
 void readPyramid(IPnt tlc, int pyramidLevel, IRaster raster, IPixelBlock pixelBlock)
          Reads a block of pixels at a given pyramid level.
 void refresh()
          Refreshes opened RasterDataset.
 void write(IPnt tlc, IRaster raster, int mode, IPixelBlock pixelBlock)
          Writes a block of pixels starting from the top left corner.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IRasterDataset2
createFullRaster, createRaster, isEmpty
 
Methods inherited from interface com.esri.arcgis.geodatabase.IRasterDataset
canCopy, copy, createDefaultRaster, getCompleteName, getCompressionType, getFormat, getSensorType, precalculateStats
 

Method Detail

getBlockWidth

int getBlockWidth()
                  throws IOException,
                         AutomationException
The native block width.

Product Availability

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

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

getBlockHeight

int getBlockHeight()
                   throws IOException,
                          AutomationException
The native block height.

Product Availability

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

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

getMaximumPyramidLevel

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

Product Availability

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

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

getFirstPyramidLevel

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

Product Availability

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

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

getLODInfos

IRasterLODInfos getLODInfos()
                            throws IOException,
                                   AutomationException
The custom LOD infos.

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.

isCanWrite

boolean isCanWrite()
                   throws IOException,
                          AutomationException
Indicates if this RasterDataset is writable.

Product Availability

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

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

read

void read(IPnt tlc,
          IRaster raster,
          IPixelBlock pixelBlock)
          throws IOException,
                 AutomationException
Reads a block of pixels starting from the top left corner.

Product Availability

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

Parameters:
tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
pixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

write

void write(IPnt tlc,
           IRaster raster,
           int mode,
           IPixelBlock pixelBlock)
           throws IOException,
                  AutomationException
Writes a block of pixels starting from the top left corner.

Product Availability

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

Parameters:
tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
mode - A com.esri.arcgis.geodatabase.esriRasterWriteMode constant (in)
pixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

void refresh()
             throws IOException,
                    AutomationException
Refreshes opened RasterDataset.

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.

readPyramid

void readPyramid(IPnt tlc,
                 int pyramidLevel,
                 IRaster raster,
                 IPixelBlock pixelBlock)
                 throws IOException,
                        AutomationException
Reads a block of pixels at a given pyramid level.

Product Availability

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

Parameters:
tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
pyramidLevel - The pyramidLevel (in)
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
pixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.