NASA World Wind

gov.nasa.worldwind.render.airspaces
Class AirspaceRenderer

java.lang.Object
  extended by gov.nasa.worldwind.render.airspaces.AirspaceRenderer

public class AirspaceRenderer
extends Object


Constructor Summary
AirspaceRenderer()
           
 
Method Summary
protected  void addPickableObject(Color pickColor, Airspace airspace)
           
protected  void beginRendering(DrawContext dc)
           
protected  void draw(DrawContext dc, Iterable<? extends Airspace> airspaces)
           
protected  void drawAirspace(DrawContext dc, Airspace airspace)
           
protected  void drawAirspaceInterior(DrawContext dc, Airspace airspace)
           
protected  void drawAirspaceOutline(DrawContext dc, Airspace airspace)
           
protected  void drawAirspaces(DrawContext dc, Iterable<? extends Airspace> airspaces)
           
 void drawGeometry(DrawContext dc, Geometry geom)
           
 void drawGeometry(DrawContext dc, Geometry elementGeom, Geometry vertexGeom)
           
 void drawGeometry(DrawContext dc, int mode, int count, int type, Buffer elementBuffer, Geometry geom)
           
protected  void endRendering(DrawContext dc)
           
 Vec4 getLightDirection()
           
 Material getLightMaterial()
           
 double getLinePickWidth()
           
 PickSupport getPickSupport()
           
 boolean isDrawExtents()
           
 boolean isDrawWireframe()
           
 boolean isEnableBlending()
           
 boolean isEnableLighting()
           
protected  boolean isHaveEXTBlendFuncSeparate()
           
 boolean isUseEXTBlendFuncSeparate()
           
protected  void logGeometryStatistics(DrawContext dc, Geometry geom)
           
 void pick(DrawContext dc, Iterable<? extends Airspace> airspaces, Point pickPoint, Layer layer)
           
 void render(DrawContext dc, Iterable<? extends Airspace> airspaces)
           
 void setBlending(DrawContext dc)
           
 void setDrawExtents(boolean draw)
           
 void setDrawWireframe(boolean draw)
           
 void setEnableBlending(boolean enable)
           
 void setEnableLighting(boolean enable)
           
protected  void setHaveEXTBlendFuncSeparate(boolean haveEXTBlendFuncSeparate)
           
protected static void setLightDirection(GL gl, int light, Vec4 direction)
           
 void setLightDirection(Vec4 direction)
           
 void setLighting(DrawContext dc)
           
protected static void setLightMaterial(GL gl, int light, Material material)
           
 void setLightMaterial(Material material)
           
protected static void setLightModel(GL gl)
           
 void setLinePickWidth(double width)
           
protected static void setShadeModel(GL gl)
           
 void setUseEXTBlendFuncSeparate(boolean useEXTBlendFuncSeparate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirspaceRenderer

public AirspaceRenderer()
Method Detail

addPickableObject

protected void addPickableObject(Color pickColor,
                                 Airspace airspace)

beginRendering

protected void beginRendering(DrawContext dc)

draw

protected void draw(DrawContext dc,
                    Iterable<? extends Airspace> airspaces)

drawAirspace

protected void drawAirspace(DrawContext dc,
                            Airspace airspace)

drawAirspaceInterior

protected void drawAirspaceInterior(DrawContext dc,
                                    Airspace airspace)

drawAirspaceOutline

protected void drawAirspaceOutline(DrawContext dc,
                                   Airspace airspace)

drawAirspaces

protected void drawAirspaces(DrawContext dc,
                             Iterable<? extends Airspace> airspaces)

drawGeometry

public void drawGeometry(DrawContext dc,
                         Geometry geom)

drawGeometry

public void drawGeometry(DrawContext dc,
                         Geometry elementGeom,
                         Geometry vertexGeom)

drawGeometry

public void drawGeometry(DrawContext dc,
                         int mode,
                         int count,
                         int type,
                         Buffer elementBuffer,
                         Geometry geom)

endRendering

protected void endRendering(DrawContext dc)

getLightDirection

public Vec4 getLightDirection()

getLightMaterial

public Material getLightMaterial()

getLinePickWidth

public double getLinePickWidth()

getPickSupport

public PickSupport getPickSupport()

isDrawExtents

public boolean isDrawExtents()

isDrawWireframe

public boolean isDrawWireframe()

isEnableBlending

public boolean isEnableBlending()

isEnableLighting

public boolean isEnableLighting()

isHaveEXTBlendFuncSeparate

protected boolean isHaveEXTBlendFuncSeparate()

isUseEXTBlendFuncSeparate

public boolean isUseEXTBlendFuncSeparate()

logGeometryStatistics

protected void logGeometryStatistics(DrawContext dc,
                                     Geometry geom)

pick

public void pick(DrawContext dc,
                 Iterable<? extends Airspace> airspaces,
                 Point pickPoint,
                 Layer layer)

render

public void render(DrawContext dc,
                   Iterable<? extends Airspace> airspaces)

setBlending

public void setBlending(DrawContext dc)

setDrawExtents

public void setDrawExtents(boolean draw)

setDrawWireframe

public void setDrawWireframe(boolean draw)

setEnableBlending

public void setEnableBlending(boolean enable)

setEnableLighting

public void setEnableLighting(boolean enable)

setHaveEXTBlendFuncSeparate

protected void setHaveEXTBlendFuncSeparate(boolean haveEXTBlendFuncSeparate)

setLightDirection

protected static void setLightDirection(GL gl,
                                        int light,
                                        Vec4 direction)

setLightDirection

public void setLightDirection(Vec4 direction)

setLighting

public void setLighting(DrawContext dc)

setLightMaterial

protected static void setLightMaterial(GL gl,
                                       int light,
                                       Material material)

setLightMaterial

public void setLightMaterial(Material material)

setLightModel

protected static void setLightModel(GL gl)

setLinePickWidth

public void setLinePickWidth(double width)

setShadeModel

protected static void setShadeModel(GL gl)

setUseEXTBlendFuncSeparate

public void setUseEXTBlendFuncSeparate(boolean useEXTBlendFuncSeparate)

NASA World Wind