NASA World Wind

gov.nasa.worldwind.render
Class ScreenImage

java.lang.Object
  extended by gov.nasa.worldwind.render.ScreenImage
All Implemented Interfaces:
Pickable, Renderable

public class ScreenImage
extends Object
implements Renderable, Pickable


Constructor Summary
ScreenImage()
           
 
Method Summary
protected  void doRender(DrawContext dc)
           
 Layer getClient()
           
 Object getImageSource()
           
 double getOpacity()
           
 Point getScreenLocation()
           
 void pick(DrawContext dc, Point pickPoint)
           
 void render(DrawContext dc)
          Causes this Renderable to render itself using the DrawContext provided.
 void setClient(Layer client)
           
 void setImageSource(Object imageSource)
           
 void setOpacity(double opacity)
           
 void setScreenLocation(Point screenLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenImage

public ScreenImage()
Method Detail

doRender

protected void doRender(DrawContext dc)

getClient

public Layer getClient()

getImageSource

public Object getImageSource()

getOpacity

public double getOpacity()

getScreenLocation

public Point getScreenLocation()

pick

public void pick(DrawContext dc,
                 Point pickPoint)
Specified by:
pick in interface Pickable

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

setClient

public void setClient(Layer client)

setImageSource

public void setImageSource(Object imageSource)

setOpacity

public void setOpacity(double opacity)

setScreenLocation

public void setScreenLocation(Point screenLocation)

NASA World Wind