Package gov.nasa.worldwind.util
Class ContourList
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.WWObjectImpl
-
- gov.nasa.worldwind.util.ContourList
-
- All Implemented Interfaces:
AVList,MessageListener,Combinable,WWObject,java.beans.PropertyChangeListener,java.util.EventListener
public class ContourList extends WWObjectImpl implements Combinable
-
-
Constructor Summary
Constructors Constructor Description ContourList()ContourList(ContourList that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAllContours(ContourList that)voidaddContour(java.lang.Iterable<? extends LatLon> contour)voidcombine(CombineContext cc)Causes this Combinable to draw its contours using the GLU tessellator attached to the provided CombineContext.protected voidcombineBounds(CombineContext cc)protected voidcombineContours(CombineContext cc)protected voidcomputeSector()protected voiddoCombineContours(CombineContext cc)java.lang.Iterable<? extends LatLon>getContour(int index)intgetContourCount()SectorgetSector()voidremoveAllContours()voidsetContour(int index, java.lang.Iterable<? extends LatLon> contour)-
Methods inherited from class gov.nasa.worldwind.WWObjectImpl
onMessage, propertyChange
-
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, 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
-
-
-
-
Constructor Detail
-
ContourList
public ContourList()
-
ContourList
public ContourList(ContourList that)
-
-
Method Detail
-
getContourCount
public int getContourCount()
-
getContour
public java.lang.Iterable<? extends LatLon> getContour(int index)
-
setContour
public void setContour(int index, java.lang.Iterable<? extends LatLon> contour)
-
addContour
public void addContour(java.lang.Iterable<? extends LatLon> contour)
-
addAllContours
public void addAllContours(ContourList that)
-
removeAllContours
public void removeAllContours()
-
getSector
public Sector getSector()
-
computeSector
protected void computeSector()
-
combine
public void combine(CombineContext cc)
Causes this Combinable to draw its contours using the GLU tessellator attached to the provided CombineContext. When the CombineContext is in bounding sector mode, this adds the Combinable's geographic bounding sector to the CombineContext's bounding sector list. See the interface documentation for more information.- Specified by:
combinein interfaceCombinable- Parameters:
cc- the CombineContext to be used.- See Also:
CombineContext
-
combineBounds
protected void combineBounds(CombineContext cc)
-
combineContours
protected void combineContours(CombineContext cc)
-
doCombineContours
protected void doCombineContours(CombineContext cc)
-
-