com.esri.arcgis.globecore
Interface IGlobeDisplayLayers2

All Superinterfaces:
IGlobeDisplayLayers, Serializable
All Known Implementing Classes:
GlobeDisplay

public interface IGlobeDisplayLayers2
extends IGlobeDisplayLayers, Serializable

Provides extended access to members that manipulate globe display layers.

Product Availability

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


Method Summary
 void countTiles(ILayer pLayer, int fromLod, int toLod, double[] pCount)
          Counts the number of possible layer tiles in the specified levels of detail.
 void getFeatureTransformation(ILayer pLayer, int featureID, IVector3D[] ppTrans, IVector3D[] ppScale, IVector3D[] ppRotate)
          Gets the transformation of a specific feature.
 void getFeatureVisibility(ILayer pLayer, int featureID, boolean[] pbVisible, int[] pTransparency)
          Gets the visibility of a specific feature.
 int getInternalGlobeIndex(ILayer pLayer)
          Gets the index of the internal globe that the layer belongs to.
 void invalidateExtent(ILayer pLayer, IEnvelope pExtent, int minLOD, int maxLOD, boolean bRedraw, boolean bWaitUntilComplete)
          Invalidates layer tiles in the given extent and levels of detail.
 boolean isGenerateTilesOverwrites()
          Overwrite option when using the GenerateTiles method.
 void setFeatureTransformation(ILayer pLayer, int featureID, IVector3D pTrans, IVector3D pScale, IVector3D pRotate)
          Sets a transformation for a specific feature.
 void setFeatureVisibility(ILayer pLayer, int featureID, boolean bVisible, int transparency)
          Sets the visibility of a specific feature.
 void setGenerateTilesOverwrites(boolean pbOverwrites)
          Overwrite option when using the GenerateTiles method.
 void setStrictOnDemandMode(ILayer pLayer, boolean rhs2)
          Strict on-demand mode of a layer tile generation.
 void setTextureCompressionType(ILayer pLayer, int rhs2)
          Sets texture compression type of a layer.
 void setTextureDisplayType(ILayer pLayer, int rhs2)
          Sets texture display type of a layer.
 void setTextureDownsamplingFactor(ILayer pLayer, double rhs2)
          Sets texture down-sampling factor of a layer.
 
Methods inherited from interface com.esri.arcgis.globecore.IGlobeDisplayLayers
addLayer, applyHeightProperties, findGlobeProperties, generateTiles, getBaseLayers, getMaximumLayerLOD, isParentsAreVisible, refreshLayer, refreshLayerSelection, refreshTextureObjectsLayer, removeLayer, reparent, setIsLayerVisible, setLayerDepthPriority, setLayerFaceCulling, setLayerLightingOption, setLayerShadingMode, setLayerTransparency
 

Method Detail

setTextureDownsamplingFactor

void setTextureDownsamplingFactor(ILayer pLayer,
                                  double rhs2)
                                  throws IOException,
                                         AutomationException
Sets texture down-sampling factor of a layer.

Product Availability

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

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
rhs2 - The rhs2 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextureCompressionType

void setTextureCompressionType(ILayer pLayer,
                               int rhs2)
                               throws IOException,
                                      AutomationException
Sets texture compression type of a layer.

Product Availability

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

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
rhs2 - A com.esri.arcgis.analyst3d.esriTextureFormatType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

invalidateExtent

void invalidateExtent(ILayer pLayer,
                      IEnvelope pExtent,
                      int minLOD,
                      int maxLOD,
                      boolean bRedraw,
                      boolean bWaitUntilComplete)
                      throws IOException,
                             AutomationException
Invalidates layer tiles in the given extent and levels of detail. Redraws display if requested, optionally waiting until the tiles are regenerated.

Product Availability

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

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
pExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
minLOD - The minLOD (in)
maxLOD - The maxLOD (in)
bRedraw - The bRedraw (in)
bWaitUntilComplete - The bWaitUntilComplete (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFeatureTransformation

void setFeatureTransformation(ILayer pLayer,
                              int featureID,
                              IVector3D pTrans,
                              IVector3D pScale,
                              IVector3D pRotate)
                              throws IOException,
                                     AutomationException
Sets a transformation for a specific feature.

Product Availability

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

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
featureID - The featureID (in)
pTrans - A reference to a com.esri.arcgis.geometry.IVector3D (in)
pScale - A reference to a com.esri.arcgis.geometry.IVector3D (in)
pRotate - A reference to a com.esri.arcgis.geometry.IVector3D (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureTransformation

void getFeatureTransformation(ILayer pLayer,
                              int featureID,
                              IVector3D[] ppTrans,
                              IVector3D[] ppScale,
                              IVector3D[] ppRotate)
                              throws IOException,
                                     AutomationException
Gets the transformation of a specific feature.

Product Availability

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

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
featureID - The featureID (in)
ppTrans - A reference to a com.esri.arcgis.geometry.IVector3D (out: use single element array)
ppScale - A reference to a com.esri.arcgis.geometry.IVector3D (out: use single element array)
ppRotate - A reference to a com.esri.arcgis.geometry.IVector3D (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFeatureVisibility

void setFeatureVisibility(ILayer pLayer,
                          int featureID,
                          boolean bVisible,
                          int transparency)
                          throws IOException,
                                 AutomationException
Sets the visibility of a specific feature.

Product Availability

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

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
featureID - The featureID (in)
bVisible - The bVisible (in)
transparency - The transparency (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureVisibility

void getFeatureVisibility(ILayer pLayer,
                          int featureID,
                          boolean[] pbVisible,
                          int[] pTransparency)
                          throws IOException,
                                 AutomationException
Gets the visibility of a specific feature.

Product Availability

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

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
featureID - The featureID (in)
pbVisible - The pbVisible (out: use single element array)
pTransparency - The pTransparency (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStrictOnDemandMode

void setStrictOnDemandMode(ILayer pLayer,
                           boolean rhs2)
                           throws IOException,
                                  AutomationException
Strict on-demand mode of a layer tile generation.

Product Availability

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

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
rhs2 - The rhs2 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setGenerateTilesOverwrites

void setGenerateTilesOverwrites(boolean pbOverwrites)
                                throws IOException,
                                       AutomationException
Overwrite option when using the GenerateTiles method.

Product Availability

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

Parameters:
pbOverwrites - The pbOverwrites (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isGenerateTilesOverwrites

boolean isGenerateTilesOverwrites()
                                  throws IOException,
                                         AutomationException
Overwrite option when using the GenerateTiles method.

Product Availability

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

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

countTiles

void countTiles(ILayer pLayer,
                int fromLod,
                int toLod,
                double[] pCount)
                throws IOException,
                       AutomationException
Counts the number of possible layer tiles in the specified levels of detail.

Product Availability

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

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
fromLod - The fromLod (in)
toLod - The toLod (in)
pCount - The pCount (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTextureDisplayType

void setTextureDisplayType(ILayer pLayer,
                           int rhs2)
                           throws IOException,
                                  AutomationException
Sets texture display type of a layer.

Product Availability

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

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
rhs2 - A com.esri.arcgis.analyst3d.esriTextureFormatType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInternalGlobeIndex

int getInternalGlobeIndex(ILayer pLayer)
                          throws IOException,
                                 AutomationException
Gets the index of the internal globe that the layer belongs to.

Product Availability

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

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Returns:
The internalGlobe
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.