|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPixelReader
Provides access to members that control a pixel reader.
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.
| Method Summary | |
|---|---|
int |
getBandCount()
The number of source bands. |
IPnt |
getCellSize()
The source original cell size. |
IEnvelope |
getExtent()
The source full extent. |
int |
getFirstPyramidLevel()
The first available source pyramid level. |
int |
getMaximumPyramidLevel()
The maximum available source pyramid level. |
int |
getPixelType()
The source pixel type. |
int |
getPyramidLevel()
The current source pyramid level. |
void |
getResolution(int level,
double[] pXResolution,
double[] pYResolution)
Gets X and Y resolution (cellsize) at a given level. |
void |
read(IPnt tlc,
IPixelBlock pPixelBlock)
Reads a pixel block. |
void |
setPyramidLevel(int pLevel)
The current source pyramid level. |
int |
snap(double dx,
double dy)
Snaps a given cellsize to a proper pyramid level. |
| Method Detail |
|---|
int getPixelType()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getBandCount()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnvelope getExtent()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IPnt getCellSize()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getMaximumPyramidLevel()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getFirstPyramidLevel()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getPyramidLevel()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setPyramidLevel(int pLevel)
throws IOException,
AutomationException
pLevel - The pLevel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void read(IPnt tlc,
IPixelBlock pPixelBlock)
throws IOException,
AutomationException
tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)pPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int snap(double dx,
double dy)
throws IOException,
AutomationException
dx - The dx (in)dy - The dy (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void getResolution(int level,
double[] pXResolution,
double[] pYResolution)
throws IOException,
AutomationException
level - The level (in)pXResolution - The pXResolution (out: use single element array)pYResolution - The pYResolution (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||