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
CellSize
The source original cell size.
IPnt CellSize { get; }
Property Value
Extent
The source full extent.
IEnvelope Extent { get; }
Property Value
FirstPyramidLevel
The first available source pyramid level.
int FirstPyramidLevel { get; }
Property Value
MaximumPyramidLevel
The maximum available source pyramid level.
int MaximumPyramidLevel { get; }
Property Value
PixelType
The source pixel type.
rstPixelType PixelType { get; }
Property Value
PyramidLevel
The current source pyramid level.
int PyramidLevel { get; set; }
Property Value
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
Read(IPnt, IPixelBlock)
Reads a pixel block.
void Read(IPnt tlc, IPixelBlock pPixelBlock)
Parameters
tlcIPntpPixelBlockIPixelBlock
Snap(double, double)
Snaps a given cellsize to a proper pyramid level.
int Snap(double Dx, double Dy)