|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.globecore.GlobeHelper
public class GlobeHelper
A class to serve as a utility helper for common functions.
The GlobeHelper is a utility class designed to help developers to easily access and set some common used functionalities with globe while working in ArcGIS Engine Controls and applications.
Use the GlobeHelper to easily add or find a globe layers properties given the layer, set a group layers cache settings via SetGroupLayerCache, or manipulate a globe layers cache.
IGlobeHelperPub has methods that will additionally allow you to easily Transfer 3D Extrusion properties to Globe Extrusion properties
Constructor Summary | |
---|---|
GlobeHelper()
Constructs a GlobeHelper using ArcGIS Engine. |
|
GlobeHelper(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GlobeHelper theGlobeHelper = (GlobeHelper) obj; |
Method Summary | |
---|---|
void |
addGlobeProperties(ILayer pLayer,
IGlobeDisplay pGlobeDisplay,
int layerType,
boolean bIsChildLayer)
Process a new layer. |
void |
adjustGCS360(ILayer pLayer)
Adjusts a layer within GCS (0,360) to (-180,180). |
void |
createAllCacheSubDirectoriesInPath(String fullPath)
Creates All Cache Directories in path |
void |
deleteAllowedLayerCachesInGlobeCacheDirectory(String globeCacheFullPath)
Delete Allowed Layer Caches in Globe Directory. |
void |
deleteLayerCacheDirectory(String layerCacheFullPath)
Delete Layer Cache Directory. |
boolean |
equals(Object o)
Compare this object with another |
void |
findGlobeLayerProperties(ILayer pLayer,
IGlobeLayerProperties[] ppGlobeLayerProperties)
Returns GlobeLayerProperties of a layer |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
setGroupLayerCache(IGroupLayer pGroupLayer,
boolean bConsolidate,
IGlobeDisplay pGlobeDisplay,
boolean bMapConsolidated,
boolean bStrictOnDemand,
String groupCacheName,
IGlobeLayerProperties[] parentProps)
Enables and Sets Group Layer's cache properties. |
void |
syncExtrusionProperties(ILayer pLayer)
Transfers 3D Extrusion properties to Globe Extrusion properties. |
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 GlobeHelper() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GlobeHelper(Object obj) throws IOException
GlobeHelper theGlobeHelper = (GlobeHelper) obj;
obj
to GlobeHelper
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addGlobeProperties(ILayer pLayer, IGlobeDisplay pGlobeDisplay, int layerType, boolean bIsChildLayer) throws IOException, AutomationException
addGlobeProperties
in interface IGlobeHelperPub
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)pGlobeDisplay
- A reference to a com.esri.arcgis.globecore.IGlobeDisplay (in)layerType
- A com.esri.arcgis.globecore.esriGlobeLayerType constant (in)bIsChildLayer
- The bIsChildLayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findGlobeLayerProperties(ILayer pLayer, IGlobeLayerProperties[] ppGlobeLayerProperties) throws IOException, AutomationException
findGlobeLayerProperties
in interface IGlobeHelperPub
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)ppGlobeLayerProperties
- A reference to a com.esri.arcgis.globecore.IGlobeLayerProperties (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createAllCacheSubDirectoriesInPath(String fullPath) throws IOException, AutomationException
createAllCacheSubDirectoriesInPath
in interface IGlobeHelperPub
fullPath
- The fullPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteLayerCacheDirectory(String layerCacheFullPath) throws IOException, AutomationException
deleteLayerCacheDirectory
in interface IGlobeHelperPub
layerCacheFullPath
- The layerCacheFullPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteAllowedLayerCachesInGlobeCacheDirectory(String globeCacheFullPath) throws IOException, AutomationException
deleteAllowedLayerCachesInGlobeCacheDirectory
in interface IGlobeHelperPub
globeCacheFullPath
- The globeCacheFullPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void adjustGCS360(ILayer pLayer) throws IOException, AutomationException
adjustGCS360
in interface IGlobeHelperPub
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.public void syncExtrusionProperties(ILayer pLayer) throws IOException, AutomationException
syncExtrusionProperties
in interface IGlobeHelperPub
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.public void setGroupLayerCache(IGroupLayer pGroupLayer, boolean bConsolidate, IGlobeDisplay pGlobeDisplay, boolean bMapConsolidated, boolean bStrictOnDemand, String groupCacheName, IGlobeLayerProperties[] parentProps) throws IOException, AutomationException
setGroupLayerCache
in interface IGlobeHelperPub
pGroupLayer
- A reference to a com.esri.arcgis.carto.IGroupLayer (in)bConsolidate
- The bConsolidate (in)pGlobeDisplay
- A reference to a com.esri.arcgis.globecore.IGlobeDisplay (in)bMapConsolidated
- The bMapConsolidated (in)bStrictOnDemand
- The bStrictOnDemand (in)groupCacheName
- The groupCacheName (in)parentProps
- A reference to a com.esri.arcgis.globecore.IGlobeLayerProperties (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 |