Package gov.nasa.worldwindx.examples
Class RubberSheetImage
- java.lang.Object
-
- gov.nasa.worldwindx.examples.ApplicationTemplate
-
- gov.nasa.worldwindx.examples.RubberSheetImage
-
public class RubberSheetImage extends ApplicationTemplate
Demonstrates the use of theSurfaceImage
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
Nested Classes Modifier and Type Class Description 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
Fields Modifier and Type Field Description static java.lang.String
OPEN_IMAGE_FILE
static java.lang.String
SET_IMAGE_OPACITY
static java.lang.String
TOGGLE_EDITING
-
Constructor Summary
Constructors Constructor Description RubberSheetImage()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static java.awt.image.BufferedImage
createPowerOfTwoImage(int minWidth, int minHeight)
protected static java.awt.image.BufferedImage
createPowerOfTwoScaledCopy(java.awt.image.BufferedImage image)
static void
main(java.lang.String[] args)
-
Methods inherited from class gov.nasa.worldwindx.examples.ApplicationTemplate
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
-
-
-
-
Field Detail
-
OPEN_IMAGE_FILE
public static final java.lang.String OPEN_IMAGE_FILE
- See Also:
- Constant Field Values
-
SET_IMAGE_OPACITY
public static final java.lang.String SET_IMAGE_OPACITY
- See Also:
- Constant Field Values
-
TOGGLE_EDITING
public static final java.lang.String TOGGLE_EDITING
- See Also:
- Constant Field Values
-
-
Method Detail
-
createPowerOfTwoImage
protected static java.awt.image.BufferedImage createPowerOfTwoImage(int minWidth, int minHeight)
-
createPowerOfTwoScaledCopy
protected static java.awt.image.BufferedImage createPowerOfTwoScaledCopy(java.awt.image.BufferedImage image)
-
main
public static void main(java.lang.String[] args)
-
-