public class SurfacePolylines extends AbstractSurfaceShape
CompoundVecBuffer.AbstractSurfaceShape.GeometryKey, AbstractSurfaceShape.SurfaceShapeStateKeyAbstractSurfaceObject.CacheEntry, AbstractSurfaceObject.SurfaceObjectStateKey| Modifier and Type | Field and Description |
|---|---|
protected CompoundVecBuffer |
buffer |
protected boolean |
crossesDateLine |
protected boolean |
needsOutlineTessellation |
protected Object |
outlineDisplayListCacheKey |
protected List<Sector> |
sectors |
activeAttrs, activeGeometry, activeOutlineGeometry, areaMeasurer, areaMeasurerLastModifiedTime, DEFAULT_HIGHLIGHT_MATERIAL, DEFAULT_INTERIOR_MATERIAL, DEFAULT_MAX_EDGE_INTERVALS, DEFAULT_MIN_EDGE_INTERVALS, DEFAULT_OUTLINE_MATERIAL, DEFAULT_PATH_TYPE, DEFAULT_TEXELS_PER_EDGE_INTERVAL, defaultAttrs, geometryCache, highlightAttrs, highlighted, maxEdgeIntervals, minEdgeIntervals, normalAttrs, pathType, sectorCache, stackHandler, texelsPerEdgeInterval, texture, vertexBufferdelegateOwner, drawBoundingSectors, enableBatchPicking, extentCache, lastModifiedTime, nextUniqueId, pickLayer, pickSupport, pickTileBuilder, pickTiles, uniqueId, visible| Constructor and Description |
|---|
SurfacePolylines(CompoundVecBuffer buffer) |
SurfacePolylines(Sector sector,
CompoundVecBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canContainPole()
Indicates whether the shape is a closed polygon that can enclose a pole, or an open path that cannot.
|
protected List<List<LatLon>> |
createGeometry(Globe globe,
SurfaceTileDrawContext sdc) |
protected void |
determineActiveGeometry(DrawContext dc,
SurfaceTileDrawContext sdc) |
protected void |
doMoveTo(Position oldReferencePosition,
Position newReferencePosition) |
protected void |
drawInterior(DrawContext dc,
SurfaceTileDrawContext sdc) |
protected void |
drawOutline(DrawContext dc,
SurfaceTileDrawContext sdc) |
CompoundVecBuffer |
getBuffer()
Get the underlying
CompoundVecBuffer describing the geometry. |
Iterable<? extends LatLon> |
getLocations() |
Iterable<? extends LatLon> |
getLocations(Globe globe)
Returns the shape's locations as they appear on the specified
globe, or null if the shape has no
locations. |
Position |
getReferencePosition()
A position associated with the object that indicates its aggregate geographic position.
|
List<Sector> |
getSectors(DrawContext dc)
|
protected void |
onGeometryChanged() |
void |
setLocations(Iterable<? extends LatLon> iterable) |
protected int[] |
tessellateOutline(DrawContext dc,
LatLon referenceLocation) |
protected boolean |
tessellatePart(GL2 gl,
VecBuffer vecBuffer,
LatLon referenceLocation) |
addIntermediateLocations, applyInteriorState, applyInteriorTextureState, applyModelviewTransform, applyOutlineState, beginDrawing, clearCaches, computeEdgeIntervalsPerDegree, computeSectors, computeSectors, containsPole, createActiveAttributes, createGeometryKey, cutAlongDateLine, determineActiveAttributes, doDrawGeographic, doGetRestorableState, doRestoreState, doTessellateInterior, drawGeographic, endDrawing, export, exportAsKML, generateIntermediateLocations, getActiveAttributes, getActiveGeometry, getArea, getArea, getAttributes, getCachedGeometry, getExtent, getHeight, getHighlightAttributes, getInteriorTexture, getLength, getMinAndMaxEdgeIntervals, getPathType, getPerimeter, getRestorableState, getStateKey, getTexelsPerEdgeInterval, getWidth, handleUnsuccessfulInteriorTessellation, intersectionWithMeridian, isExportFormatSupported, isHighlighted, isSectorEmpty, legacyRestoreState, makeOrderedPreRenderable, move, moveTo, onShapeChanged, pathTypeFromString, repeatAroundDateline, restoreState, setAttributes, setHighlightAttributes, setHighlighted, setMinAndMaxEdgeIntervals, setPathType, setTexelsPerEdgeInterval, setupAreaMeasurer, tessellateInterior, tessellateInteriorVerticesbuildPickRepresentation, computeExtent, computeExtent, createPickedObject, createPickTileBuilder, drawBoundingSectors, drawOrderedRenderable, drawPickRepresentation, getDelegateOwner, getDistanceFromEye, getExtent, getUniqueId, intersectsFrustum, intersectsPickFrustum, intersectsVisibleSector, isDrawBoundingSectors, isEnableBatchPicking, isVisible, makeOrderedRenderable, nextUniqueId, pick, pickBatched, pickOrderedRenderable, preRender, render, setDelegateOwner, setDrawBoundingSectors, setEnableBatchPicking, setVisible, updateModifiedTimeonMessage, propertyChangeaddPropertyChangeListener, 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, setValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDelegateOwner, getDistanceFromEye, getExtent, isVisible, pick, preRender, render, setDelegateOwner, setVisibleaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesprotected CompoundVecBuffer buffer
protected boolean crossesDateLine
protected boolean needsOutlineTessellation
protected Object outlineDisplayListCacheKey
public SurfacePolylines(CompoundVecBuffer buffer)
public SurfacePolylines(Sector sector, CompoundVecBuffer buffer)
protected boolean canContainPole()
canContainPole in class AbstractSurfaceShapeprotected List<List<LatLon>> createGeometry(Globe globe, SurfaceTileDrawContext sdc)
createGeometry in class AbstractSurfaceShapeprotected void determineActiveGeometry(DrawContext dc, SurfaceTileDrawContext sdc)
determineActiveGeometry in class AbstractSurfaceShapeprotected void doMoveTo(Position oldReferencePosition, Position newReferencePosition)
doMoveTo in class AbstractSurfaceShapeprotected void drawInterior(DrawContext dc, SurfaceTileDrawContext sdc)
drawInterior in class AbstractSurfaceShapeprotected void drawOutline(DrawContext dc, SurfaceTileDrawContext sdc)
drawOutline in class AbstractSurfaceShapepublic CompoundVecBuffer getBuffer()
CompoundVecBuffer describing the geometry.CompoundVecBuffer.public Iterable<? extends LatLon> getLocations(Globe globe)
SurfaceShapeglobe, or null if the shape has no
locations.globe - the globe the shape is related to.public Position getReferencePosition()
MovablegetReferencePosition in interface MovablegetReferencePosition in class AbstractSurfaceShapepublic List<Sector> getSectors(DrawContext dc)
SurfaceObjectgetSectors in interface SurfaceObjectgetSectors in class AbstractSurfaceShapedc - the DrawContext the surface object is related to.protected void onGeometryChanged()
protected int[] tessellateOutline(DrawContext dc, LatLon referenceLocation)