| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
QtSimpleEarth is a simplistic multi-platform virtual globe. It works on Windows, Linux and OS X. QtSimpleEarth is Fast, Free and super Easy to use.
To start understanding the code and API, look at WorldObject and WorldObjectManager classes and the globals.h header file. The hello world example emplaces a label in the world with the following code:
//instantiate world object and set label
WorldObject* worldObject = new WorldObject();
worldObject->setLabel("Hello World!");
//set world object position
GeodeticPosition position;
position.latitude = 0.0; //in decimal degrees
position.longitude = 0.0;
position.altitude = 1.0; //in Km
worldObject->setGeodeticPosition(position);
//add world object to manager so that it gets rendered
WorldObjectManager::getInstance()->addWorldObject(worldObject);
| Back | FazBrowse Home | New Git URL |