NASA World Wind

gov.nasa.worldwindx.examples
Class RubberSheetImage

java.lang.Object
  extended by gov.nasa.worldwindx.examples.ApplicationTemplate
      extended by gov.nasa.worldwindx.examples.RubberSheetImage

public class RubberSheetImage
extends ApplicationTemplate

Demonstrates the use of the SurfaceImage class to create a "rubber sheet" image that can be arbitrarily positioned, scaled and warped on the globe's surface using control points at the image's four corners.


Nested Class Summary
static class RubberSheetImage.AppFrame
           
static class RubberSheetImage.Controller
           
static class RubberSheetImage.SurfaceImageEntry
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
ApplicationTemplate.AppPanel
 
Field Summary
static String OPEN_IMAGE_FILE
           
static String SET_IMAGE_OPACITY
           
static String TOGGLE_EDITING
           
 
Constructor Summary
RubberSheetImage()
           
 
Method Summary
protected static BufferedImage createPowerOfTwoImage(int minWidth, int minHeight)
           
protected static BufferedImage createPowerOfTwoScaledCopy(BufferedImage image)
           
static void main(String[] args)
           
 
Methods inherited from class gov.nasa.worldwindx.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

OPEN_IMAGE_FILE

public static final String OPEN_IMAGE_FILE
See Also:
Constant Field Values

SET_IMAGE_OPACITY

public static final String SET_IMAGE_OPACITY
See Also:
Constant Field Values

TOGGLE_EDITING

public static final String TOGGLE_EDITING
See Also:
Constant Field Values
Constructor Detail

RubberSheetImage

public RubberSheetImage()
Method Detail

createPowerOfTwoImage

protected static BufferedImage createPowerOfTwoImage(int minWidth,
                                                     int minHeight)

createPowerOfTwoScaledCopy

protected static BufferedImage createPowerOfTwoScaledCopy(BufferedImage image)

main

public static void main(String[] args)

NASA World Wind