public class VideoOnTerrain extends ApplicationTemplate
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.| Modifier and Type | Class and Description |
|---|---|
protected static class |
VideoOnTerrain.AppFrame |
protected static class |
VideoOnTerrain.SurfaceImageDragger |
ApplicationTemplate.AppPanel| Modifier and Type | Field and Description |
|---|---|
protected static List<LatLon> |
CORNERS |
protected static double |
IMAGE_OPACITY |
protected static double |
IMAGE_SELECTED_OPACITY |
protected static int |
IMAGE_SIZE |
| Constructor and Description |
|---|
VideoOnTerrain() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, startprotected static final double IMAGE_OPACITY
protected static final double IMAGE_SELECTED_OPACITY
protected static final int IMAGE_SIZE
public static void main(String[] args)