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 void
addAllContours(ContourList that)
void
addContour(java.lang.Iterable<? extends LatLon> contour)
void
combine(CombineContext cc)
Causes this Combinable to draw its contours using the GLU tessellator attached to the provided CombineContext.protected void
combineBounds(CombineContext cc)
protected void
combineContours(CombineContext cc)
protected void
computeSector()
protected void
doCombineContours(CombineContext cc)
java.lang.Iterable<? extends LatLon>
getContour(int index)
int
getContourCount()
Sector
getSector()
void
removeAllContours()
void
setContour(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:
combine
in 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)
-
-