public class GLSensorFOV extends GLShape2 implements SensorFOV.OnMetricsChangedListener, Shape.OnPointsChangedListener
SensorFOV cone on the mapGLMapItem2.OnBoundsChangedListener, GLMapItem2.OnVisibleChangedListener| Modifier and Type | Field and Description |
|---|---|
protected boolean |
_clampLabelToGround |
protected int |
_labelIDl |
protected int |
_labelIDr |
protected GLLabelManager |
_labelManager |
protected int |
_textColor |
fill, fillColor, stroke, strokeAlpha, strokeBlue, strokeColor, strokeGreen, strokeRed, strokeWeightbounds, clickable, context, DEFAULT_MAX_ALT, DEFAULT_MIN_ALT, minMapGsd, renderPass, subject, visible, zOrder| Constructor and Description |
|---|
GLSensorFOV(MapRenderer surface,
SensorFOV subject) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(GLMapView ortho,
int renderPass) |
protected boolean |
ensureLabel() |
void |
onFillColorChanged(Shape shape) |
void |
onMetricsChanged(SensorFOV fov) |
void |
onPointsChanged(Shape fov) |
void |
onStrokeColorChanged(Shape shape) |
void |
onStrokeWeightChanged(Shape shape) |
void |
release() |
void |
startObserving()
Start observing the subject.
|
void |
stopObserving()
Stops observing the subject.
|
onStyleChangedaddBoundsListener, addVisibleListener, dispatchOnBoundsChanged, dispatchOnVisibleChanged, forward, forward, forward, forward, forward, forward, forward, getBounds, getClampToGroundAtNadir, getClickable, getMinDrawResolution, getOpaque, getRenderPass, getSubject, getZOrder, hitTest, hitTestImpl, isVisible, markSurfaceDirty, onClickableChanged, onVisibleChanged, onZOrderChanged, removeBoundsListener, removeVisibleListener, runOnGLThread, setClampToGroundAtNadir, setOpaqueprotected int _labelIDl
protected int _labelIDr
protected final GLLabelManager _labelManager
protected boolean _clampLabelToGround
protected int _textColor
public GLSensorFOV(MapRenderer surface,
SensorFOV subject)
protected boolean ensureLabel()
public void draw(GLMapView ortho,
int renderPass)
public void release()
release in class AbstractGLMapItem2public void startObserving()
GLMapItem2Invoking this method should generally refresh the state of the item.
This method may not be invoked on the GL context thread.
startObserving in interface GLMapItem2startObserving in class GLShape2public void stopObserving()
AbstractGLMapItem2AbstractGLMapItem2.startObserving().
This method may not be invoked on the GL context thread.
stopObserving in interface GLMapItem2stopObserving in class GLShape2public void onMetricsChanged(SensorFOV fov)
onMetricsChanged in interface SensorFOV.OnMetricsChangedListenerpublic void onPointsChanged(Shape fov)
onPointsChanged in interface Shape.OnPointsChangedListenerpublic void onFillColorChanged(Shape shape)
onFillColorChanged in interface Shape.OnFillColorChangedListeneronFillColorChanged in class GLShape2public void onStrokeColorChanged(Shape shape)
onStrokeColorChanged in interface Shape.OnStrokeColorChangedListeneronStrokeColorChanged in class GLShape2public void onStrokeWeightChanged(Shape shape)
onStrokeWeightChanged in interface Shape.OnStrokeWeightChangedListeneronStrokeWeightChanged in class GLShape2