|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.layers.AbstractLayer
gov.nasa.worldwind.layers.RenderableLayer
gov.nasa.worldwind.layers.FogLayer
public class FogLayer
Sets fog range/density according to view altitude.
| Field Summary |
|---|
| Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl |
|---|
changeSupport |
| Constructor Summary | |
|---|---|
FogLayer()
Sets fog range/density according to view altitude |
|
| Method Summary | |
|---|---|
void |
doRender(DrawContext dc)
Setup fog |
Color |
getColor()
Get the fog color |
float |
getFarFactor()
Get the far distance factor that is applied to the eye distance to the horizon. |
float |
getNearFactor()
Get the near distance factor that is applied to the view altitude. |
void |
setColor(Color color)
Set the fog color |
void |
setFarFactor(float factor)
Set the far distance factor applied to the eye distance to the horizon |
void |
setNearFactor(float factor)
Set the near distance factor applied to the view altitude |
String |
toString()
|
| Methods inherited from class gov.nasa.worldwind.layers.RenderableLayer |
|---|
addRenderable, addRenderables, dispose, doPick, getDelegateOwner, getRenderables, removeAllRenderables, removeRenderable, setRenderables |
| Methods inherited from class gov.nasa.worldwind.layers.AbstractLayer |
|---|
getMaxActiveAltitude, getMinActiveAltitude, getName, getOpacity, getRestorableState, getScale, isAtMaxResolution, isEnabled, isLayerActive, isLayerInView, isMultiResolution, isPickEnabled, pick, render, restoreState, setEnabled, setMaxActiveAltitude, setMinActiveAltitude, setName, setOpacity, setPickEnabled |
| Methods inherited from class gov.nasa.worldwind.WWObjectImpl |
|---|
propertyChange |
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
|---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
|---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from interface java.beans.PropertyChangeListener |
|---|
propertyChange |
| Constructor Detail |
|---|
public FogLayer()
| Method Detail |
|---|
public void doRender(DrawContext dc)
doRender in class RenderableLayerdc - the current DrawContextpublic Color getColor()
public float getFarFactor()
public float getNearFactor()
public void setColor(Color color)
color - the fog colorpublic void setFarFactor(float factor)
factor - the factor to apply to the eye distance to the horizonpublic void setNearFactor(float factor)
factor - the factor to apply to the view altitudepublic String toString()
toString in class RenderableLayer
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||