NASA World Wind

gov.nasa.worldwindx.examples
Class KeepingObjectsInView

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

public class KeepingObjectsInView
extends ApplicationTemplate

KeepingObjectsInView demonstrates keeping a set of scene elements visible by using the utility class ExtentVisibilitySupport. 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 and KeepingObjectsInView.ViewAnimator.


Nested Class Summary
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
KeepingObjectsInView()
           
 
Method Summary
static Annotation createHelpAnnotation(WorldWindow wwd)
           
static Iterable<?> createObjectsToTrack()
           
static void main(String[] args)
           
protected static LatLon randomLocation(Sector sector)
           
 
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
 

Constructor Detail

KeepingObjectsInView

public KeepingObjectsInView()
Method Detail

createHelpAnnotation

public static Annotation createHelpAnnotation(WorldWindow wwd)

createObjectsToTrack

public static Iterable<?> createObjectsToTrack()

main

public static void main(String[] args)

randomLocation

protected static LatLon randomLocation(Sector sector)

NASA World Wind