NASA World Wind

gov.nasa.worldwind.examples
Class ExtrudedShapes

java.lang.Object
  extended by gov.nasa.worldwind.examples.ApplicationTemplate
      extended by gov.nasa.worldwind.examples.ExtrudedShapes

public class ExtrudedShapes
extends ApplicationTemplate

Demonstrates how to create ExtrudedPolygons with cap and side textures. The polygon geometry is retrieved from a World Wind data site, as is the image applied to the extruded polygon's sides.


Nested Class Summary
static class ExtrudedShapes.AppFrame
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
 
Field Summary
protected static String DEFAULT_IMAGE_URL
           
protected static String DEMO_AIRSPACES_URL
           
 
Constructor Summary
ExtrudedShapes()
           
 
Method Summary
protected static void loadAirspacesFromURL(URL url, Collection<Airspace> airspaces)
           
static void main(String[] args)
           
 
Methods inherited from class gov.nasa.worldwind.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_IMAGE_URL

protected static String DEFAULT_IMAGE_URL

DEMO_AIRSPACES_URL

protected static final String DEMO_AIRSPACES_URL
See Also:
Constant Field Values
Constructor Detail

ExtrudedShapes

public ExtrudedShapes()
Method Detail

loadAirspacesFromURL

protected static void loadAirspacesFromURL(URL url,
                                           Collection<Airspace> airspaces)

main

public static void main(String[] args)

NASA World Wind