Java Tutorial/Trail: NASA World Wind

NASA World Wind

NASA World Wind Java is a Java virtual globe application with an extensive set of APIs. The application is licensed under the NASA Open Source Agreement.

Examples for beginners

SimplestPossibleExample

The SimplestPossibleExample.java is a tiny program with about thirty lines of code. It creates a WorldWindowGLCanvas window inside a frame.

HelloWorldWind

The program HelloWorldWind.java is only slightly more complex and instantiates a BasicModel.

ApplicationTemplate

ApplicationTemplate.java provides a template for applications based on NASA World Wind and is used by several other programs in the examples directory.

Shutdown

Shutting down NASA World Wind is non-trivial and has its own beginner's example: Shutdown.java. Apparently the WorldWindow class does have a shutdown method and the class WorldWind has a static shutDown method to reset WorldWind to its initial state in order to conserve memory (e.g. for applets that are not currently used).

External links

This article is issued from Wikiversity - version of the Tuesday, August 18, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.