vsTASKER 7 User Manual
×
Menu
Index

OsgEarth

 
OsgEarth (OSG based) viewer facilitates the integration of vsTASKER simulation engine with a on demand terrain 3D viewer. 
The Viewer will combine OsgEarth library and output visual with runtime engine, outputting a unique (and possibly standalone) application.
You can get OsgEarth onto osgearth.org website.
 
Out of the box, vsTASKER is distributed with the version 2.8 of OsgEarth.
OsgEarth dll are located in /bin/vc[90/100/110/120]/osgPlugins
OsgEarth libs are located in /lib/vc[90/100/110/120]/osg/osgEarth
 
Make sure that the %path% contains a link to OsgEarth dll directory to make the executable run correctly (will not appear otherwise).
 
OsgEarth
1

Main Files

1. Main Files
Wrapper main file (header & source) embedding the simulation engine and managing the OsgEarth main window and loop.
/runtime/osg-earth/vt_osg_earth.h/cpp are the default wrapper files.
 
The Config XML .earth file is mandatory for the earth enfine to run and embed all the drivers needed to query data on the Internet (or from the cache).
vsTASKER uses some predefined ones located in /runtime/osg-earth/config
 
2

3D View

2. 3D View
See here
 
3

Source

3. Source
Header file, Source code and Config XML can be modified into this window or directly from Visual Studio from the solution (or any other text editor).
If code is modified, it will be automatically saved when OK button is depressed.
It is a good idea to save the modified code under another file to keep the original one unchanged. Use button for that.
Refer to "Understanding Runtime" in the Tutorial document of vsTASKER.
Do not forget that all provided source code in vsTASKER environment is subject to change from one revision to one another. So, it is a good practice to change the name of any cpp wrapper if any change must be applied on it.
4

Terrain

4. Terrain
See here
 
5

Enabled

5. Enabled
One viewer must be at least enabled for the simulation to compile. Enabling one viewer disable all the other one.
When unchecked, all specific viewer code (and third party software API) are not generated and do not impact the makefile.
 
6

Code Wizard

6. Code Wizard
When this option is checked, the source code of vsTASKER will be processed by the wizard in order to include all the necessary OsgEarth code to make entities displayed automatically on the OsgEarth terrain view. The code will be added between special tags that shall not be removed. Once inserted, it will no more be changed and user can amend it.
If unchecked, the wizard will remove all wizard added code.
Wizard only runs at code generation. To add or remove it, check or uncheck then generate the code.
7

Help

7. Help
Put here all text explanations or documentation content needed to maintain this Viewer.
The Help content is saved but is not inserted into the generated code.
It will be used for the automatic document generation (see Make Documents)