gov.nasa.worldwindx.examples
Class VideoOnTerrain
java.lang.Object
gov.nasa.worldwindx.examples.ApplicationTemplate
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
VideoOnTerrain
public VideoOnTerrain()
main
public static void main(String[] args)