com.esri.arcgis.globecore
Interface ICustomGlobeLayer

All Superinterfaces:
Serializable
All Known Implementing Classes:
GlobeGraphicsLayer, TemporalFeatureLayer

public interface ICustomGlobeLayer
extends 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.


Method Summary
 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 setLocalOrigin(_WKSPointZ rhs1)
          The local coordinate system origin for high precision drawing.
 

Method Detail

getDrawType

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

Product Availability

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

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

isUseCache

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

Product Availability

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

Returns:
The pbUseCache
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinimumCellSize

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.

Returns:
The pMinCellSize
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSymbologyScalingFactor

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.

Returns:
The pMetersPerPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTile

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.

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

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.

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

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.

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

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.

Returns:
The pbHandlesLocalOrigin
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLocalOrigin

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.

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.