|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.globecore.GlobeTileGenerator
public class GlobeTileGenerator
The OnDemand Globe Tile Generator coclass.
Constructor Summary | |
---|---|
GlobeTileGenerator()
Constructs a GlobeTileGenerator using ArcGIS Engine. |
|
GlobeTileGenerator(Object obj)
Construct a GlobeTileGenerator using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
deleteTiles(IGlobeServer pGlobeServer,
int layerID,
IEnvelope pExtent,
int minLOD,
int maxLOD,
ITrackCancel pCancelTracker)
Deletes all tiles from cache for a given layer within a given extent. |
boolean |
equals(Object o)
Compare this object with another |
void |
exit()
Exits the tile generator host process. |
void |
generateConfigFiles()
Generates a cache configuration file for the source layer. |
byte[] |
generateTile(int face,
int level,
int row,
int column)
Generates a tile for the source layer, and stores it into its cache file. |
void |
generateTiles(IGlobeServer pGlobeServer,
int layerID,
IEnvelope pExtent,
int minLOD,
int maxLOD,
ITrackCancel pCancelTracker)
Generate tiles in association with a GlobeServer object. |
static String |
getClsid()
getClsid. |
IGlobeDisplay |
getDisplay()
The associated globe display. |
ILayer |
getLayer()
The source layer from which to generate tiles. |
IGlobeLayerProperties |
getLayerProperties()
The globe layer properties. |
int |
getMaxTileCount()
The maximum number of tiles to be generated. |
void |
getStatusTileCount(int[] pTileCount)
number of tiles processed in the current job |
int |
hashCode()
the hashcode for this object |
void |
putTilePosition(int face,
int level,
int row,
int column)
Sets the current tile position. |
void |
queryTilePosition(int[] pFace,
int[] pLevel,
int[] pRow,
int[] pColumn)
Queries for the current tile position. |
void |
setDisplayByRef(IGlobeDisplay ppDisplay)
The associated globe display. |
void |
setLayerByRef(ILayer ppLayer)
The source layer from which to generate tiles. |
void |
setLayerPropertiesByRef(IGlobeLayerProperties ppProps)
The globe layer properties. |
void |
setMaxTileCount(int pNumTiles)
The maximum number of tiles to be generated. |
void |
updateTiles(IGlobeServer pGlobeServer,
int layerID,
IEnvelope pExtent,
int minLOD,
int maxLOD,
int updateMode,
ITrackCancel pCancelTracker)
Updates cache for a given layer within a given extent. |
void |
updateTilesByGeometry(IGlobeServer pGlobeServer,
int layerID,
IGeometry pGeometry,
int minLOD,
int maxLOD,
int updateMode,
ITrackCancel pCancelTracker)
Updates cache for a given layer within a given extent. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GlobeTileGenerator() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GlobeTileGenerator(Object obj) throws IOException
obj
to GlobeTileGenerator
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
GlobeTileGenerator theGlobeTileGenerator = (GlobeTileGenerator) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void updateTilesByGeometry(IGlobeServer pGlobeServer, int layerID, IGeometry pGeometry, int minLOD, int maxLOD, int updateMode, ITrackCancel pCancelTracker) throws IOException, AutomationException
updateTilesByGeometry
in interface IGlobeTileGenerator2
pGlobeServer
- A reference to a com.esri.arcgis.globecore.IGlobeServer (in)layerID
- The layerID (in)pGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)minLOD
- The minLOD (in)maxLOD
- The maxLOD (in)updateMode
- A com.esri.arcgis.globecore.esriGlobeCacheUpdateMode constant (in)pCancelTracker
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getStatusTileCount(int[] pTileCount) throws IOException, AutomationException
getStatusTileCount
in interface IGlobeTileGenerator2
pTileCount
- The pTileCount (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer() throws IOException, AutomationException
getLayer
in interface IGlobeTileGenerator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayerByRef(ILayer ppLayer) throws IOException, AutomationException
setLayerByRef
in interface IGlobeTileGenerator
ppLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGlobeLayerProperties getLayerProperties() throws IOException, AutomationException
getLayerProperties
in interface IGlobeTileGenerator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayerPropertiesByRef(IGlobeLayerProperties ppProps) throws IOException, AutomationException
setLayerPropertiesByRef
in interface IGlobeTileGenerator
ppProps
- A reference to a com.esri.arcgis.globecore.IGlobeLayerProperties (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGlobeDisplay getDisplay() throws IOException, AutomationException
getDisplay
in interface IGlobeTileGenerator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplayByRef(IGlobeDisplay ppDisplay) throws IOException, AutomationException
setDisplayByRef
in interface IGlobeTileGenerator
ppDisplay
- A reference to a com.esri.arcgis.globecore.IGlobeDisplay (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void generateConfigFiles() throws IOException, AutomationException
generateConfigFiles
in interface IGlobeTileGenerator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] generateTile(int face, int level, int row, int column) throws IOException, AutomationException
generateTile
in interface IGlobeTileGenerator
face
- The face (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.public void generateTiles(IGlobeServer pGlobeServer, int layerID, IEnvelope pExtent, int minLOD, int maxLOD, ITrackCancel pCancelTracker) throws IOException, AutomationException
generateTiles
in interface IGlobeTileGenerator
pGlobeServer
- A reference to a com.esri.arcgis.globecore.IGlobeServer (in)layerID
- The layerID (in)pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)minLOD
- The minLOD (in)maxLOD
- The maxLOD (in)pCancelTracker
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryTilePosition(int[] pFace, int[] pLevel, int[] pRow, int[] pColumn) throws IOException, AutomationException
queryTilePosition
in interface IGlobeTileGenerator
pFace
- The pFace (out: use single element array)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.public void putTilePosition(int face, int level, int row, int column) throws IOException, AutomationException
putTilePosition
in interface IGlobeTileGenerator
face
- The face (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.public int getMaxTileCount() throws IOException, AutomationException
getMaxTileCount
in interface IGlobeTileGenerator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaxTileCount(int pNumTiles) throws IOException, AutomationException
setMaxTileCount
in interface IGlobeTileGenerator
pNumTiles
- The pNumTiles (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void exit() throws IOException, AutomationException
exit
in interface IGlobeTileGenerator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateTiles(IGlobeServer pGlobeServer, int layerID, IEnvelope pExtent, int minLOD, int maxLOD, int updateMode, ITrackCancel pCancelTracker) throws IOException, AutomationException
updateTiles
in interface IGlobeTileGenerator
pGlobeServer
- A reference to a com.esri.arcgis.globecore.IGlobeServer (in)layerID
- The layerID (in)pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)minLOD
- The minLOD (in)maxLOD
- The maxLOD (in)updateMode
- A com.esri.arcgis.globecore.esriGlobeCacheUpdateMode constant (in)pCancelTracker
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteTiles(IGlobeServer pGlobeServer, int layerID, IEnvelope pExtent, int minLOD, int maxLOD, ITrackCancel pCancelTracker) throws IOException, AutomationException
deleteTiles
in interface IGlobeTileGenerator
pGlobeServer
- A reference to a com.esri.arcgis.globecore.IGlobeServer (in)layerID
- The layerID (in)pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)minLOD
- The minLOD (in)maxLOD
- The maxLOD (in)pCancelTracker
- A reference to a com.esri.arcgis.system.ITrackCancel (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 |