Package 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 aSurfaceImage
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 sameSurfaceImage
is used. The image source of theSurfaceImage
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.) TheSurfaceImage
location could also be continually changed, but this example doesn't do that.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description 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
Fields Modifier and Type Field Description protected static java.util.List<LatLon>
CORNERS
protected static double
IMAGE_OPACITY
protected static double
IMAGE_SELECTED_OPACITY
protected static int
IMAGE_SIZE
-
Constructor Summary
Constructors Constructor Description VideoOnTerrain()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
-
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
-
-
-
-
Field Detail
-
IMAGE_SIZE
protected static final int IMAGE_SIZE
- See Also:
- Constant Field Values
-
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
-
CORNERS
protected static final java.util.List<LatLon> CORNERS
-
-