Interface IPixelReader

Namespace
ESRI.ArcGIS.DatasourcesRaster
Assembly
ESRI.Server.DatasourcesRaster.dll

Provides access to members that control a pixel reader.

[Guid("8A3B7C7C-4ACE-4628-8C24-F67834FA2577")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IPixelReader

Remarks

IPixelReader is a generic interface that is supported by any pixel reader, which provides pixel reading for  RasterXformer.

The concrete pixel reader used in ArcGIS is SimplePixelReader. User can create a custom pixel reader by implementing this interface.

Properties

BandCount

The number of source bands.

int BandCount { get; }

Property Value

int

CellSize

The source original cell size.

IPnt CellSize { get; }

Property Value

IPnt

Extent

The source full extent.

IEnvelope Extent { get; }

Property Value

IEnvelope

FirstPyramidLevel

The first available source pyramid level.

int FirstPyramidLevel { get; }

Property Value

int

MaximumPyramidLevel

The maximum available source pyramid level.

int MaximumPyramidLevel { get; }

Property Value

int

PixelType

The source pixel type.

rstPixelType PixelType { get; }

Property Value

rstPixelType

PyramidLevel

The current source pyramid level.

int PyramidLevel { get; set; }

Property Value

int

Methods

GetResolution(int, out double, out double)

Gets X and Y resolution (cellsize) at a given level.

void GetResolution(int Level, out double pXResolution, out double pYResolution)

Parameters

Level int
pXResolution double
pYResolution double

Read(IPnt, IPixelBlock)

Reads a pixel block.

void Read(IPnt tlc, IPixelBlock pPixelBlock)

Parameters

tlc IPnt
pPixelBlock IPixelBlock

Snap(double, double)

Snaps a given cellsize to a proper pyramid level.

int Snap(double Dx, double Dy)

Parameters

Dx double
Dy double

Returns

int