com.esri.arcgis.globecore
Class ICustomGlobeLayerProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.globecore.ICustomGlobeLayerProxy
All Implemented Interfaces:
ICustomGlobeLayer, Externalizable, Serializable

public class ICustomGlobeLayerProxy
extends com.esri.arcgis.interop.Dispatch
implements ICustomGlobeLayer, Serializable

Provides access to members that define custom globe layers.

Description

There are 3 types of custom layers in Globe.
GlobeCustomLayers::CustomLayerByTile, GlobeCustomLayers::Rasterized,GlobeCustomLayers::OpenGL
The class GlobeCustomLayers illustrates usage for all 3 cases.
Any type of custom layer in globe needs to implement, ICustomGlobeLayer, ILayer, IGeoDataset, ILayerExtensions.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  ICustomGlobeLayerProxy()
           
  ICustomGlobeLayerProxy(Object obj)
           
protected ICustomGlobeLayerProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void drawImmediate(IGlobeViewer pGlobeViewer)
          For custom OpenGL layers, perform immediate drawing.
 int getDrawType()
          The custom draw method.
 double getMinimumCellSize()
          For rasterized types, defines highest resolution.
 double getSymbologyScalingFactor()
          The symbol scale factor for the custom rasterized type.
 void getTile(int tilesize, int face, int level, int row, int col, byte[][] pData)
          Gets a rasterized data tile for the given globe tesselation coordinates.
 void hit(int hitObjectID, IHit3D pHit3D)
          The layer is hit by a picking operation.
 boolean isHandlesLocalOrigin()
          The option to use a local coordinate system origin for high precision drawing.
 boolean isUseCache()
          The option to use Globe's disk caching.
 void removeListener(String iidStr, Object theListener)
           
 void setLocalOrigin(_WKSPointZ rhs1)
          The local coordinate system origin for high precision drawing.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ICustomGlobeLayerProxy

public ICustomGlobeLayerProxy()

ICustomGlobeLayerProxy

public ICustomGlobeLayerProxy(Object obj)
                       throws IOException
Throws:
IOException

ICustomGlobeLayerProxy

protected ICustomGlobeLayerProxy(Object obj,
                                 String iid)
                          throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getDrawType

public int getDrawType()
                throws IOException,
                       AutomationException
The custom draw method.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDrawType in interface ICustomGlobeLayer
Returns:
A com.esri.arcgis.globecore.esriGlobeCustomDrawType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseCache

public boolean isUseCache()
                   throws IOException,
                          AutomationException
The option to use Globe's disk caching.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isUseCache in interface ICustomGlobeLayer
Returns:
The pbUseCache
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinimumCellSize

public double getMinimumCellSize()
                          throws IOException,
                                 AutomationException
For rasterized types, defines highest resolution. Zero value indicates that globe-generated default value should be used.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getMinimumCellSize in interface ICustomGlobeLayer
Returns:
The pMinCellSize
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSymbologyScalingFactor

public double getSymbologyScalingFactor()
                                 throws IOException,
                                        AutomationException
The symbol scale factor for the custom rasterized type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSymbologyScalingFactor in interface ICustomGlobeLayer
Returns:
The pMetersPerPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTile

public void getTile(int tilesize,
                    int face,
                    int level,
                    int row,
                    int col,
                    byte[][] pData)
             throws IOException,
                    AutomationException
Gets a rasterized data tile for the given globe tesselation coordinates.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getTile in interface ICustomGlobeLayer
Parameters:
tilesize - The tilesize (in)
face - The face (in)
level - The level (in)
row - The row (in)
col - The col (in)
pData - An unsigned byte (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

drawImmediate

public void drawImmediate(IGlobeViewer pGlobeViewer)
                   throws IOException,
                          AutomationException
For custom OpenGL layers, perform immediate drawing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
drawImmediate in interface ICustomGlobeLayer
Parameters:
pGlobeViewer - A reference to a com.esri.arcgis.globecore.IGlobeViewer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hit

public void hit(int hitObjectID,
                IHit3D pHit3D)
         throws IOException,
                AutomationException
The layer is hit by a picking operation.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
hit in interface ICustomGlobeLayer
Parameters:
hitObjectID - The hitObjectID (in)
pHit3D - A reference to a com.esri.arcgis.analyst3d.IHit3D (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHandlesLocalOrigin

public boolean isHandlesLocalOrigin()
                             throws IOException,
                                    AutomationException
The option to use a local coordinate system origin for high precision drawing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isHandlesLocalOrigin in interface ICustomGlobeLayer
Returns:
The pbHandlesLocalOrigin
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLocalOrigin

public void setLocalOrigin(_WKSPointZ rhs1)
                    throws IOException,
                           AutomationException
The local coordinate system origin for high precision drawing.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setLocalOrigin in interface ICustomGlobeLayer
Parameters:
rhs1 - A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.