|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.controls.ARGlobe
public class ARGlobe
COM Class 'ARGlobe'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriPublisherControls.olb'
Description 'The ARGlobe container for the display of globe data.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Constructor Summary | |
---|---|
ARGlobe(java.lang.Object obj)
Construct a ARGlobe using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
centerAt(double longitude,
double latitude)
Moves the observer over the specified point. |
void |
centerAtBookmark(java.lang.Object vBookmarkID)
Zooms the globe display to the bookmark. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
int |
getAnimationCount()
The number of animations in the globes's animation collection. |
java.lang.String |
getAnimationName(int index)
The name of the animation. |
IARLayer |
getARLayer(int index)
The layer at the specified index. |
int |
getARLayerCount()
The number of layers in the globe's layer collection. |
double |
getAzimuth()
The azimuth of the observer in degrees. |
int |
getBookmarkCount()
The number of bookmarks in the globe’s bookmark collection. |
java.lang.String |
getBookmarkName(int index)
The name of the bookmark. |
double |
getElevation()
The distance between observer location and globe’s surface. |
int |
getGlobeUnits()
The geographical units of the globe. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
void |
getObserverLocation(double[] longitude,
double[] latitude,
double[] elev)
Gets the current observer location. |
double |
getPitch()
The pitch of the observer in degrees. |
java.lang.String |
getSpatialReferenceName()
The name of the globe’s spatial reference. |
boolean |
getSurfacePoint(int x,
int y,
double[] longitude,
double[] latitude,
double[] elev)
Converts a point in device coordinates (typically pixels) to coordinates in latitude and longitude. |
int |
hashCode()
the hashcode for this object |
IARFeature |
locateARFeature(int x,
int y)
Searches the globe along a ray trace, returns the first feature in the ray. |
void |
playAnimation(java.lang.Object vAnimationID)
Plays an animation. |
IARFeatureSet |
queryARFeatures(IARSearchDef pSearchDef)
Searches the globe using a search definition and returns an ARFeatureSet. |
void |
release()
Release a ARGlobe. |
IARFeatureCursor |
searchARFeatures(IARSearchDef pSearchDef)
Searches the globe using a search definition and returns an ARFeatureCursor. |
void |
setAzimuth(double azimuth)
The azimuth of the observer in degrees. |
void |
setElevation(double elev)
The distance between observer location and globe’s surface. |
void |
setObserverLocation(double longitude,
double latitude,
double elev)
Sets the current observer location. |
void |
setPitch(double pitch)
The pitch of the observer in degrees. |
void |
zoomToBookmark(java.lang.Object vBookmarkID)
Zooms the globe display to the bookmark. |
void |
zoomToFullExtent()
Zoom to the full extent of the globe. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ARGlobe(java.lang.Object obj) throws java.io.IOException
obj
to ARGlobe
. *
ARGlobe o = (ARGlobe)obj; // will not work
ARGlobe o = new ARGlobe(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problems
ARGlobe theARGlobe = (ARGlobe) obj;
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public int getBookmarkCount() throws java.io.IOException, AutomationException
getBookmarkCount
in interface IARGlobe
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getBookmarkName(int index) throws java.io.IOException, AutomationException
getBookmarkName
in interface IARGlobe
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void zoomToBookmark(java.lang.Object vBookmarkID) throws java.io.IOException, AutomationException
zoomToBookmark
in interface IARGlobe
vBookmarkID
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void centerAtBookmark(java.lang.Object vBookmarkID) throws java.io.IOException, AutomationException
centerAtBookmark
in interface IARGlobe
vBookmarkID
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getAnimationCount() throws java.io.IOException, AutomationException
getAnimationCount
in interface IARGlobe
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getAnimationName(int index) throws java.io.IOException, AutomationException
getAnimationName
in interface IARGlobe
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void playAnimation(java.lang.Object vAnimationID) throws java.io.IOException, AutomationException
playAnimation
in interface IARGlobe
vAnimationID
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getARLayerCount() throws java.io.IOException, AutomationException
getARLayerCount
in interface IARGlobe
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARLayer getARLayer(int index) throws java.io.IOException, AutomationException
getARLayer
in interface IARGlobe
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getSpatialReferenceName() throws java.io.IOException, AutomationException
getSpatialReferenceName
in interface IARGlobe
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getGlobeUnits() throws java.io.IOException, AutomationException
getGlobeUnits
in interface IARGlobe
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setElevation(double elev) throws java.io.IOException, AutomationException
setElevation
in interface IARGlobe
elev
- The elev (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getElevation() throws java.io.IOException, AutomationException
getElevation
in interface IARGlobe
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void centerAt(double longitude, double latitude) throws java.io.IOException, AutomationException
centerAt
in interface IARGlobe
longitude
- The longitude (in)latitude
- The latitude (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean getSurfacePoint(int x, int y, double[] longitude, double[] latitude, double[] elev) throws java.io.IOException, AutomationException
getSurfacePoint
in interface IARGlobe
x
- The x (in)y
- The y (in)longitude
- The longitude (in/out: use single element array)latitude
- The latitude (in/out: use single element array)elev
- The elev (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void zoomToFullExtent() throws java.io.IOException, AutomationException
zoomToFullExtent
in interface IARGlobe
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARFeatureSet queryARFeatures(IARSearchDef pSearchDef) throws java.io.IOException, AutomationException
queryARFeatures
in interface IARGlobe
pSearchDef
- A reference to a com.esri.arcgis.controls.IARSearchDef (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARFeatureCursor searchARFeatures(IARSearchDef pSearchDef) throws java.io.IOException, AutomationException
searchARFeatures
in interface IARGlobe
pSearchDef
- A reference to a com.esri.arcgis.controls.IARSearchDef (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARFeature locateARFeature(int x, int y) throws java.io.IOException, AutomationException
locateARFeature
in interface IARGlobe
x
- The x (in)y
- The y (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setObserverLocation(double longitude, double latitude, double elev) throws java.io.IOException, AutomationException
setObserverLocation
in interface IARGlobe
longitude
- The longitude (in)latitude
- The latitude (in)elev
- The elev (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getObserverLocation(double[] longitude, double[] latitude, double[] elev) throws java.io.IOException, AutomationException
getObserverLocation
in interface IARGlobe
longitude
- The longitude (in/out: use single element array)latitude
- The latitude (in/out: use single element array)elev
- The elev (in/out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPitch() throws java.io.IOException, AutomationException
getPitch
in interface IARGlobe
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPitch(double pitch) throws java.io.IOException, AutomationException
setPitch
in interface IARGlobe
pitch
- The pitch (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAzimuth() throws java.io.IOException, AutomationException
getAzimuth
in interface IARGlobe
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAzimuth(double azimuth) throws java.io.IOException, AutomationException
setAzimuth
in interface IARGlobe
azimuth
- The azimuth (in)
java.io.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 |