Class WorldWind


  • public class WorldWind
    extends java.lang.Object
    • Field Detail

      • ABSOLUTE

        public static final int ABSOLUTE
        WorldWind.AltitudeMode constant indicating an altitude relative to the globe's ellipsoid. Ignores the elevation of the terrain directly beneath the position's latitude and longitude.
        See Also:
        Constant Field Values
      • CLAMP_TO_GROUND

        public static final int CLAMP_TO_GROUND
        WorldWind.AltitudeMode constant indicating an altitude on the terrain. Ignores a position's specified altitude, and always places the position on the terrain.
        See Also:
        Constant Field Values
      • RELATIVE_TO_GROUND

        public static final int RELATIVE_TO_GROUND
        WorldWind.AltitudeMode constant indicating an altitude relative to the terrain. The altitude indicates height above the terrain directly beneath the position's latitude and longitude.
        See Also:
        Constant Field Values
      • BACKGROUND_DRAWABLE

        public static final int BACKGROUND_DRAWABLE
        WorldWind.DrawableGroup constant indicating drawables displayed before everything else. This group is typically used to display atmosphere and stars before all other drawables.
        See Also:
        Constant Field Values
      • SURFACE_DRAWABLE

        public static final int SURFACE_DRAWABLE
        WorldWind.DrawableGroup constant indicating drawables displayed on the globe's surface. Surface drawables are displayed beneath shapes and screen drawables.
        See Also:
        Constant Field Values
      • SHAPE_DRAWABLE

        public static final int SHAPE_DRAWABLE
        WorldWind.DrawableGroup constant indicating shape drawables, such as placemarks, polygons and polylines. Shape drawables are displayed on top of surface drawables, but beneath screen drawables.
        See Also:
        Constant Field Values
      • SCREEN_DRAWABLE

        public static final int SCREEN_DRAWABLE
        WorldWind.DrawableGroup constant indicating drawables displayed in the plane of the screen. Screen drawables are displayed on top of everything else.
        See Also:
        Constant Field Values
      • POSSIBLE

        public static final int POSSIBLE
        WorldWind.GestureState constant for the POSSIBLE gesture recognizer state. Gesture recognizers in this state are idle when there is no input event to evaluate, or are evaluating input events to determine whether or not to transition into another state.
        See Also:
        Constant Field Values
      • FAILED

        public static final int FAILED
        WorldWind.GestureState constant for the FAILED gesture recognizer state. Gesture recognizers transition to this state from the POSSIBLE state when the gesture cannot be recognized given the current input.
        See Also:
        Constant Field Values
      • RECOGNIZED

        public static final int RECOGNIZED
        WorldWind.GestureState constant for the RECOGNIZED gesture recognizer state. Discrete gesture recognizers transition to this state from the POSSIBLE state when the gesture is recognized.
        See Also:
        Constant Field Values
      • BEGAN

        public static final int BEGAN
        WorldWind.GestureState constant for the BEGAN gesture recognizer state. Continuous gesture recognizers transition to this state from the POSSIBLE state when the gesture is first recognized.
        See Also:
        Constant Field Values
      • CHANGED

        public static final int CHANGED
        WorldWind.GestureState constant indicating the CHANGED gesture recognizer state. Continuous gesture recognizers transition to this state from the BEGAN state or the CHANGED state, whenever an input event indicates a change in the gesture.
        See Also:
        Constant Field Values
      • CANCELLED

        public static final int CANCELLED
        WorldWind.GestureState constant for the CANCELLED gesture recognizer state. Continuous gesture recognizers may transition to this state from the BEGAN state or the CHANGED state when the touch events are cancelled.
        See Also:
        Constant Field Values
      • ENDED

        public static final int ENDED
        WorldWind.GestureState constant indicating the ENDED gesture recognizer state. Continuous gesture recognizers transition to this state from either the BEGAN state or the CHANGED state when the current input no longer represents the gesture.
        See Also:
        Constant Field Values
      • OFFSET_FRACTION

        public static final int OFFSET_FRACTION
        WorldWind.OffsetMode constant indicating that the associated parameters are fractional values of the virtual rectangle's width or height in the range [0, 1], where 0 indicates the rectangle's origin and 1 indicates the corner opposite its origin.
        See Also:
        Constant Field Values
      • OFFSET_INSET_PIXELS

        public static final int OFFSET_INSET_PIXELS
        WorldWind.OffsetMode constant indicating that the associated parameters are in units of pixels relative to the virtual rectangle's corner opposite its origin corner.
        See Also:
        Constant Field Values
      • OFFSET_PIXELS

        public static final int OFFSET_PIXELS
        WorldWind.OffsetMode constant indicating that the associated parameters are in units of pixels relative to the virtual rectangle's origin.
        See Also:
        Constant Field Values
      • REQUEST_REDRAW

        public static final java.lang.String REQUEST_REDRAW
        Notification constant requesting that WorldWindow instances update their display.
        See Also:
        Constant Field Values
      • WGS84_SEMI_MAJOR_AXIS

        public static final double WGS84_SEMI_MAJOR_AXIS
        WGS 84 reference value for Earth's semi-major axis: 6378137.0. WGS 84 reference values taken from here.
        See Also:
        Constant Field Values
      • WGS84_INVERSE_FLATTENING

        public static final double WGS84_INVERSE_FLATTENING
        WGS 84 reference value for Earth's inverse flattening: 298.257223563. WGS 84 reference values taken from here.
        See Also:
        Constant Field Values
      • WGS84_ELLIPSOID

        public static final Ellipsoid WGS84_ELLIPSOID
        WGS 84 reference ellipsoid for Earth. The ellipsoid's semi-major axis and inverse flattening factor are configured according to the WGS 84 reference system (aka WGS 1984, EPSG:4326). WGS 84 reference values taken from here.
    • Constructor Detail

      • WorldWind

        public WorldWind()
    • Method Detail

      • messageService

        public static MessageService messageService()
        Returns a singleton MessageService instance that provides a mechanism for broadcasting notifications within the WorldWind library and WorldWind applications.
        Returns:
        the singleton message center
      • taskService

        public static TaskService taskService()
        Returns a singleton TaskService instance that provides a mechanism for running asynchronous tasks within the WorldWind library and WorldWind applications.
        Returns:
        the singleton task service
      • requestRedraw

        public static void requestRedraw()
        Requests that all WorldWindow instances update their display. Internally, this dispatches a REQUEST_REDRAW message to the WorldWind message center.