public class KMLOrbitViewController extends KMLViewController
OrbitView to look at a KML feature.| Modifier and Type | Class and Description | 
|---|---|
| protected class  | KMLOrbitViewController.EyePositionAnimatorA position animator that will compute an  OrbitViewcenter position based on an eye position and
 orientation. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected long | MAX_LENGTH_MILLISMaximum time for animation, in milliseconds. | 
| protected long | MIN_LENGTH_MILLISMinimum time for animation, in milliseconds. | 
| protected OrbitView | orbitViewThe view to animate. | 
DEFAULT_VIEW_ALTITUDE, viewAltitude, wwd| Modifier | Constructor and Description | 
|---|---|
| protected  | KMLOrbitViewController(WorldWindow wwd)Create the view controller. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Position | computeCenterPosition(Position eyePosition,
                     Vec4 forward,
                     Angle pitch,
                     int altitudeMode)Compute a center position from an eye position and an orientation. | 
| protected FlyToOrbitViewAnimator | createFlyToOrbitViewAnimator(OrbitView orbitView,
                            Position eyePosition,
                            Angle heading,
                            Angle pitch,
                            Angle roll,
                            long timeToMove,
                            int altitudeMode)Create an animator to animate an orbit view to an eye position and orientation. | 
| protected void | goTo(KMLCamera camera)Animate the view to the position described by a KML  Camera. | 
| protected void | goTo(KMLLookAt lookAt)Animate the view to the position described by a KML  LookAt. | 
create, findMaxAltitude, getViewAltitude, goTo, goTo, goToDefaultGroundOverlayView, goToDefaultPlacemarkView, goToDefaultView, goToDefaultView, setViewAltitudeprotected final long MAX_LENGTH_MILLIS
protected final long MIN_LENGTH_MILLIS
protected OrbitView orbitView
protected KMLOrbitViewController(WorldWindow wwd)
wwd - WorldWindow that holds the view to animate. The WorldWindow's view must be an instance of OrbitView.protected Position computeCenterPosition(Position eyePosition, Vec4 forward, Angle pitch, int altitudeMode)
eyePosition - The eye position.forward - The forward vector.pitch - View pitch.altitudeMode - Altitude mode of eyePosition.protected FlyToOrbitViewAnimator createFlyToOrbitViewAnimator(OrbitView orbitView, Position eyePosition, Angle heading, Angle pitch, Angle roll, long timeToMove, int altitudeMode)
orbitView - View to animate.eyePosition - Desired eye position.heading - Desired heading.pitch - Desired pitch.roll - Desired roll.timeToMove - Animation time.altitudeMode - Altitude mode of eyePosition. (WorldWind.CLAMP_TO_GROUND, WorldWind.RELATIVE_TO_GROUND, or WorldWind.ABSOLUTE).protected void goTo(KMLCamera camera)
Camera.goTo in class KMLViewControllercamera - KML Camera that describes the desired view.protected void goTo(KMLLookAt lookAt)
LookAt.goTo in class KMLViewControllerlookAt - KML LookAt that describes the desired view.