|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapCooker
Provides access to members that controls a map cache generator.
Method Summary | |
---|---|
void |
addCachedLayers(IMap pMap)
Adds all cached layers in the map cache. |
void |
addLayer(String name,
ILayer pLayer)
Adds a layer to the map cache. |
void |
clear(ILayer pLayer,
IEnvelope pExtent)
Clears cache for a given layer within a given extent. |
void |
clearAll()
Clears cache for all layers. |
void |
connect(String location,
String name,
IMap pMap)
Connects to a given map and its cache. |
void |
delete()
Deletes map service cache directory. |
void |
draw(ILayer pLayer,
IDisplay pDisplay,
ITrackCancel pTrackCancel)
Draws a given layer to the specified display. |
void |
exit()
Exits the map cache generator host process. |
void |
generate(IMap pMap,
ILayer pLayer,
IDisplay pDisplay,
ITrackCancel pTrackCancel)
Fully generates cache for a given layer. |
String |
getCacheDirectory(ILayer pLayer)
Gets cache directory for a given layer. |
IEnvelope |
getExtent()
The map cache extent. |
String |
getFormat()
The tile cache format. |
int |
getMaxTileCount()
The maximum number of map tiles to be generated. |
int |
getNumLevels()
The number of map cache levels. |
String |
getPath()
The map cache path. |
byte[] |
getTile(ILayer pLayer,
int level,
int row,
int column)
Gets a tile for a given tile location from a given layer. |
ITileCacheInfo |
getTileCacheInfo()
The tile cache info. |
boolean |
hasCache()
Indicates if there is any cache. |
boolean |
hasLayerCache(ILayer pLayer)
Indicates if there is a cache for a given layer. |
boolean |
isAntialiasing()
Indicates if antialiasing should be used. |
void |
putTile(ILayer pLayer,
int level,
int row,
int column,
byte[] ppTile)
Puts a tile for a given tile location for a given layer. |
void |
putTilePosition(int level,
int row,
int column)
Sets the current map tile position. |
void |
queryTilePosition(int[] pLevel,
int[] pRow,
int[] pColumn)
Queries for the current map tile position. |
void |
setAntialiasing(boolean pAntialiasing)
Indicates if antialiasing should be used. |
void |
setDefaultLODInfos(int numLevels)
Sets default LOD Info for a given number of levels. |
void |
setExtent(IEnvelope ppExtent)
The map cache extent. |
void |
setFormat(String pFormat)
The tile cache format. |
void |
setMaxTileCount(int pNumTiles)
The maximum number of map tiles to be generated. |
void |
setPath(String pPath)
The map cache path. |
void |
setTileCacheInfoByRef(ITileCacheInfo ppCacheInfo)
The tile cache info. |
void |
snap(IDisplay pDisplay,
IEnvelope pExtent)
Snaps a view extent to one of map cache levels. |
void |
update(IMap pMap,
ILayer pLayer,
IDisplay pDisplay,
IEnvelope pExtent,
ILongArray pLevels,
int updateMode,
ITrackCancel pTrackCancel)
Updates cache for a given layer within a given extent. |
Method Detail |
---|
String getPath() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPath(String pPath) throws IOException, AutomationException
pPath
- The pPath (in)
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.void setExtent(IEnvelope ppExtent) throws IOException, AutomationException
ppExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getFormat() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFormat(String pFormat) throws IOException, AutomationException
pFormat
- The pFormat (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAntialiasing() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAntialiasing(boolean pAntialiasing) throws IOException, AutomationException
pAntialiasing
- The pAntialiasing (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITileCacheInfo getTileCacheInfo() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTileCacheInfoByRef(ITileCacheInfo ppCacheInfo) throws IOException, AutomationException
ppCacheInfo
- A reference to a com.esri.arcgis.carto.ITileCacheInfo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getNumLevels() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void connect(String location, String name, IMap pMap) throws IOException, AutomationException
location
- The location (in)name
- The name (in)pMap
- A reference to a com.esri.arcgis.carto.IMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addCachedLayers(IMap pMap) throws IOException, AutomationException
pMap
- A reference to a com.esri.arcgis.carto.IMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addLayer(String name, ILayer pLayer) throws IOException, AutomationException
name
- The name (in)pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clear(ILayer pLayer, IEnvelope pExtent) throws IOException, AutomationException
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearAll() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void snap(IDisplay pDisplay, IEnvelope pExtent) throws IOException, AutomationException
pDisplay
- A reference to a com.esri.arcgis.display.IDisplay (in)pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void draw(ILayer pLayer, IDisplay pDisplay, ITrackCancel pTrackCancel) throws IOException, AutomationException
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)pDisplay
- A reference to a com.esri.arcgis.display.IDisplay (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 setDefaultLODInfos(int numLevels) throws IOException, AutomationException
numLevels
- The numLevels (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void generate(IMap pMap, ILayer pLayer, IDisplay pDisplay, ITrackCancel pTrackCancel) throws IOException, AutomationException
pMap
- A reference to a com.esri.arcgis.carto.IMap (in)pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)pDisplay
- A reference to a com.esri.arcgis.display.IDisplay (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.boolean hasCache() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean hasLayerCache(ILayer pLayer) throws IOException, AutomationException
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.byte[] getTile(ILayer pLayer, int level, int row, int column) throws IOException, AutomationException
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)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(ILayer pLayer, int level, int row, int column, byte[] ppTile) throws IOException, AutomationException
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)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.String getCacheDirectory(ILayer pLayer) throws IOException, AutomationException
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryTilePosition(int[] pLevel, int[] pRow, int[] pColumn) throws IOException, AutomationException
pLevel
- The pLevel (out: use single element array)pRow
- The pRow (out: use single element array)pColumn
- The pColumn (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void putTilePosition(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.int getMaxTileCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMaxTileCount(int pNumTiles) throws IOException, AutomationException
pNumTiles
- The pNumTiles (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void exit() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void update(IMap pMap, ILayer pLayer, IDisplay pDisplay, IEnvelope pExtent, ILongArray pLevels, int updateMode, ITrackCancel pTrackCancel) throws IOException, AutomationException
pMap
- A reference to a com.esri.arcgis.carto.IMap (in)pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)pDisplay
- A reference to a com.esri.arcgis.display.IDisplay (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 delete() throws IOException, AutomationException
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 |