NASA World Wind

gov.nasa.worldwindx.examples
Class SurfaceImageViewer

java.lang.Object
  extended by gov.nasa.worldwindx.examples.ApplicationTemplate
      extended by gov.nasa.worldwindx.examples.SurfaceImageViewer

public class SurfaceImageViewer
extends ApplicationTemplate

Open and view arbitrary surface images and elevations that have an accompanying world file.

After clicking the open button and selecting the desired image or elevations file, the program status will change to Loading while WorldWind installs the selected data. Wait until the status changes to Ready. The data will have finished installing and will be ready for viewing.

Image and elevation files that you wish to load must be accompanied by a world file, or they will fail to load. The world file can be identified as the file with a file extension consisting of three letters. The first two of these will be the first and last letters of the image or elevation file type, e.g. tf for a tiff file, or jg for a jpeg file. The last letter will be a double.

For example, a world file accompanying a jpeg file would have the extension .jgw :

image.jpg // image file image.jgw // accompanying world file


Nested Class Summary
static class SurfaceImageViewer.AppFrame
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
 
Constructor Summary
SurfaceImageViewer()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurfaceImageViewer

public SurfaceImageViewer()
Method Detail

main

public static void main(String[] args)

NASA World Wind