src.gov.nasa.worldwind.view.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of worldwindx Show documentation
Show all versions of worldwindx Show documentation
World Wind is a collection of components that interactively display 3D geographic information within Java applications or applets.
The view package contains implementations, and support for implementations of the
{@link gov.nasa.worldwind.View} interface. It contains 2 inner packages that implement
specific view models, {@link gov.nasa.worldwind.view.orbit}, and {@link gov.nasa.worldwind.view.firstperson}.
The {@link gov.nasa.worldwind.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 {@link gov.nasa.worldwind.view.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 {@link gov.nasa.worldwind.View} has a reference to a {@link gov.nasa.worldwind.globes.Globe}, that it gleens from the
{@link gov.nasa.worldwind.render.DrawContext} passed to it in its {@link gov.nasa.worldwind.View#apply} method.
A single {@link gov.nasa.worldwind.View} instance may not be used simultaneously on {@link gov.nasa.worldwind.Model}s
with different {@link gov.nasa.worldwind.globes.Globe}s.