Package gov.nasa.worldwind.view
The view package contains implementations, and support for implementations of the View
interface. It contains 2 inner packages that implement specific view models, gov.nasa.worldwind.view.orbit
,
and gov.nasa.worldwind.view.firstperson
.
View
interface is based on the premise that a view's position and orientation can be
defined as Position(latitude, longitude, elevation), heading, pitch, and roll. The
ViewUtil
class provides utility methods for:
- Constructing modelview matrices for use in OpenGL from this basic geocentric position/orientation.
- Constructing OpenGL projection matrices from a frustum.
- Computing position, heading, pitch, roll values from modelview matrices.
A View
has a reference to a Globe
, that it gleens from
the DrawContext
passed to it in its View.apply(gov.nasa.worldwind.render.DrawContext)
method. A
single View
instance may not be used simultaneously on Model
s
with different Globe
s.
-
Interface Summary Interface Description ViewPropertyLimits ViewPropertyLimits defines a restriction on the viewing parameters of aView
. -
Class Summary Class Description BasicView A base class from whichView
implementations can be derived.BasicViewPropertyLimits BasicViewPropertyLimits provides an implementation of ViewPropertyLimits.ViewElevationAnimator AnAnimator
for elevation values.ViewPropertyAccessor ViewPropertyAccessor.ElevationAccessor ViewPropertyAccessor.EyePositionAccessor ViewPropertyAccessor.HeadingAccessor ViewPropertyAccessor.PitchAccessor ViewPropertyAccessor.RollAccessor ViewUtil ViewUtil.ViewState