gov.tak.platform.widgets.opengl.GLWidget
@Deprecated public abstract class GLWidget extends java.lang.Object implements MapWidget.OnWidgetPointChangedListener, MapWidget.OnVisibleChangedListener
Modifier and Type | Field and Description |
---|---|
protected GLMapView |
orthoView
Deprecated.
|
protected MapWidget |
subject
Deprecated.
|
Constructor and Description |
---|
GLWidget(MapWidget subject,
GLMapView orthoView)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static gov.tak.platform.widgets.opengl.GLWidget.DrawState |
drawStateFromFixedPipeline(MapRenderer2 mapSceneRenderer2)
Deprecated.
|
void |
drawWidget()
Deprecated.
|
void |
drawWidget(gov.tak.platform.widgets.opengl.GLWidget.DrawState drawState)
Deprecated.
|
abstract void |
drawWidgetContent()
Deprecated.
Renders the widget content.
|
IMapWidget |
getSubject()
Deprecated.
|
protected GLMapSurface |
getSurface()
Deprecated.
|
protected android.graphics.RectF |
getWidgetViewF()
Deprecated.
Retrieve the bounding RectF of the current state of the Map.
|
float |
getX()
Deprecated.
|
float |
getY()
Deprecated.
|
void |
onVisibleChanged(MapWidget widget)
Deprecated.
|
void |
onWidgetPointChanged(MapWidget widget)
Deprecated.
|
abstract void |
releaseWidget()
Deprecated.
Releases any resources allocated as a result of
drawWidgetContent() . |
void |
setX(float x)
Deprecated.
|
void |
setY(float y)
Deprecated.
|
void |
start()
Deprecated.
|
void |
startObserving(MapWidget subject)
Deprecated.
|
void |
stop()
Deprecated.
|
void |
stopObserving(MapWidget subject)
Deprecated.
|
protected final MapWidget subject
protected GLMapView orthoView
public GLWidget(MapWidget subject, GLMapView orthoView)
protected GLMapSurface getSurface()
public void startObserving(MapWidget subject)
public void stopObserving(MapWidget subject)
public final void start()
public final void stop()
public void onWidgetPointChanged(MapWidget widget)
onWidgetPointChanged
in interface MapWidget.OnWidgetPointChangedListener
public static gov.tak.platform.widgets.opengl.GLWidget.DrawState drawStateFromFixedPipeline(MapRenderer2 mapSceneRenderer2)
public void onVisibleChanged(MapWidget widget)
onVisibleChanged
in interface MapWidget.OnVisibleChangedListener
public void drawWidget(gov.tak.platform.widgets.opengl.GLWidget.DrawState drawState)
public void drawWidget()
protected android.graphics.RectF getWidgetViewF()
public abstract void drawWidgetContent()
Must be invoked on GL render thread!
public abstract void releaseWidget()
drawWidgetContent()
.
Must be invoked on GL render thread!
public IMapWidget getSubject()
public float getX()
public float getY()
public void setX(float x)
public void setY(float y)