gov.nasa.worldwind.render
Class BasicAnnotationRenderer.OrderedAnnotation
java.lang.Object
gov.nasa.worldwind.render.BasicAnnotationRenderer.OrderedAnnotation
- All Implemented Interfaces:
- Pickable, OrderedRenderable, Renderable
- Enclosing class:
- BasicAnnotationRenderer
protected class BasicAnnotationRenderer.OrderedAnnotation
- extends java.lang.Object
- implements OrderedRenderable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
annotation
protected Annotation annotation
eyeDistance
protected double eyeDistance
layer
protected Layer layer
BasicAnnotationRenderer.OrderedAnnotation
public BasicAnnotationRenderer.OrderedAnnotation(Annotation annotation,
double eyeDistance)
BasicAnnotationRenderer.OrderedAnnotation
public BasicAnnotationRenderer.OrderedAnnotation(Annotation annotation,
Layer layer,
double eyeDistance)
getDistanceFromEye
public double getDistanceFromEye()
- Specified by:
getDistanceFromEye in interface OrderedRenderable
pick
public void pick(DrawContext dc,
java.awt.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
renderNow
protected void renderNow(DrawContext dc,
BasicAnnotationRenderer.OrderedAnnotation oa)