public class WorldWind
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
WorldWind.AltitudeMode
Altitude mode indicates how World Wind interprets a position's altitude component.
|
static interface |
WorldWind.DrawableGroup
Drawable group provides a standard set of group IDs for organizing World Window drawing into four phases:
background, surface, shape, and screen.
|
static interface |
WorldWind.GestureState
Gesture state indicates a GestureRecognizer's current state.
|
static interface |
WorldWind.ImageConfig
Image config indicates the in-memory representation for images displayed by World Wind components.
|
static interface |
WorldWind.NavigatorAction
Navigator event action indicates the type of NavigatorEvent that has been generated.
|
static interface |
WorldWind.OffsetMode
Offset mode indicates how World Wind interprets an offset's x and y values.
|
static interface |
WorldWind.OrientationMode
Orientation mode indicates how World Wind interprets a renderable's orientation value, e.g., tilt and rotate
values.
|
static interface |
WorldWind.PathType
Path type indicates how World Wind create a geographic path between two locations.
|
Modifier and Type | Field and Description |
---|---|
static int |
ABSOLUTE
WorldWind.AltitudeMode constant indicating an altitude relative to the globe's ellipsoid. |
static int |
BACKGROUND_DRAWABLE
WorldWind.DrawableGroup constant indicating drawables displayed before everything else. |
static int |
BEGAN
WorldWind.GestureState constant for the BEGAN gesture recognizer state. |
static int |
CANCELLED
WorldWind.GestureState constant for the CANCELLED gesture recognizer state. |
static int |
CHANGED
WorldWind.GestureState constant indicating the CHANGED gesture recognizer state. |
static int |
CLAMP_TO_GROUND
WorldWind.AltitudeMode constant indicating an altitude on the terrain. |
static int |
ENDED
WorldWind.GestureState constant indicating the ENDED gesture recognizer state. |
static int |
FAILED
WorldWind.GestureState constant for the FAILED gesture recognizer state. |
static int |
GREAT_CIRCLE
WorldWind.PathType constant indicating a great circle arc between two locations. |
static int |
LINEAR
WorldWind.PathType constant indicating simple linear interpolation between two locations. |
static int |
NAVIGATOR_MOVED
WorldWind.NavigatorAction constant indicating that the navigator has moved. |
static int |
NAVIGATOR_STOPPED
WorldWind.NavigatorAction constant indicating that the navigator has stopped moving. |
static 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. |
static 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. |
static int |
OFFSET_PIXELS
WorldWind.OffsetMode constant indicating that the associated parameters are in units of pixels relative to the
virtual rectangle's origin. |
static int |
POSSIBLE
WorldWind.GestureState constant for the POSSIBLE gesture recognizer state. |
static int |
RECOGNIZED
WorldWind.GestureState constant for the RECOGNIZED gesture recognizer state. |
static int |
RELATIVE_TO_GLOBE
WorldWind.OrientationMode constant indicating that the related value is specified relative to the globe. |
static int |
RELATIVE_TO_GROUND
WorldWind.AltitudeMode constant indicating an altitude relative to the terrain. |
static int |
RELATIVE_TO_SCREEN
WorldWind.OrientationMode constant indicating that the related value is specified relative to the plane of the
screen. |
static java.lang.String |
REQUEST_REDRAW
Notification constant requesting that World Window instances update their display.
|
static int |
RGB_565
WorldWind.ImageConfig constant indicating 16-bit RGBA_565 image configuration. |
static int |
RGBA_8888
WorldWind.ImageConfig constant indicating 32-bit RGBA_8888 image configuration. |
static int |
RHUMB_LINE
WorldWind.PathType constant indicating a line of constant bearing between two locations. |
static int |
SCREEN_DRAWABLE
WorldWind.DrawableGroup constant indicating drawables displayed in the plane of the screen. |
static int |
SHAPE_DRAWABLE
WorldWind.DrawableGroup constant indicating shape drawables, such as placemarks, polygons and polylines. |
static int |
SURFACE_DRAWABLE
WorldWind.DrawableGroup constant indicating drawables displayed on the globe's surface. |
static double |
WGS84_INVERSE_FLATTENING
WGS 84 reference value for the Earth ellipsoid's inverse flattening (1/f): 298.257223563.
|
static double |
WGS84_SEMI_MAJOR_AXIS
WGS 84 reference value for the Earth ellipsoid's semi-major axis: 6378137.0.
|
Constructor and Description |
---|
WorldWind() |
Modifier and Type | Method and Description |
---|---|
static MessageService |
messageService()
Returns a singleton MessageService instance that provides a mechanism for broadcasting notifications within the
World Wind library and World Wind applications.
|
static void |
requestRedraw()
Requests that all World Window instances update their display.
|
static TaskService |
taskService()
Returns a singleton TaskService instance that provides a mechanism for running asynchronous tasks within the
World Wind library and World Wind applications.
|
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.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.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.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.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.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.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.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.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.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.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.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.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.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.public static final int RGBA_8888
WorldWind.ImageConfig
constant indicating 32-bit RGBA_8888 image configuration.public static final int RGB_565
WorldWind.ImageConfig
constant indicating 16-bit RGBA_565 image configuration.public static final int NAVIGATOR_MOVED
WorldWind.NavigatorAction
constant indicating that the navigator has moved.public static final int NAVIGATOR_STOPPED
WorldWind.NavigatorAction
constant indicating that the navigator has stopped moving.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.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.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.public static final int RELATIVE_TO_GLOBE
WorldWind.OrientationMode
constant indicating that the related value is specified relative to the globe.public static final int RELATIVE_TO_SCREEN
WorldWind.OrientationMode
constant indicating that the related value is specified relative to the plane of the
screen.public static final int GREAT_CIRCLE
WorldWind.PathType
constant indicating a great circle arc between two locations.public static final int LINEAR
WorldWind.PathType
constant indicating simple linear interpolation between two locations.public static final int RHUMB_LINE
WorldWind.PathType
constant indicating a line of constant bearing between two locations.public static final java.lang.String REQUEST_REDRAW
public static final double WGS84_SEMI_MAJOR_AXIS
public static final double WGS84_INVERSE_FLATTENING
public static MessageService messageService()
public static TaskService taskService()
public static void requestRedraw()