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
InitByRaster(IRaster)
Initializes the cursor by the raster interface.
virtual void InitByRaster(IRaster pRaster)
Parameters
pRasterIRaster
InitByRawPixels(IRawPixels, int, int)
Initializes the cursor by the raw pixel interface.
virtual void InitByRawPixels(IRawPixels pRowPixels, int BlockSizeX, int BlockSizeY)
Parameters
pRowPixelsIRawPixelsBlockSizeXintBlockSizeYint
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
Returns
ScanMode
The cursor scan mode: Line = 0, LineSerpent = 1, Serpent2 = 3, alaGIF = 4.
virtual int ScanMode { set; }
Returns
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
Remarks
This should be used only when reading a PixelBlock from a Raster.