|
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 provided draw context. |
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)
RenderableRenderable to render itself using the provided draw context.
render in interface Renderabledc - the DrawContext to be usedDrawContextpublic 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 | ||||||||