|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IImageCooker
AIS cache reader object.
Method Summary | |
---|---|
void |
clear(IEnvelope pExtent,
ITrackCancel pTrackCancel)
Clears cache tiles with a given extent. |
void |
connect(String location,
IImageServer pImageServer)
Connects an image server object to its cache location. |
void |
getCacheDirectory(String[] pCacheDir)
Gets the cache directory/location. |
double |
getMaximumImageCellsize()
The maximum source image cellsize below which data are available. |
IName |
getServerObjectName()
The ArcGIS server object to run the image cooker. |
int |
getThreadCount()
The number of Image Cooker instances for building tile cache. |
byte[] |
getTile(int level,
int row,
int column)
Gets a tile at a given LOD, and column and row location. |
void |
putTile(int level,
int row,
int column,
byte[] ppTile)
Puts a tile at a given LOD, and column and row location. |
void |
setMaximumImageCellsize(double pMaxPS)
The maximum source image cellsize below which data are available. |
void |
setServerObjectNameByRef(IName ppName)
The ArcGIS server object to run the image cooker. |
void |
setThreadCount(int pThreadCount)
The number of Image Cooker instances for building tile cache. |
void |
update(IImageServer pImageServer,
IEnvelope pExtent,
ILongArray pLevels,
int updateMode,
ITrackCancel pTrackCancel)
Updates cache within a given extent. |
void |
updateByGeometry(IImageServer pImageServer,
IGeometry pGeometry,
ILongArray pLevels,
int updateMode,
ITrackCancel pTrackCancel)
Updates cache within an area of interest defined by a given geometry. |
Method Detail |
---|
void connect(String location, IImageServer pImageServer) throws IOException, AutomationException
location
- The location (in)pImageServer
- A reference to a com.esri.arcgis.carto.IImageServer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clear(IEnvelope pExtent, ITrackCancel pTrackCancel) throws IOException, AutomationException
pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.byte[] getTile(int level, int row, int column) throws IOException, AutomationException
level
- The level (in)row
- The row (in)column
- The column (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void putTile(int level, int row, int column, byte[] ppTile) throws IOException, AutomationException
level
- The level (in)row
- The row (in)column
- The column (in)ppTile
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getCacheDirectory(String[] pCacheDir) throws IOException, AutomationException
pCacheDir
- The pCacheDir (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void update(IImageServer pImageServer, IEnvelope pExtent, ILongArray pLevels, int updateMode, ITrackCancel pTrackCancel) throws IOException, AutomationException
pImageServer
- A reference to a com.esri.arcgis.carto.IImageServer (in)pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)pLevels
- A reference to a com.esri.arcgis.system.ILongArray (in)updateMode
- A com.esri.arcgis.carto.esriMapCacheUpdateMode constant (in)pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void updateByGeometry(IImageServer pImageServer, IGeometry pGeometry, ILongArray pLevels, int updateMode, ITrackCancel pTrackCancel) throws IOException, AutomationException
pImageServer
- A reference to a com.esri.arcgis.carto.IImageServer (in)pGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)pLevels
- A reference to a com.esri.arcgis.system.ILongArray (in)updateMode
- A com.esri.arcgis.carto.esriMapCacheUpdateMode constant (in)pTrackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getThreadCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setThreadCount(int pThreadCount) throws IOException, AutomationException
pThreadCount
- The pThreadCount (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMaximumImageCellsize() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMaximumImageCellsize(double pMaxPS) throws IOException, AutomationException
pMaxPS
- The pMaxPS (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IName getServerObjectName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setServerObjectNameByRef(IName ppName) throws IOException, AutomationException
ppName
- A reference to a com.esri.arcgis.system.IName (in)
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 |