gov.nasa.worldwind.render.airspaces
Class AirspaceRenderer
java.lang.Object
gov.nasa.worldwind.render.airspaces.AirspaceRenderer
public class AirspaceRenderer - extends Object
|
Method Summary |
protected void |
beginRendering(DrawContext dc)
|
protected void |
bindPickableObject(DrawContext dc,
Airspace airspace,
PickSupport pickSupport)
|
protected double |
computeDistanceFromEye(DrawContext dc,
Airspace airspace)
|
protected void |
doDrawAirspace(DrawContext dc,
Airspace airspace)
|
protected void |
drawAirspace(DrawContext dc,
Airspace airspace,
PickSupport pickSupport)
|
protected void |
drawAirspaceInterior(DrawContext dc,
Airspace airspace)
|
protected void |
drawAirspaceOutline(DrawContext dc,
Airspace airspace)
|
protected void |
drawAirspaces(DrawContext dc,
Iterable<? extends Airspace> airspaces,
PickSupport pickSupport)
|
protected void |
drawAirspaceShape(DrawContext dc,
Airspace airspace)
|
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 |
drawNow(DrawContext dc,
Iterable<? extends Airspace> airspaces,
PickSupport pickSupport)
|
protected void |
drawOrdered(DrawContext dc,
Iterable<? extends Airspace> airspaces,
Layer layer)
|
protected void |
drawOrderedAirspace(DrawContext dc,
AirspaceRenderer.OrderedAirspace orderedAirspace,
PickSupport pickSupport)
|
protected void |
drawOrderedAirspaces(DrawContext dc,
PickSupport pickSupport)
|
protected void |
endRendering(DrawContext dc)
|
double |
getDepthOffsetFactor()
|
double |
getDepthOffsetUnits()
|
Vec4 |
getLightDirection()
|
Material |
getLightMaterial()
|
double |
getLinePickWidth()
|
PickSupport |
getPickSupport()
|
boolean |
isDrawExtents()
|
boolean |
isDrawWireframe()
|
boolean |
isEnableAntialiasing()
|
boolean |
isEnableBlending()
|
boolean |
isEnableDepthOffset()
|
boolean |
isEnableLighting()
|
protected boolean |
isHaveEXTBlendFuncSeparate()
|
boolean |
isUseEXTBlendFuncSeparate()
|
protected void |
logGeometryStatistics(DrawContext dc,
Geometry geom)
|
void |
pickNow(DrawContext dc,
Iterable<? extends Airspace> airspaces,
Point pickPoint,
Layer layer)
|
void |
pickOrdered(DrawContext dc,
Iterable<? extends Airspace> airspaces,
Point pickPoint,
Layer layer)
|
void |
renderNow(DrawContext dc,
Iterable<? extends Airspace> airspaces)
|
void |
renderOrdered(DrawContext dc,
Iterable<? extends Airspace> airspaces)
|
void |
setBlending(DrawContext dc)
|
void |
setDepthOffsetFactor(double factor)
|
void |
setDepthOffsetUnits(double units)
|
void |
setDrawExtents(boolean draw)
|
void |
setDrawWireframe(boolean draw)
|
void |
setEnableAntialiasing(boolean enable)
|
void |
setEnableBlending(boolean enable)
|
void |
setEnableDepthOffset(boolean enable)
|
void |
setEnableLighting(boolean enable)
|
protected void |
setHaveEXTBlendFuncSeparate(boolean haveEXTBlendFuncSeparate)
|
protected static void |
setLightDirection(javax.media.opengl.GL gl,
int light,
Vec4 direction)
|
void |
setLightDirection(Vec4 direction)
|
void |
setLighting(DrawContext dc)
|
protected static void |
setLightMaterial(javax.media.opengl.GL gl,
int light,
Material material)
|
void |
setLightMaterial(Material material)
|
protected static void |
setLightModel(javax.media.opengl.GL gl)
|
void |
setLinePickWidth(double width)
|
protected static void |
setShadeModel(javax.media.opengl.GL gl)
|
void |
setUseEXTBlendFuncSeparate(boolean useEXTBlendFuncSeparate)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AirspaceRenderer
public AirspaceRenderer()
beginRendering
protected void beginRendering(DrawContext dc)
bindPickableObject
protected void bindPickableObject(DrawContext dc,
Airspace airspace,
PickSupport pickSupport)
computeDistanceFromEye
protected double computeDistanceFromEye(DrawContext dc,
Airspace airspace)
doDrawAirspace
protected void doDrawAirspace(DrawContext dc,
Airspace airspace)
drawAirspace
protected void drawAirspace(DrawContext dc,
Airspace airspace,
PickSupport pickSupport)
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,
PickSupport pickSupport)
drawAirspaceShape
protected void drawAirspaceShape(DrawContext dc,
Airspace airspace)
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)
drawNow
protected void drawNow(DrawContext dc,
Iterable<? extends Airspace> airspaces,
PickSupport pickSupport)
drawOrdered
protected void drawOrdered(DrawContext dc,
Iterable<? extends Airspace> airspaces,
Layer layer)
drawOrderedAirspace
protected void drawOrderedAirspace(DrawContext dc,
AirspaceRenderer.OrderedAirspace orderedAirspace,
PickSupport pickSupport)
drawOrderedAirspaces
protected void drawOrderedAirspaces(DrawContext dc,
PickSupport pickSupport)
endRendering
protected void endRendering(DrawContext dc)
getDepthOffsetFactor
public double getDepthOffsetFactor()
getDepthOffsetUnits
public double getDepthOffsetUnits()
getLightDirection
public Vec4 getLightDirection()
getLightMaterial
public Material getLightMaterial()
getLinePickWidth
public double getLinePickWidth()
getPickSupport
public PickSupport getPickSupport()
isDrawExtents
public boolean isDrawExtents()
isDrawWireframe
public boolean isDrawWireframe()
isEnableAntialiasing
public boolean isEnableAntialiasing()
isEnableBlending
public boolean isEnableBlending()
isEnableDepthOffset
public boolean isEnableDepthOffset()
isEnableLighting
public boolean isEnableLighting()
isHaveEXTBlendFuncSeparate
protected boolean isHaveEXTBlendFuncSeparate()
isUseEXTBlendFuncSeparate
public boolean isUseEXTBlendFuncSeparate()
logGeometryStatistics
protected void logGeometryStatistics(DrawContext dc,
Geometry geom)
pickNow
public void pickNow(DrawContext dc,
Iterable<? extends Airspace> airspaces,
Point pickPoint,
Layer layer)
pickOrdered
public void pickOrdered(DrawContext dc,
Iterable<? extends Airspace> airspaces,
Point pickPoint,
Layer layer)
renderNow
public void renderNow(DrawContext dc,
Iterable<? extends Airspace> airspaces)
renderOrdered
public void renderOrdered(DrawContext dc,
Iterable<? extends Airspace> airspaces)
setBlending
public void setBlending(DrawContext dc)
setDepthOffsetFactor
public void setDepthOffsetFactor(double factor)
setDepthOffsetUnits
public void setDepthOffsetUnits(double units)
setDrawExtents
public void setDrawExtents(boolean draw)
setDrawWireframe
public void setDrawWireframe(boolean draw)
setEnableAntialiasing
public void setEnableAntialiasing(boolean enable)
setEnableBlending
public void setEnableBlending(boolean enable)
setEnableDepthOffset
public void setEnableDepthOffset(boolean enable)
setEnableLighting
public void setEnableLighting(boolean enable)
setHaveEXTBlendFuncSeparate
protected void setHaveEXTBlendFuncSeparate(boolean haveEXTBlendFuncSeparate)
setLightDirection
protected static void setLightDirection(javax.media.opengl.GL gl,
int light,
Vec4 direction)
setLightDirection
public void setLightDirection(Vec4 direction)
setLighting
public void setLighting(DrawContext dc)
setLightMaterial
protected static void setLightMaterial(javax.media.opengl.GL gl,
int light,
Material material)
setLightMaterial
public void setLightMaterial(Material material)
setLightModel
protected static void setLightModel(javax.media.opengl.GL gl)
setLinePickWidth
public void setLinePickWidth(double width)
setShadeModel
protected static void setShadeModel(javax.media.opengl.GL gl)
setUseEXTBlendFuncSeparate
public void setUseEXTBlendFuncSeparate(boolean useEXTBlendFuncSeparate)
|