NASA World Wind

gov.nasa.worldwind.examples.analytics
Class AnalyticSurface.OrderedSurface

java.lang.Object
  extended by gov.nasa.worldwind.examples.analytics.AnalyticSurface.OrderedSurface
All Implemented Interfaces:
Pickable, OrderedRenderable, Renderable
Enclosing class:
AnalyticSurface

protected static class AnalyticSurface.OrderedSurface
extends java.lang.Object
implements OrderedRenderable


Field Summary
protected  double distanceFromEye
           
protected  AnalyticSurface surface
           
 
Constructor Summary
AnalyticSurface.OrderedSurface(AnalyticSurface surface, double distanceFromEye)
           
 
Method Summary
 double getDistanceFromEye()
           
 void pick(DrawContext dc, java.awt.Point pickPoint)
           
 void render(DrawContext dc)
          Causes this Renderable to render itself using the DrawContext provided.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

distanceFromEye

protected final double distanceFromEye

surface

protected final AnalyticSurface surface
Constructor Detail

AnalyticSurface.OrderedSurface

public AnalyticSurface.OrderedSurface(AnalyticSurface surface,
                                      double distanceFromEye)
Method Detail

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

NASA World Wind