Class PixelBlockCursorClass

Namespace
ESRI.ArcGIS.DatasourcesRaster
Assembly
ESRI.Server.DatasourcesRaster.dll
[Guid("A0DC85B9-FB40-4839-B4FB-AA0EA4FB4229")]
[ClassInterface(ClassInterfaceType.None)]
public class PixelBlockCursorClass : PixelBlockCursor, IPixelBlockCursor
Inheritance
PixelBlockCursorClass
Implements
Inherited Members

Constructors

PixelBlockCursorClass()

public PixelBlockCursorClass()

Explicit Interface Implementations

GetBlockSize(ref int, ref int)

Gets the cursor block size.

virtual void GetBlockSize(ref int pBlockSizeX, ref int pBlockSizeY)

Parameters

pBlockSizeX int
pBlockSizeY int

InitByRaster(IRaster)

Initializes the cursor by the raster interface.

virtual void InitByRaster(IRaster pRaster)

Parameters

pRaster IRaster

InitByRawPixels(IRawPixels, int, int)

Initializes the cursor by the raw pixel interface.

virtual void InitByRawPixels(IRawPixels pRowPixels, int BlockSizeX, int BlockSizeY)

Parameters

pRowPixels IRawPixels
BlockSizeX int
BlockSizeY int

NextBlock(ref int, ref int, ref int, ref int)

Obtains the next pixel block from the cursor.

virtual IPixelBlock NextBlock(ref int pLeft, ref int pTop, ref int pSizeX, ref int pSizeY)

Parameters

pLeft int
pTop int
pSizeX int
pSizeY int

Returns

IPixelBlock

ScanMode

The cursor scan mode: Line = 0, LineSerpent = 1, Serpent2 = 3, alaGIF = 4.

virtual int ScanMode { set; }

Returns

int

Remarks

The supported 4 scan modes are Line, LineSerpent, Serpent, and alaGIF, with value 0,1,3, and 4 respectively. The default is line mode.

If you wish to change the scan mode, this property must be set immedietly after initializing the pixel block (calling InitByRawPixels or InitByRaster).

UpdateBlockSize(int, int)

Updates the cursor block size.

virtual void UpdateBlockSize(int BlockSizeX, int BlockSizeY)

Parameters

BlockSizeX int
BlockSizeY int

Remarks

This should be used only when reading a PixelBlock from a Raster.