|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.worldwind.applications.sar.render.ScreenElevationLine
public class ScreenElevationLine
Display an horizontal line across the viewport when a plane at a given elevation cuts through the view near plane.
Constructor Summary | |
---|---|
ScreenElevationLine()
|
Method Summary | |
---|---|
Color |
getColor()
Get the line color. |
double |
getElevation()
Get the line current elevation. |
boolean |
isEnabled()
|
void |
render(DrawContext dc)
Causes this Renderable to render itself using the DrawContext provided. |
void |
setColor(Color color)
Set the line color. |
void |
setElevation(double elevation)
Set the line elevation. |
void |
setEnabled(boolean state)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScreenElevationLine()
Method Detail |
---|
public Color getColor()
public double getElevation()
public boolean isEnabled()
public void render(DrawContext dc)
Renderable
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 DrawContext
s.
render
in interface Renderable
dc
- the DrawContext
to be usedDrawContext
public void setColor(Color color)
color
- the line color.public void setElevation(double elevation)
elevation
- the line elevation.public void setEnabled(boolean state)
|
NASA World Wind | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |