NASA World Wind

gov.nasa.worldwind.examples
Class ImageEditor.RegionShape

java.lang.Object
  extended by gov.nasa.worldwind.examples.ImageEditor.RegionShape
All Implemented Interfaces:
Renderable
Enclosing class:
ImageEditor

public static class ImageEditor.RegionShape
extends Object
implements Renderable


Constructor Summary
ImageEditor.RegionShape(SurfaceImage image)
           
 
Method Summary
 Sector getBoundingSector()
           
 boolean hasSelection()
           
 void render(DrawContext dc)
          Causes this Renderable to render itself using the DrawContext provided.
 void setHighlight(int highlightPlace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageEditor.RegionShape

public ImageEditor.RegionShape(SurfaceImage image)
Method Detail

getBoundingSector

public Sector getBoundingSector()

hasSelection

public boolean hasSelection()

render

public void render(DrawContext dc)
Description copied from interface: Renderable
Causes this Renderable to render itself using the DrawContext provided. The DrawContext provides the elevation model, openGl instance, globe and other information required for drawing. It is recommended that the DrawContext is non-null as most implementations do not support null DrawContexts.

Specified by:
render in interface Renderable
Parameters:
dc - the DrawContext to be used
See Also:
DrawContext

setHighlight

public void setHighlight(int highlightPlace)

NASA World Wind