public class GLTrackPolyline extends GLPolyline
GLMapItem2.OnBoundsChangedListener, GLMapItem2.OnVisibleChangedListener
Modifier and Type | Field and Description |
---|---|
static GLMapItemSpi3 |
SPI |
static java.lang.String |
TAG |
_nadirClamp, _needsUpdate, _pointsSize, _verts2, _verts2Ptr, _verts2Size, altitudeMode, basicLineStyle, currentDraw, div_180_pi, impl, needsProjectVertices, numPoints, recompute
fill, fillColor, stroke, strokeAlpha, strokeBlue, strokeColor, strokeGreen, strokeRed, strokeWeight
bounds, clickable, context, DEFAULT_MAX_ALT, DEFAULT_MIN_ALT, minMapGsd, renderPass, subject, visible, zOrder
Constructor and Description |
---|
GLTrackPolyline(MapRenderer surface,
TrackPolyline subject) |
Modifier and Type | Method and Description |
---|---|
void |
batch(GLMapView view,
GLRenderBatch batch) |
void |
draw(GLMapView ortho,
int renderPass) |
protected void |
finalize() |
protected HitTestResult |
hitTestImpl(MapRenderer3 renderer,
HitTestQueryParameters params)
Perform a hit test on this map item
Sub-classes should override this method for hit-testing
|
boolean |
isBatchable(GLMapView view) |
protected boolean |
uses2DPointBuffer()
Whether points should be stored in a 2D or 3D point buffer
(if altitude should be ignored or not)
XXX - We always need 3D points for hit testing to work properly
with perspective rendering
|
_ensureVertBuffer, _projectVerts, getAltitudeMode, getDefaultWidgetViewF, getWidgetViewF, onAltitudeModeChanged, onBasicLineStyleChanged, onFillColorChanged, onHeightChanged, onHeightStyleChanged, onLabelsChanged, onLabelTextSizeChanged, onPointsChanged, onStrokeColorChanged, onStrokeWeightChanged, onStyleChanged, release, startObserving, stopObserving, updateNadirClamp, updatePointsImpl, updatePointsImpl, validateLabels
addBoundsListener, addVisibleListener, dispatchOnBoundsChanged, dispatchOnVisibleChanged, forward, forward, forward, forward, forward, forward, forward, getBounds, getClampToGroundAtNadir, getClickable, getMinDrawResolution, getOpaque, getRenderPass, getSubject, getZOrder, hitTest, isVisible, markSurfaceDirty, onClickableChanged, onVisibleChanged, onZOrderChanged, removeBoundsListener, removeVisibleListener, runOnGLThread, setClampToGroundAtNadir, setOpaque
public static final java.lang.String TAG
public static final GLMapItemSpi3 SPI
public GLTrackPolyline(MapRenderer surface, TrackPolyline subject)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
protected boolean uses2DPointBuffer()
GLPolyline
uses2DPointBuffer
in class GLPolyline
public void draw(GLMapView ortho, int renderPass)
draw
in class GLPolyline
public boolean isBatchable(GLMapView view)
public void batch(GLMapView view, GLRenderBatch batch)
protected HitTestResult hitTestImpl(MapRenderer3 renderer, HitTestQueryParameters params)
AbstractGLMapItem2
hitTestImpl
in class GLPolyline
renderer
- Map rendererparams
- Query parameters