public class KMLGroundOverlayPolygonImpl extends Polygon implements KMLRenderable
Polygon
to render KML GroundOverlay.Polygon.BoundaryInfo, Polygon.ShapeData
AbstractShape.AbstractShapeData
Modifier and Type | Field and Description |
---|---|
protected boolean |
attributesResolved |
protected KMLGroundOverlay |
parent |
boundaries, edgeIndexBuffers, numPositions, previousIntersectionGlobeStateKey, previousIntersectionShapeData, previousIntersectionTerrain, rotation, texture, textureCoordsBuffer, VBO_THRESHOLD
activeAttributes, altitudeMode, BEogsh, currentData, DEFAULT_ALTITUDE_MODE, DEFAULT_GEOMETRY_GENERATION_INTERVAL, DEFAULT_HIGHLIGHT_MATERIAL, DEFAULT_INTERIOR_MATERIAL, DEFAULT_OUTLINE_MATERIAL, DEFAULT_OUTLINE_PICK_WIDTH, defaultAttributes, delegateOwner, dragEnabled, draggableSupport, enableBatchPicking, enableBatchRendering, enableDepthOffset, highlightAttrs, highlighted, maxExpiryTime, minExpiryTime, normalAttrs, outlinePickWidth, outlineShapeRenderer, pickLayer, pickSupport, referencePosition, sector, shapeDataCache, surfaceShape, viewDistanceExpiration, visible
FORMAT_NOT_SUPPORTED, FORMAT_PARTIALLY_SUPPORTED, FORMAT_SUPPORTED
Constructor and Description |
---|
KMLGroundOverlayPolygonImpl(KMLTraversalContext tc,
KMLGroundOverlay overlay)
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isHighlighted()
Indicates whether to highlight the shape.
|
protected boolean |
mustResolveHref() |
void |
preRender(KMLTraversalContext tc,
DrawContext dc)
Pre-render this element.
|
void |
render(KMLTraversalContext tc,
DrawContext dc)
Render this element.
|
addInnerBoundary, beginDrawing, clearIntersectionGeometry, computeBoundaryNormals, computeBoundaryVertices, computeExtent, computeEyeDistance, computePolygonNormal, computeReferencePoint, computeRotationMatrix, countPositions, createCacheEntry, createFullGeometry, createGeometry, createIntersectionGeometry, createMinimalGeometry, createNormals, createSurfaceShape, createTessllationGeometry, createVertices, doDrawInterior, doDrawInteriorVA, doDrawInteriorVBO, doDrawOutline, doDrawOutlineVA, doDrawOutlineVBO, doExportAsKML, doMakeOrderedRenderable, exportBoundaryAsLinearRing, fillBoundary, fillVBO, generateInteriorIndices, getBoundaries, getCurrent, getExtent, getOuterBoundary, getReferencePosition, getRotation, getSector, getTexture, getTextureCoords, getTextureImageSource, initialize, intersect, intersect, isOrderedRenderableValid, isOuterBoundaryValid, isSameAsPreviousTerrain, moveTo, moveTo, mustApplyTexture, mustRegenerateGeometry, outerBoundary, render, reset, setOuterBoundary, setRotation, setSurfacePolygonBoundaries, setSurfacePolygonTexImageSource, setTextureImageSource, shouldUseVBOs, tessellatePolygon, writeKMLBoundaries
addOrderedRenderable, checkViewDistanceExpiration, clearCachedVbos, computeExtentFromPositions, computePoint, computePoint, countTriangleVertices, createPickedObject, determineActiveAttributes, doDrag, doDrawOrderedRenderable, doGetRestorableState, doRestoreState, drag, drawBatched, drawInterior, drawOrderedRenderable, drawOutline, endDrawing, export, exportAsKML, getActiveAttributes, getAltitudeMode, getAttributes, getCurrentData, getDelegateOwner, getDistanceFromEye, getExtent, getGeometryRegenerationInterval, getHighlightAttributes, getOutlinePickWidth, getReferencePoint, getRestorableState, getVboIds, intersectsFrustum, isDragEnabled, isEnableBatchPicking, isEnableBatchRendering, isEnableDepthOffset, isExportFormatSupported, isTerrainDependent, isViewDistanceExpiration, isVisible, makeOrderedRenderable, makeTexture, move, mustApplyLighting, mustApplyLighting, mustCreateNormals, mustCreateNormals, mustDrawInterior, mustDrawOutline, pick, prepareToDrawInterior, prepareToDrawOutline, preRender, restoreState, setAltitudeMode, setAttributes, setDelegateOwner, setDragEnabled, setEnableBatchPicking, setEnableBatchRendering, setEnableDepthOffset, setGeometryRegenerationInterval, setHighlightAttributes, setHighlighted, setOutlinePickWidth, setReferencePosition, setViewDistanceExpiration, setVisible, updateSurfaceShape
onMessage, propertyChange
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onMessage
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
protected boolean attributesResolved
protected final KMLGroundOverlay parent
public KMLGroundOverlayPolygonImpl(KMLTraversalContext tc, KMLGroundOverlay overlay)
tc
- the current KMLTraversalContext
.overlay
- the KMLGroundOverlay
to render as a polygon.NullPointerException
- if the geomtry is null.IllegalArgumentException
- if the parent placemark or the traversal context is null.public boolean isHighlighted()
isHighlighted
in interface Highlightable
isHighlighted
in class AbstractShape
protected boolean mustResolveHref()
public void preRender(KMLTraversalContext tc, DrawContext dc)
preRender
in interface KMLRenderable
tc
- the current KML traversal context.dc
- the current draw context.public void render(KMLTraversalContext tc, DrawContext dc)
render
in interface KMLRenderable
tc
- the current KML traversal context.dc
- the current draw context.