|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOrbitalFlyTool
Provides access to properties of the ControlsGlobeOrbitalFlyTool.
The IOrbitalFlyTool interface controls the properties of the ControlsGlobeOrbitalFlyTool.
Method Summary | |
---|---|
void |
flyToolOnly(boolean bFlyOnly)
Suppresses the pivot and zoom functionality. |
void |
getDefaultPos(int[] left,
int[] top)
The default position of the tool panel. |
boolean |
isFixedLineOfSight()
Indicates if the line of sight between the observer and target is fixed. |
boolean |
isStopAtSurface()
Indicates if the fly tool stops at the globe surface. |
void |
setDefaultPos(int left,
int top)
The default position of the tool panel. |
void |
setFixedLineOfSight(boolean bBool)
Indicates if the line of sight between the observer and target is fixed. |
void |
setStopAtSurface(boolean bBool)
Indicates if the fly tool stops at the globe surface. |
Method Detail |
---|
void setFixedLineOfSight(boolean bBool) throws IOException, AutomationException
bBool
- The bBool (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isFixedLineOfSight() throws IOException, AutomationException
Indicates whether the IGlobeCamera observer location moves around the IGlobeCamera target location when the ControlsGlobeOrbitalFlyTool is used. By default FixedLineOfSight is false.
For example, if FixedLineOfSight is true, panning up or down or turning sideways forces the observer location to rotate around the target location. If FixedLineOfSight is false, the target location is rotated around the observer location.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStopAtSurface(boolean bBool) throws IOException, AutomationException
bBool
- The bBool (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isStopAtSurface() throws IOException, AutomationException
Indicates whether the IGlobeCamera observer location can go under the surface of the globe when the ControlsGlobeOrbitalFlyTool is used for pivoting and zooming. By default StopAtSurface is false.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDefaultPos(int left, int top) throws IOException, AutomationException
Set the default position in screen coordinates of the ControlsGlobeOrbitalFlyTool navigation panel. Passing left as -1 and top as -1, will display the navigation panel positioned to the top left of the IGlobeViewer object the ControlsGlobeOrbitalFlyTool is working with.
left
- The left (in)top
- The top (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getDefaultPos(int[] left, int[] top) throws IOException, AutomationException
The default position in screen coordinates of the ControlsGlobeOrbitalFlyTool navigation panel. By default left is -1 and top is -1, indicating the navigation panel will display positioned to the top left of the IGlobeViewer object the ControlsGlobeOrbitalFlyTool is working with.
left
- The left (out: use single element array)top
- The top (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void flyToolOnly(boolean bFlyOnly) throws IOException, AutomationException
Use the FlyToolOnly method to control whether pivoting and zooming are disabled in the ControlsGlobeOrbitalFlyTool, and only flying is supported.
bFlyOnly
- The bFlyOnly (in)
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 |