NASA World Wind

gov.nasa.worldwind.render
Class AbstractSurfaceObject

java.lang.Object
  extended by gov.nasa.worldwind.render.AbstractSurfaceObject
All Implemented Interfaces:
SurfaceObject
Direct Known Subclasses:
AbstractSurfaceShape

public abstract class AbstractSurfaceObject
extends Object
implements SurfaceObject


Field Summary
protected  long lastModifiedTime
           
protected  boolean visible
           
 
Constructor Summary
AbstractSurfaceObject()
           
 
Method Summary
protected abstract  void doRenderToRegion(DrawContext dc, Sector sector, int x, int y, int width, int height)
           
 long getLastModifiedTime()
           
 boolean isVisible()
           
 void renderToRegion(DrawContext dc, Sector sector, int x, int y, int width, int height)
           
 void setVisible(boolean visible)
           
protected  void updateModifiedTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.nasa.worldwind.render.SurfaceObject
getSectors
 

Field Detail

lastModifiedTime

protected long lastModifiedTime

visible

protected boolean visible
Constructor Detail

AbstractSurfaceObject

public AbstractSurfaceObject()
Method Detail

doRenderToRegion

protected abstract void doRenderToRegion(DrawContext dc,
                                         Sector sector,
                                         int x,
                                         int y,
                                         int width,
                                         int height)

getLastModifiedTime

public long getLastModifiedTime()
Specified by:
getLastModifiedTime in interface SurfaceObject

isVisible

public boolean isVisible()
Specified by:
isVisible in interface SurfaceObject

renderToRegion

public void renderToRegion(DrawContext dc,
                           Sector sector,
                           int x,
                           int y,
                           int width,
                           int height)
Specified by:
renderToRegion in interface SurfaceObject

setVisible

public void setVisible(boolean visible)
Specified by:
setVisible in interface SurfaceObject

updateModifiedTime

protected void updateModifiedTime()

NASA World Wind