|
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.terrain.AbstractElevationModel
public abstract class AbstractElevationModel
| Field Summary | |
|---|---|
protected double |
missingDataFlag
|
protected double |
missingDataValue
|
| Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl |
|---|
changeSupport |
| Constructor Summary | |
|---|---|
AbstractElevationModel()
|
|
| Method Summary | |
|---|---|
double |
getDetailHint(Sector sector)
Returns the detail hint associated with the specified sector. |
double |
getElevation(Angle latitude,
Angle longitude)
Returns the elevation at a specified location, or an unspecified value, typically zero, if an elevation cannot be determined. |
double |
getMissingDataReplacement()
|
double |
getMissingDataSignal()
Returns the current missing-data sentinel. |
String |
getName()
Returns the elevation model's name, as specified in the most recent call to ElevationModel.setName(java.lang.String). |
String |
getRestorableState()
Returns an XML document string describing the object’s state. |
boolean |
isNetworkRetrievalEnabled()
Indicates whether the elevation model is allowed to retrieve data from the network. |
void |
restoreState(String stateInXml)
Restores the object’s state to what is described in the specified XML document string. |
void |
setMissingDataReplacement(double missingDataValue)
|
void |
setMissingDataSignal(double missingDataFlag)
Specifies the value used to identify missing data in an elevation model. |
void |
setName(String name)
Set the elevation model's name. |
void |
setNetworkRetrievalEnabled(boolean enabled)
Controls whether the elevation model is allowed to retrieve data from the network. |
String |
toString()
|
| 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.globes.ElevationModel |
|---|
contains, getBestResolution, getElevations, getExtremeElevations, getExtremeElevations, getMaxElevation, getMinElevation, getUnmappedElevation, intersects |
| 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 |
| Field Detail |
|---|
protected double missingDataFlag
protected double missingDataValue
| Constructor Detail |
|---|
public AbstractElevationModel()
| Method Detail |
|---|
public double getDetailHint(Sector sector)
ElevationModel
getDetailHint in interface ElevationModelsector - the sector in question.
public double getElevation(Angle latitude,
Angle longitude)
ElevationModel
getElevation in interface ElevationModellatitude - the latitude of the location in question.longitude - the longitude of the location in question.
ElevationModel.setMissingDataSignal(double)public double getMissingDataReplacement()
public double getMissingDataSignal()
ElevationModel
getMissingDataSignal in interface ElevationModelpublic String getName()
ElevationModelElevationModel.setName(java.lang.String).
getName in interface ElevationModelpublic String getRestorableState()
RestorablerestoreState and passing the XML document.
getRestorableState in interface Restorablepublic boolean isNetworkRetrievalEnabled()
ElevationModel
isNetworkRetrievalEnabled in interface ElevationModeltrue if the elevation model is enabled to retrieve network data, else false.public void restoreState(String stateInXml)
Restorable
restoreState in interface RestorablestateInXml - an XML document string describing an object's state.public void setMissingDataReplacement(double missingDataValue)
public void setMissingDataSignal(double missingDataFlag)
ElevationModel
setMissingDataSignal in interface ElevationModelmissingDataFlag - a reference to the sentinel value. The default value is null, indicating that there is no
missing-data sentinel and all data entry values are considered valid.public void setName(String name)
ElevationModel
setName in interface ElevationModelname - the name to assign to the elevation model.public void setNetworkRetrievalEnabled(boolean enabled)
ElevationModel
setNetworkRetrievalEnabled in interface ElevationModelenabled - true if network retrieval is allowed, else false.public String toString()
toString in class Object
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||