NASA World Wind

Package gov.nasa.worldwindx.examples.multiwindow

Examples of how to use multiple WorldWind globes in the same application.

See:
          Description

Class Summary
CardLayoutUsage This class illustrates how to use multiple World Wind windows with a CardLayout layer manager.
FlatAndRoundGlobes This class illustrates how to display round and flat globes side by side.
FlatAndRoundGlobes.WWFrame  
FlatAndRoundGlobes.WWPanel  
MultiFrame This example shows how to create two World Windows, each in its own JFrame.
SharedShapes This example shows how to share World Wind shapes between two WorldWindow instances.
SharedShapes.SharedLayerPanel  
SharedShapes.WWPanel  
TabbedPaneUsage This class illustrates how to use multiple World Wind windows with a JTabbedPane.
ViewViewVolume This class illustrates how to display a globe, and in a separate window display another globe with a visualization of the view volume in the main globe window.
ViewViewVolume.WWPanel  
ViewVolumeViewer This class holds a WorldWindow that displays the view volume and currently visible terrain of another WorldWindow.
ViewVolumeViewer.SectorGeometryLayer  
ViewVolumeViewer.ViewVolumeLayer  
ViewVolumeViewer.WWPanel  
 

Package gov.nasa.worldwindx.examples.multiwindow Description

Examples of how to use multiple WorldWind globes in the same application.

Applications using multiple World Wind windows simultaneously should instruct World Wind to share OpenGL and other resources among those windows. Most World Wind classes are designed to be shared across WorldWindow objects and will be shared automatically. But OpenGL resources are not automatically shared. To share them, a reference to a previously created WorldWindow must be specified as a constructor argument for subsequently created WorldWindows.

Most World Wind Globe and Layer objects can be shared among WorldWindows. Those that cannot be shared have an operational dependency on the WorldWindow they're associated with. An example is the ViewControlsLayer layer for on-screen navigation. Because this layer responds to input events within a specific WorldWindow, it is not sharable. Refer to the World Wind Overview page for a list of layers that cannot be shared.


NASA World Wind