Package gov.nasa.worldwindx.examples
Class DimGlobeSurface
- java.lang.Object
-
- gov.nasa.worldwindx.examples.ApplicationTemplate
-
- gov.nasa.worldwindx.examples.DimGlobeSurface
-
public class DimGlobeSurface extends ApplicationTemplate
Shows how to add a layer over the globe's surface imagery to simulate dimming the surface. The technique is very simple: just create aSurfaceImage
, apply it to the full globe, and use its opacity to control the amount of dimming. This example uses a black surface image, but any color could be used. Note that this does not provide a filtering effect -- enhancing or blocking specific colors. For thatSurfaceImage
would need blending controls, but it doesn't have them.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DimGlobeSurface.AppFrame
-
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
-
-
Constructor Summary
Constructors Constructor Description DimGlobeSurface()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
-
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
-
-