Package gov.nasa.worldwindx.examples
Class KeepingObjectsInView
- java.lang.Object
-
- gov.nasa.worldwindx.examples.ApplicationTemplate
-
- gov.nasa.worldwindx.examples.KeepingObjectsInView
-
public class KeepingObjectsInView extends ApplicationTemplate
KeepingObjectsInView demonstrates keeping a set of scene elements visible by using the utility classExtentVisibilitySupport
. To run this demonstration, execute this class' main method, then follow the on-screen instructions.The key functionality demonstrated by KeepingObjectsVisible is found in the internal classes
KeepingObjectsInView.ViewController
andKeepingObjectsInView.ViewAnimator
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KeepingObjectsInView.AppFrame
static class
KeepingObjectsInView.ViewAnimator
static class
KeepingObjectsInView.ViewController
-
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
-
-
Constructor Summary
Constructors Constructor Description KeepingObjectsInView()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Annotation
createHelpAnnotation(WorldWindow wwd)
static java.lang.Iterable<?>
createObjectsToTrack()
static void
main(java.lang.String[] args)
protected static LatLon
randomLocation(Sector sector)
-
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
-
-
-
-
Method Detail
-
createObjectsToTrack
public static java.lang.Iterable<?> createObjectsToTrack()
-
createHelpAnnotation
public static Annotation createHelpAnnotation(WorldWindow wwd)
-
main
public static void main(java.lang.String[] args)
-
-