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, recomputefill, fillColor, stroke, strokeAlpha, strokeBlue, strokeColor, strokeGreen, strokeRed, strokeWeightbounds, 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, validateLabelsaddBoundsListener, 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, setOpaquepublic 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.Objectjava.lang.Throwableprotected boolean uses2DPointBuffer()
GLPolylineuses2DPointBuffer in class GLPolylinepublic void draw(GLMapView ortho,
int renderPass)
draw in class GLPolylinepublic boolean isBatchable(GLMapView view)
public void batch(GLMapView view,
GLRenderBatch batch)
protected HitTestResult hitTestImpl(MapRenderer3 renderer,
HitTestQueryParameters params)
AbstractGLMapItem2hitTestImpl in class GLPolylinerenderer - Map rendererparams - Query parameters