STK X allows developers to add advanced STK 2D, 3D visualization and analytical capabilities to applications with little effort.
The top of the STK X object model presents the following creatable components:
- The Application component interfaces to the
STK analytical engine. It can be used by itself (in a GUI-less
mode), or through the Application property on the Globe and Map
The main way to communicate with the engine is to send Connect commands. Connect is a language for accessing and manipulating STK (see the ExecuteCommand method).
The Application object also exposes connection points that you can sink to receive notification about the state of the STK engine (for instance a scenario has been loaded; an animation step is performed, etc.).
Notice that you can instantiate many application objects, but they all refer to the same unique STK engine.
- The Globe control enables you to insert a 3D
view into your application.
You can use several Globe controls if you wish to have different views of the same scenario. By default the STK keyboard and mouse interaction mechanism are used, but various events are available, allowing your application to implement specific keyboard and mouse interactions and modes.
- The Map control can be used to insert a 2D view
into your application.
The Map control gives your application a 2D view of the scenario. You can use several Map controls if you wish to have different views of the same scenario. By default the STK keyboard and mouse interaction mechanism are used, but various events are available, allowing your application to implement specific keyboard and mouse interactions and modes.
- The Graphics Analysis control allows you to insert
graphics analysis capability into your application. The Graphics
Analysis Control can perform various analyses when set in any of
the following four analysis modes.
- Area Tool
- AzElMask Tool
- Obscuration Tool
- Solar Panel Tool
|AgDataObject||Data Object for OLE drag & drop operations.|
|AgDataObjectFiles||Collection of files for OLE drag & drop operations.|
|AgDrawElemCollection||Collection of elements to draw on the control.|
|AgDrawElemLine||Defines a line in window coordinates.|
|AgDrawElemRect||Defines a rectangle in window coordinates.|
|AgExecCmdResult||Collection of strings returned by the ExecuteCommand.|
|AgExecMultiCmdResult||Collection of objects returned by the ExecuteMultipleCommands.|
|AgObjPathCollection||Collection of object paths.|
|AgPickInfoData||Single mouse pick result.|
|AgRubberBandPickInfoData||Rubber-band mouse pick result.|
|AgSTKXApplication||STK X Application object.|
|AgSTKXConControlQuitReceivedEventArgs||Arguments for the OnConControlQuitReceived event.|
|AgSTKXSSLCertificateErrorEventArgs||Provides information about an SSL certificate that is expired or invalid.|
|AgUiAx2DCntrl||The 2D Map window control.
By default, you can use the mouse in the following ways to interact with the 2D Graphics window:
|AgUiAxGfxAnalysisCntrl||AGI Graphics Analysis Control|
|AgUiAxVOCntrl||The 3D Globe window
By default, you can use the mouse in the following ways to manipulate the 3D Graphics window:
The mouse works as follows in Grab mode:
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.
|AgWinProjPos||Projected window postion result.|
|IAgDrawElemLine||Defines a line in control coordinates.|
|IAgExecCmdResult||Collection of strings returned by the ExecuteCommand.|
|IAgExecMultiCmdResult||Collection of objects returned by the ExecuteMultipleCommands.|
|IAgSTKXApplicationRawEvents||STK X Application Raw Events.|
|IAgSTKXConControlQuitReceivedEventArgs||Arguments for the OnConControlQuitReceived event.|
|IAgSTKXSSLCertificateErrorEventArgs||Provides information about an SSL certificate that is expired or invalid.|
|IAgUiAxGfxAnalysisCntrl||AGI Gfx Analysis control.|
|IAgUiAxGfxAnalysisCntrlEvents||AGI Gfx Analysis control events.|
|IAgUiAxStockRawEvents||AGI Map & Globe control raw stock events.|
|IAgUiAxVOCntrlRawEvents||AGI Globe control raw events.|
|IAgWinProjPos||Projected window postion detail.|
|AgEButtonValues||Numeric value of the mouse button pressed.|
|AgEExecMultiCmdResultAction||Enumeration defines a set of actions when an error occurs while executing a command batch.|
|AgEFeatureCodes||The enumeration values are used to check availability of a given feature.|
|AgEGfxAnalysisMode||Specifies the mode of Gfx Analysis Control.|
|AgEGfxDrawCoords||Specifies the draw coordinates for Map Control.|
|AgELoggingMode||Specifies the state of the log file.|
|AgELogMsgDispID||Log message destination options.|
|AgELogMsgType||Log message types.|
|AgEOLEDropMode||Specifies how to handle OLE drop operations.|
|AgEProgressImageXOrigin||Specifies to align progress image X origin.|
|AgEProgressImageYOrigin||Specifies to align progress image Y origin.|
|AgEShiftValues||State of the Shift/Ctrl/Alt keys.|
|AgEShowProgressImage||Specifies to show progress image.|