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,
Object pickedObject,
PickSupport pickSupport)
|
OrderedRenderable |
createOrderedRenderable(DrawContext dc,
Airspace airspace,
double eyeDistance,
Object pickedObject)
|
protected void |
doDrawAirspace(DrawContext dc,
Airspace airspace)
|
protected void |
drawAirspace(DrawContext dc,
Airspace airspace,
Object pickedObject,
PickSupport pickSupport)
|
protected void |
drawAirspace(DrawContext dc,
Airspace airspace,
PickSupport pickSupport)
|
protected void |
drawAirspaceInterior(DrawContext dc,
Airspace airspace)
|
protected void |
drawAirspaceOutline(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)
|
protected void |
drawOrderedAirspace(DrawContext dc,
AirspaceRenderer.OrderedAirspace oa,
PickSupport pickSupport)
|
protected void |
drawOrderedAirspaces(DrawContext dc,
PickSupport pickSupport)
|
protected void |
endRendering(DrawContext dc)
|
Double |
getDepthOffsetFactor()
|
Double |
getDepthOffsetUnits()
|
double |
getLinePickWidth()
|
PickSupport |
getPickSupport()
|
boolean |
isDrawExtents()
|
boolean |
isDrawWireframe()
|
boolean |
isEnableAntialiasing()
|
boolean |
isEnableBatchPicking()
|
boolean |
isEnableBatchRendering()
|
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 |
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 |
setEnableBatchPicking(boolean enableBatchPicking)
|
void |
setEnableBatchRendering(boolean enableBatchRendering)
|
void |
setEnableBlending(boolean enable)
|
void |
setEnableDepthOffset(boolean enable)
|
void |
setEnableLighting(boolean enable)
|
protected void |
setHaveEXTBlendFuncSeparate(boolean haveEXTBlendFuncSeparate)
|
void |
setLinePickWidth(double width)
|
void |
setUseEXTBlendFuncSeparate(boolean useEXTBlendFuncSeparate)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enableBatchPicking
protected boolean enableBatchPicking
enableBatchRendering
protected boolean enableBatchRendering
outlineShapeRenderer
protected OutlinedShape outlineShapeRenderer
- Implements the the interface used by the draw context's outlined-shape renderer.
AirspaceRenderer
public AirspaceRenderer()
beginRendering
protected void beginRendering(DrawContext dc)
bindPickableObject
protected void bindPickableObject(DrawContext dc,
Object pickedObject,
PickSupport pickSupport)
createOrderedRenderable
public OrderedRenderable createOrderedRenderable(DrawContext dc,
Airspace airspace,
double eyeDistance,
Object pickedObject)
doDrawAirspace
protected void doDrawAirspace(DrawContext dc,
Airspace airspace)
drawAirspace
protected void drawAirspace(DrawContext dc,
Airspace airspace,
Object pickedObject,
PickSupport pickSupport)
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)
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)
drawOrderedAirspace
protected void drawOrderedAirspace(DrawContext dc,
AirspaceRenderer.OrderedAirspace oa,
PickSupport pickSupport)
drawOrderedAirspaces
protected void drawOrderedAirspaces(DrawContext dc,
PickSupport pickSupport)
endRendering
protected void endRendering(DrawContext dc)
getDepthOffsetFactor
public Double getDepthOffsetFactor()
getDepthOffsetUnits
public Double getDepthOffsetUnits()
getLinePickWidth
public double getLinePickWidth()
getPickSupport
public PickSupport getPickSupport()
isDrawExtents
public boolean isDrawExtents()
isDrawWireframe
public boolean isDrawWireframe()
isEnableAntialiasing
public boolean isEnableAntialiasing()
isEnableBatchPicking
public boolean isEnableBatchPicking()
isEnableBatchRendering
public boolean isEnableBatchRendering()
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)
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)
setEnableBatchPicking
public void setEnableBatchPicking(boolean enableBatchPicking)
setEnableBatchRendering
public void setEnableBatchRendering(boolean enableBatchRendering)
setEnableBlending
public void setEnableBlending(boolean enable)
setEnableDepthOffset
public void setEnableDepthOffset(boolean enable)
setEnableLighting
public void setEnableLighting(boolean enable)
setHaveEXTBlendFuncSeparate
protected void setHaveEXTBlendFuncSeparate(boolean haveEXTBlendFuncSeparate)
setLinePickWidth
public void setLinePickWidth(double width)
setUseEXTBlendFuncSeparate
public void setUseEXTBlendFuncSeparate(boolean useEXTBlendFuncSeparate)