com.esri.arcgis.globecore
Class GlobeTileGenerator

java.lang.Object
  extended by com.esri.arcgis.globecore.GlobeTileGenerator
All Implemented Interfaces:
IGlobeTileGenerator, IGlobeTileGenerator3, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GlobeTileGenerator
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGlobeTileGenerator3

COM Class 'GlobeTileGenerator'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGlobeCore.olb'

Description 'The OnDemand Globe Tile Generator coclass.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeTileGenerator3
IID, IIDf8dc7b75_4a2e_49d5_88c9_e7c1bd38a8d4, xxDummy
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeTileGenerator
IIDe2318a63_2434_49ae_8535_985948cdeb28
 
Constructor Summary
GlobeTileGenerator()
          Constructs a GlobeTileGenerator using ArcGIS Engine.
GlobeTileGenerator(java.lang.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(java.lang.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 java.lang.String getClsid()
          getClsid.
 void getCurCacheWriter(int ppCacheWriter)
          Get the current cache Writer
 IGlobeDisplay getDisplay()
          The associated globe display.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 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 release()
          Release a GlobeTileGenerator.
 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.
 java.lang.String updateSceneNodes(IGlobeServer pGlobeServer, int layerID, IEnvelope pExtent, int minLOD, int maxLOD, int updateMode, ITrackCancel pCancelTracker, java.lang.String fsLayerID)
          Updates cache for a given layer within a given extent.
 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
 

Constructor Detail

GlobeTileGenerator

public GlobeTileGenerator()
                   throws java.io.IOException,
                          java.net.UnknownHostException
Constructs a GlobeTileGenerator using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GlobeTileGenerator

public GlobeTileGenerator(java.lang.Object obj)
                   throws java.io.IOException
Construct a GlobeTileGenerator using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GlobeTileGenerator.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems GlobeTileGenerator theGlobeTileGenerator = (GlobeTileGenerator) obj;
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GlobeTileGenerator.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

updateTilesByGeometry

public void updateTilesByGeometry(IGlobeServer pGlobeServer,
                                  int layerID,
                                  IGeometry pGeometry,
                                  int minLOD,
                                  int maxLOD,
                                  int updateMode,
                                  ITrackCancel pCancelTracker)
                           throws java.io.IOException,
                                  AutomationException
Updates cache for a given layer within a given extent.

Specified by:
updateTilesByGeometry in interface IGlobeTileGenerator3
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatusTileCount

public void getStatusTileCount(int[] pTileCount)
                        throws java.io.IOException,
                               AutomationException
number of tiles processed in the current job

Specified by:
getStatusTileCount in interface IGlobeTileGenerator3
Parameters:
pTileCount - The pTileCount (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateSceneNodes

public java.lang.String updateSceneNodes(IGlobeServer pGlobeServer,
                                         int layerID,
                                         IEnvelope pExtent,
                                         int minLOD,
                                         int maxLOD,
                                         int updateMode,
                                         ITrackCancel pCancelTracker,
                                         java.lang.String fsLayerID)
                                  throws java.io.IOException,
                                         AutomationException
Updates cache for a given layer within a given extent.

Specified by:
updateSceneNodes in interface IGlobeTileGenerator3
Parameters:
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)
fsLayerID - The fsLayerID (in)
Returns:
The pCacheID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCurCacheWriter

public void getCurCacheWriter(int ppCacheWriter)
                       throws java.io.IOException,
                              AutomationException
Get the current cache Writer

Specified by:
getCurCacheWriter in interface IGlobeTileGenerator3
Parameters:
ppCacheWriter - A COM void* (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayer

public ILayer getLayer()
                throws java.io.IOException,
                       AutomationException
The source layer from which to generate tiles.

Specified by:
getLayer in interface IGlobeTileGenerator
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerByRef

public void setLayerByRef(ILayer ppLayer)
                   throws java.io.IOException,
                          AutomationException
The source layer from which to generate tiles.

Specified by:
setLayerByRef in interface IGlobeTileGenerator
Parameters:
ppLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerProperties

public IGlobeLayerProperties getLayerProperties()
                                         throws java.io.IOException,
                                                AutomationException
The globe layer properties.

Specified by:
getLayerProperties in interface IGlobeTileGenerator
Returns:
A reference to a com.esri.arcgis.globecore.IGlobeLayerProperties
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerPropertiesByRef

public void setLayerPropertiesByRef(IGlobeLayerProperties ppProps)
                             throws java.io.IOException,
                                    AutomationException
The globe layer properties.

Specified by:
setLayerPropertiesByRef in interface IGlobeTileGenerator
Parameters:
ppProps - A reference to a com.esri.arcgis.globecore.IGlobeLayerProperties (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplay

public IGlobeDisplay getDisplay()
                         throws java.io.IOException,
                                AutomationException
The associated globe display.

Specified by:
getDisplay in interface IGlobeTileGenerator
Returns:
A reference to a com.esri.arcgis.globecore.IGlobeDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDisplayByRef

public void setDisplayByRef(IGlobeDisplay ppDisplay)
                     throws java.io.IOException,
                            AutomationException
The associated globe display.

Specified by:
setDisplayByRef in interface IGlobeTileGenerator
Parameters:
ppDisplay - A reference to a com.esri.arcgis.globecore.IGlobeDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateConfigFiles

public void generateConfigFiles()
                         throws java.io.IOException,
                                AutomationException
Generates a cache configuration file for the source layer.

Specified by:
generateConfigFiles in interface IGlobeTileGenerator
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateTile

public byte[] generateTile(int face,
                           int level,
                           int row,
                           int column)
                    throws java.io.IOException,
                           AutomationException
Generates a tile for the source layer, and stores it into its cache file.

Specified by:
generateTile in interface IGlobeTileGenerator
Parameters:
face - The face (in)
level - The level (in)
row - The row (in)
column - The column (in)
Returns:
An unsigned byte
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateTiles

public void generateTiles(IGlobeServer pGlobeServer,
                          int layerID,
                          IEnvelope pExtent,
                          int minLOD,
                          int maxLOD,
                          ITrackCancel pCancelTracker)
                   throws java.io.IOException,
                          AutomationException
Generate tiles in association with a GlobeServer object.

Specified by:
generateTiles in interface IGlobeTileGenerator
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTilePosition

public void queryTilePosition(int[] pFace,
                              int[] pLevel,
                              int[] pRow,
                              int[] pColumn)
                       throws java.io.IOException,
                              AutomationException
Queries for the current tile position.

Specified by:
queryTilePosition in interface IGlobeTileGenerator
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putTilePosition

public void putTilePosition(int face,
                            int level,
                            int row,
                            int column)
                     throws java.io.IOException,
                            AutomationException
Sets the current tile position.

Specified by:
putTilePosition in interface IGlobeTileGenerator
Parameters:
face - The face (in)
level - The level (in)
row - The row (in)
column - The column (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxTileCount

public int getMaxTileCount()
                    throws java.io.IOException,
                           AutomationException
The maximum number of tiles to be generated.

Specified by:
getMaxTileCount in interface IGlobeTileGenerator
Returns:
The pNumTiles
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxTileCount

public void setMaxTileCount(int pNumTiles)
                     throws java.io.IOException,
                            AutomationException
The maximum number of tiles to be generated.

Specified by:
setMaxTileCount in interface IGlobeTileGenerator
Parameters:
pNumTiles - The pNumTiles (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exit

public void exit()
          throws java.io.IOException,
                 AutomationException
Exits the tile generator host process.

Specified by:
exit in interface IGlobeTileGenerator
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateTiles

public void updateTiles(IGlobeServer pGlobeServer,
                        int layerID,
                        IEnvelope pExtent,
                        int minLOD,
                        int maxLOD,
                        int updateMode,
                        ITrackCancel pCancelTracker)
                 throws java.io.IOException,
                        AutomationException
Updates cache for a given layer within a given extent.

Specified by:
updateTiles in interface IGlobeTileGenerator
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteTiles

public void deleteTiles(IGlobeServer pGlobeServer,
                        int layerID,
                        IEnvelope pExtent,
                        int minLOD,
                        int maxLOD,
                        ITrackCancel pCancelTracker)
                 throws java.io.IOException,
                        AutomationException
Deletes all tiles from cache for a given layer within a given extent.

Specified by:
deleteTiles in interface IGlobeTileGenerator
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.