com.esri.arcgis.datasourcesraster
Interface IRawBlocks

All Superinterfaces:
Serializable
All Known Implementing Classes:
IRawBlocksProxy, Raster, RasterBand, RasterDataset

public interface IRawBlocks
extends Serializable

Provides access to members that control raw pixel block access.

Product Availability

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


Method Summary
 IPixelBlock createPixelBlock()
          Create a compatible pixel block.
 void flush()
          Flushes buffered data.
 IRasterInfo getRasterInfo()
          The raster information.
 void readBlock(int tx, int ty, int level, IPixelBlock pPixelBlock)
          Reads a raw pixel block.
 void writeBlock(int tx, int ty, int level, IPixelBlock pPixelBlock)
          Writes a raw pixel block.
 

Method Detail

getRasterInfo

IRasterInfo getRasterInfo()
                          throws IOException,
                                 AutomationException
The raster information.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createPixelBlock

IPixelBlock createPixelBlock()
                             throws IOException,
                                    AutomationException
Create a compatible pixel block.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geodatabase.IPixelBlock
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readBlock

void readBlock(int tx,
               int ty,
               int level,
               IPixelBlock pPixelBlock)
               throws IOException,
                      AutomationException
Reads a raw pixel block.

Product Availability

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

Parameters:
tx - The tx (in)
ty - The ty (in)
level - The level (in)
pPixelBlock - 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.

writeBlock

void writeBlock(int tx,
                int ty,
                int level,
                IPixelBlock pPixelBlock)
                throws IOException,
                       AutomationException
Writes a raw pixel block.

Product Availability

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

Parameters:
tx - The tx (in)
ty - The ty (in)
level - The level (in)
pPixelBlock - 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.

flush

void flush()
           throws IOException,
                  AutomationException
Flushes buffered data.

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.