All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.gov.nasa.worldwind.view.package.html Maven / Gradle / Ivy

Go to download

World Wind is a collection of components that interactively display 3D geographic information within Java applications or applets.

There is a newer version: 2.0.0-986
Show newest version





    


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:
  1. Constructing modelview matrices for use in OpenGL from this basic geocentric position/orientation.
  2. Constructing OpenGL projection matrices from a frustum.
  3. 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.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy