The 3D Globe window control.
By default, you can use the mouse in the following ways to manipulate the 3D Graphics window:
- Double-click the left mouse button on any spot on the globe to display the latitude and longitude of the selected spot. The latitude and longitude are shown in the scenario lat-lon units which can be found and changed in the Scenario > Basic > Units properties window.
- Use the left mouse button to rotate the globe.
- Use the right mouse button to zoom in and out. You can also zoom into a portion of the 3D Graphics window by clicking the zoom button and then using the left mouse button to drag out a region to view on the 3D Graphics window.
- Use the Shift-left mouse button to pan and tilt the virtual camera; that is, keep the camera in a fixed point in space and change its orientation.
- Use the mouse and the 3D Object Editor to edit an object in the 3D Graphics window.
The mouse works as follows in Grab mode:
- Moving the mouse while the left button is depressed rotates the globe.
- Moving the mouse while the right button is depressed zooms in and out.
- Moving the mouse while the left button and shift key are depressed grabs the central globe and rotates it.
- When you go into Grab mode, you are placed in the lat/lon/alt view mode, if you are not already in it.
If the Constrained "Up" Vector is selected on the View From/To dialog box, the view may shift slightly to keep the "up" vector up.
ApplyObjectEditing | Commits changes when in 3D object editing mode. |
CopyFromWinID | Copies an existing Window's scene into this control. |
PickInfo | Get detailed information about a mouse pick. |
Picture | |
RestoreMouseCursor | Restores mouse cursor back to normal. |
RubberBandPickInfo | Get detailed information about a rubber-band mouse pick. The values must be within the VO window (0 to width-1 for left and right, 0 to height-1 for top and bottom). |
SetMouseCursorFromFile | Sets mouse cursor to the selected cursor file. |
SetMouseCursorFromHandle | Sets mouse cursor to the passed cursor handle. |
StartObjectEditing | Enters into 3D object editing mode. |
StopObjectEditing | Ends 3D object editing mode. |
ZoomIn | Enter zoom-in mode. User must left click-and-drag mouse to define area to zoom. |
AdvancedPickMode | If true, sets the advance pick mode. |
Application | Reference to the STK X application object. |
BackColor | The background color of the control. |
DrawElements | Elements to draw on the control. |
InZoomMode | Returns true if in zoom in mode. |
IsObjectEditing | Returns true if in 3D object editing mode. |
MouseMode | Whether this control responds to mouse events. |
NoLogo | If true, the splash logo is not shown. |
OLEDropMode | How the control handles drop operations. |
Picture | The splash logo graphic to be displayed in the control. |
PictureFromFile | Gets or sets the splash logo graphic file to be displayed in the control. |
PptPreloadMode | Special mode for PowerPoint : if true the VO control window is kept around when switching between slides. |
ProgressImageFile | The complete image file name/path for animated progress image. |
ProgressImageXOffset | The horizontal X offset for animated progress image. |
ProgressImageXOrigin | The X origin alignment for animated progress image. |
ProgressImageYOffset | The vertical Y offset for animated progress image. |
ProgressImageYOrigin | The Y origin alignment for animated progress image. |
ShowProgressImage | The animated progress image type. |
VendorID | This property is deprecated. The identifier of the vendor. |
WinID | Window identifier (for Connect commands). |
KeyDown | Occurs when the user presses a key while the control has the focus. |
KeyPress | Occurs when the user presses and releases a key or key combination that corresponds to an ANSI code. |
KeyUp | Occurs when the user releases a key while the control has the focus. |
Click | Occurs when the user presses and then releases a mouse button over the control. |
DblClick | Occurs when the user presses and releases a mouse button and then presses and releases it again over the control. |
MouseDown | Occur when the user presses a mouse button. |
MouseMove | Occurs when the mouse pointer is moved across the control. |
MouseUp | Occurs when the user releases a mouse button. |
OLEDragDrop | Fired when a source component is dropped onto the control |
MouseWheel | Occurs when the mouse wheel is rotated on the control. |
OnObjectEditingStart | Triggered when a 3D object enters in edit mode. |
OnObjectEditingApply | Triggered when a 3D object editing changes are applied. |
OnObjectEditingCancel | Triggered when a 3D object edit mode is canceled. |
OnObjectEditingStop | Triggered when a 3D object exits the edit mode. |
The Globe control can be created as any regular ActiveX control.
GUID | {0E939AC2-43D9-456E-9FE7-4C3C687BCDF2} |
ProgID | STKX12.VOControl |
The STK Objects library is also available with STK X. You can instantiate the root object and from it navigate and manipulate the STK scenario. Please see STK Objects for more details.
Click here for instructions on adding STK X controls to a Visual Studio project.