NASA World Wind

gov.nasa.worldwindx.examples
Class VideoOnTerrain

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

public class VideoOnTerrain
extends ApplicationTemplate

This example illustrates how you might show video on the globe's surface. It uses a SurfaceImage to display one image after another, each of which could correspond to a frame of video. The video frames are simulated by creating a new buffered image for each frame. The same SurfaceImage is used. The image source of the SurfaceImage is continually set to a new BufferedImage. (It would be more efficient to also re-use a single BufferedImage, but one objective of this example is to show how to do this when the image can't be re-used.) The SurfaceImage location could also be continually changed, but this example doesn't do that.


Nested Class Summary
protected static class VideoOnTerrain.AppFrame
           
protected static class VideoOnTerrain.SurfaceImageDragger
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
 
Field Summary
protected static List<LatLon> CORNERS
           
protected static double IMAGE_OPACITY
           
protected static double IMAGE_SELECTED_OPACITY
           
protected static int IMAGE_SIZE
           
 
Constructor Summary
VideoOnTerrain()
           
 
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
 

Field Detail

CORNERS

protected static final List<LatLon> CORNERS

IMAGE_OPACITY

protected static final double IMAGE_OPACITY
See Also:
Constant Field Values

IMAGE_SELECTED_OPACITY

protected static final double IMAGE_SELECTED_OPACITY
See Also:
Constant Field Values

IMAGE_SIZE

protected static final int IMAGE_SIZE
See Also:
Constant Field Values
Constructor Detail

VideoOnTerrain

public VideoOnTerrain()
Method Detail

main

public static void main(String[] args)

NASA World Wind