|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.render.SurfaceImage
gov.nasa.worldwind.ogc.kml.impl.KMLSurfaceImageImpl
public class KMLSurfaceImageImpl
| Field Summary | |
|---|---|
protected boolean |
attributesResolved
|
protected long |
iconRetrievalTime
Indicates the time at which the image source was specified. |
protected boolean |
mustApplyRotation
Flag to indicate the rotation must be applied to the SurfaceImage. |
protected KMLGroundOverlay |
parent
|
protected boolean |
textureResolved
Indicates that the source texture has been resolved and loaded. |
| Fields inherited from class gov.nasa.worldwind.render.SurfaceImage |
|---|
corners, generatedTexture, generatedTextureExpired, imageSource, previousGeneratedTexture, previousSourceTexture, sourceTexture, thisList |
| Fields inherited from interface gov.nasa.worldwind.Exportable |
|---|
FORMAT_NOT_SUPPORTED, FORMAT_PARTIALLY_SUPPORTED, FORMAT_SUPPORTED |
| Constructor Summary | |
|---|---|
KMLSurfaceImageImpl(KMLTraversalContext tc,
KMLGroundOverlay overlay)
Create an screen image. |
|
| Method Summary | |
|---|---|
protected void |
applyRotation(DrawContext dc)
Apply a rotation to the corner points of the overlay. |
protected boolean |
mustResolveHref()
Indicates whether or not the image source needs to be resolved. |
void |
preRender(KMLTraversalContext tc,
DrawContext dc)
Pre-render this element. |
void |
render(KMLTraversalContext tc,
DrawContext dc)
Render this element. |
protected String |
resolveHref()
Resolve the HREF in this overlay's Icon element against the KML root. |
| Methods inherited from class gov.nasa.worldwind.render.SurfaceImage |
|---|
applyInternalTransform, bind, dispose, equals, export, exportAsKML, exportKMLLatLonBox, exportKMLLatLonQuad, getCorners, getExtent, getImageSource, getOpacity, getReferencePosition, getSector, hashCode, initializeGeneratedTexture, initializeGeometry, initializeSourceTexture, isExportFormatSupported, isPickEnabled, move, moveTo, preRender, render, setCorners, setImageSource, setImageSource, setOpacity, setPickEnabled, setReferencePosition |
| Methods inherited from class gov.nasa.worldwind.WWObjectImpl |
|---|
onMessage, propertyChange |
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
|---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gov.nasa.worldwind.event.MessageListener |
|---|
onMessage |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
|---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Field Detail |
|---|
protected boolean attributesResolved
protected long iconRetrievalTime
protected boolean mustApplyRotation
protected KMLGroundOverlay parent
protected boolean textureResolved
| Constructor Detail |
|---|
public KMLSurfaceImageImpl(KMLTraversalContext tc,
KMLGroundOverlay overlay)
tc - the current KMLTraversalContext.overlay - the Overlay element containing.
NullPointerException - if the traversal context is null.
IllegalArgumentException - if the parent overlay or the traversal context is null.| Method Detail |
|---|
protected void applyRotation(DrawContext dc)
dc - Current draw context.protected boolean mustResolveHref()
public void preRender(KMLTraversalContext tc,
DrawContext dc)
KMLRenderable
preRender in interface KMLRenderabletc - the current KML traversal context.dc - the current draw context.
public void render(KMLTraversalContext tc,
DrawContext dc)
render in interface KMLRenderabletc - the current KML traversal context.dc - the current draw context.protected String resolveHref()
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||