|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGlobe
Provides access to members that control the globe.
Method Summary | |
---|---|
void |
addLayerType(ILayer pLayer,
int layerType,
boolean autoArrange)
Add layer to globe as specified type. |
void |
getDefaultBackgTransitionDistances(float[] pLowAltitute,
float[] pHighAltitude)
The altitude values in kilometers for the transition in the background color. |
int |
getDefaultGlobeBackgroundOption()
The default background option. |
void |
getDefaultHighBackgroundColor(float[] red,
float[] green,
float[] blue)
The default high altitude background color. |
void |
getDefaultLowBackgroundColor(float[] red,
float[] green,
float[] blue)
The default low altitude background color. |
IGlobeDisplay |
getGlobeDisplay()
The globe display. |
IEnumLayer |
getGlobeLayers(IUID pUid,
boolean bRecursive,
boolean bInBaseGlobe,
boolean bSortedByDrawingPriority)
The globe layers by UID and internal grouping. |
int |
getGlobeUnits()
The linear units used in the globe. |
int |
getShowGlobeTips()
Show globe tips. |
void |
setDefaultBackgTransitionDistances(float lowAltitute,
float highAltitude)
The altitude values in kilometers for the transition in the background color. |
void |
setDefaultGlobeBackgroundOption(int pOption)
The default background option. |
void |
setDefaultHighBackgroundColor(float red,
float green,
float blue)
The default high altitude background color. |
void |
setDefaultLowBackgroundColor(float red,
float green,
float blue)
The default low altitude background color. |
void |
setGlobeUnits(int pUnits)
The linear units used in the globe. |
void |
setShowGlobeTips(int pTipsType)
Show globe tips. |
Method Detail |
---|
IEnumLayer getGlobeLayers(IUID pUid, boolean bRecursive, boolean bInBaseGlobe, boolean bSortedByDrawingPriority) throws IOException, AutomationException
pUid
- A reference to a com.esri.arcgis.system.IUID (in)bRecursive
- The bRecursive (in)bInBaseGlobe
- The bInBaseGlobe (in)bSortedByDrawingPriority
- The bSortedByDrawingPriority (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGlobeDisplay getGlobeDisplay() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getDefaultGlobeBackgroundOption() throws IOException, AutomationException
Controls whether the background sky color is based on a transition between two colors assigned to observer altitude or is a constant single color.
The esriGlobeBackgroundOption enumeration provides the definition for the two options available. These are esriGlobeBackgroundTransition, the default, and esriGlobeBackgroundSingle.
When using esriGlobeBackgroundTransition consider the related IGlobe interface members to set or get the background colors and transition distances.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDefaultGlobeBackgroundOption(int pOption) throws IOException, AutomationException
pOption
- A com.esri.arcgis.globecore.esriGlobeBackgroundOption constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDefaultHighBackgroundColor(float red, float green, float blue) throws IOException, AutomationException
Sets the default RGB color of the display background, or sky, when the observer is at high altitude.
RGB values are floating point between 0 and 1 inclusive.
red
- The red (in)green
- The green (in)blue
- The blue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getDefaultHighBackgroundColor(float[] red, float[] green, float[] blue) throws IOException, AutomationException
Returns the default RGB color of the display background, or sky, when the observer is at high altitude.
RGB values are floating point between 0 and 1 inclusive.
red
- The red (out: use single element array)green
- The green (out: use single element array)blue
- The blue (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDefaultLowBackgroundColor(float red, float green, float blue) throws IOException, AutomationException
Sets the default RGB color of the display background, or sky, when the observer is at low altitude.
RGB values are floating point between 0 and 1 inclusive.
red
- The red (in)green
- The green (in)blue
- The blue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getDefaultLowBackgroundColor(float[] red, float[] green, float[] blue) throws IOException, AutomationException
Returns the default RGB color of the display background, or sky, when the observer is at low altitude.
RGB values are floating point between 0 and 1 inclusive.
red
- The red (out: use single element array)green
- The green (out: use single element array)blue
- The blue (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDefaultBackgTransitionDistances(float lowAltitute, float highAltitude) throws IOException, AutomationException
Sets the high and low transition distances for changing between background sky colors. These represent the altitude of the virtual camera.
Values are in kilometers.
lowAltitute
- The lowAltitute (in)highAltitude
- The highAltitude (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getDefaultBackgTransitionDistances(float[] pLowAltitute, float[] pHighAltitude) throws IOException, AutomationException
Returns the high and low transition distances for changing between background sky colors. These represent the altitude of the virtual camera.
Values are in kilometers.
pLowAltitute
- The pLowAltitute (out: use single element array)pHighAltitude
- The pHighAltitude (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setGlobeUnits(int pUnits) throws IOException, AutomationException
pUnits
- A com.esri.arcgis.system.esriUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getGlobeUnits() throws IOException, AutomationException
GlobeUnits are the measurement units used when reporting the distance of the virtual camera from the globe surface (in the lower right hand side of the status bar) and the distance of the Measure tool.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addLayerType(ILayer pLayer, int layerType, boolean autoArrange) throws IOException, AutomationException
Adds a layer to the globe. The type of layer is specified by esriGlobeLayerType. This determines how the layer will be used in the globe document: as globe surface elevation, as a draped layer, or as a floating layer.
The autoArrange parameter controls the ordering of the layers. If autoArrange is set to TRUE, the layer is added in the proper position as by its weight specified via ILayerPosition::LayerWeight. By default, this means that the layers are sorted by layer type - Annotation layers on top, followed by Point geometry layers, Polyline geometry layers, and at the bottom Polygon geometry layers.
pLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)layerType
- A com.esri.arcgis.globecore.esriGlobeLayerType constant (in)autoArrange
- The autoArrange (in, optional, pass false if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setShowGlobeTips(int pTipsType) throws IOException, AutomationException
pTipsType
- A com.esri.arcgis.globecore.esriGlobeTipsType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getShowGlobeTips() throws IOException, AutomationException
Used to indicate whether or not globe tips are used, and if so, what type of tips. The option is given by the esriGlobeTipTypes enumeration.
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 |