com.esri.arcgis.datasourcesraster
Interface IPixelFilter2

All Superinterfaces:
Serializable
All Known Implementing Classes:
ClipFilter, PansharpeningFilter, PixelFilterCollection

public interface IPixelFilter2
extends Serializable

Provides access to additional members that control a pixel filter.

Remarks

IPixelFilter2 is an optional interface for implementing a custom pixel filter. It will be called, if implemented, whenever the raster properties, including number of rows and columns, and extent, has changed, and right before a pixel block is to be filtered, with more information. A custom pixel filter can use the additional information to, for example, get the cellsize, and pre-fetch a related pixel block, and etc.

Product Availability

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


Method Summary
 void init(int nCols, int nRows, IEnvelope pExtent)
          Initializes this filter for a given area of interest.
 void initBlock(IPnt pTopLeft, int nBlkCols, int nBlkRows)
          Initialize this filter for a given pixel block.
 

Method Detail

init

void init(int nCols,
          int nRows,
          IEnvelope pExtent)
          throws IOException,
                 AutomationException
Initializes this filter for a given area of interest.

Product Availability

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

Parameters:
nCols - The nCols (in)
nRows - The nRows (in)
pExtent - 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.

initBlock

void initBlock(IPnt pTopLeft,
               int nBlkCols,
               int nBlkRows)
               throws IOException,
                      AutomationException
Initialize this filter for a given pixel block.

Product Availability

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

Parameters:
pTopLeft - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
nBlkCols - The nBlkCols (in)
nBlkRows - The nBlkRows (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.