Provides access to members that control a pixel reader.
Members
Name | Description | |
---|---|---|
BandCount | The number of source bands. | |
CellSize | The source original cell size. | |
Extent | The source full extent. | |
FirstPyramidLevel | The first available source pyramid level. | |
GetResolution | Gets X and Y resolution (cellsize) at a given level. | |
MaximumPyramidLevel | The maximum available source pyramid level. | |
PixelType | The source pixel type. | |
PyramidLevel | The current source pyramid level. | |
Read | Reads a pixel block. | |
Snap | Snaps a given cellsize to a proper pyramid level. |
IPixelReader.BandCount Property
The number of source bands.
Public ReadOnly Property BandCount As Integer
public int BandCount {get;}
IPixelReader.CellSize Property
The source original cell size.
Public ReadOnly Property CellSize As IPnt
public IPnt CellSize {get;}
IPixelReader.Extent Property
The source full extent.
Public ReadOnly Property Extent As IEnvelope
public IEnvelope Extent {get;}
IPixelReader.FirstPyramidLevel Property
The first available source pyramid level.
Public ReadOnly Property FirstPyramidLevel As Integer
public int FirstPyramidLevel {get;}
IPixelReader.GetResolution Method
Gets X and Y resolution (cellsize) at a given level.
Public Sub GetResolution ( _
ByVal Level As Integer, _
ByRef pXResolution As Double, _
ByRef pYResolution As Double _
)
public void GetResolution (
int Level,
ref double pXResolution,
ref double pYResolution
);
IPixelReader.MaximumPyramidLevel Property
The maximum available source pyramid level.
Public ReadOnly Property MaximumPyramidLevel As Integer
public int MaximumPyramidLevel {get;}
IPixelReader.PixelType Property
The source pixel type.
Public ReadOnly Property PixelType As rstPixelType
public rstPixelType PixelType {get;}
IPixelReader.PyramidLevel Property
The current source pyramid level.
Public Property PyramidLevel As Integer
public int PyramidLevel {get; set;}
IPixelReader.Read Method
Reads a pixel block.
Public Sub Read ( _
ByVal tlc As IPnt, _
ByVal pPixelBlock As IPixelBlock _
)
public void Read (
IPnt tlc,
IPixelBlock pPixelBlock
);
IPixelReader.Snap Method
Snaps a given cellsize to a proper pyramid level.
Public Function Snap ( _
ByVal Dx As Double, _
ByVal Dy As Double _
) As Integer
public int Snap (
double Dx,
double Dy
);
Classes that implement IPixelReader
Classes | Description |
---|---|
SimplePixelReader | A simple pixel resampler class. |
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.