com.esri.arcgis.datasourcesraster
Interface IPixelBlock4

All Superinterfaces:
Serializable
All Known Implementing Classes:
PixelBlock

public interface IPixelBlock4
extends Serializable

Provides access to members that control a PixelBlock.

Product Availability

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


Method Summary
 void clear()
          Clears the pixel block.
 void create(int planes, int nCols, int nRows, int pixelType)
          Initializes the pixel block.
 void createFromPixelBlock(IPixelBlock pBlock, Object noData)
          Initializes the pixel block using another pixel block.
 byte[] exportToBytes()
          Exports to a byte array.
 boolean hasData()
          Checks if a PixelBlock contains any data pixels.
 boolean hasNoData()
          Checks if a PixelBlock contains NoData.
 

Method Detail

create

void create(int planes,
            int nCols,
            int nRows,
            int pixelType)
            throws IOException,
                   AutomationException
Initializes the pixel block.

Product Availability

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

Parameters:
planes - The planes (in)
nCols - The nCols (in)
nRows - The nRows (in)
pixelType - A com.esri.arcgis.geodatabase.rstPixelType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createFromPixelBlock

void createFromPixelBlock(IPixelBlock pBlock,
                          Object noData)
                          throws IOException,
                                 AutomationException
Initializes the pixel block using another pixel block.

Product Availability

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

Parameters:
pBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
noData - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

void clear()
           throws IOException,
                  AutomationException
Clears the pixel block.

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.

exportToBytes

byte[] exportToBytes()
                     throws IOException,
                            AutomationException
Exports to a byte array.

Product Availability

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

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

hasNoData

boolean hasNoData()
                  throws IOException,
                         AutomationException
Checks if a PixelBlock contains NoData.

Product Availability

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

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

hasData

boolean hasData()
                throws IOException,
                       AutomationException
Checks if a PixelBlock contains any data pixels.

Product Availability

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

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