public class GLVehicleModelLayer extends GLRubberModelLayer implements AbstractSheet.OnLoadListener, MapItem.OnMetadataChangedListener, AbstractSheet.OnAlphaChangedListener
Modifier and Type | Field and Description |
---|---|
static boolean |
USE_INSTANCES |
Constructor and Description |
---|
GLVehicleModelLayer(MapRenderer renderer,
VehicleModelLayer subject,
MapGroup group) |
Modifier and Type | Method and Description |
---|---|
protected GLRubberModel |
createGLModel(RubberModel mdl) |
int |
getRenderPass() |
void |
onAlphaChanged(AbstractSheet sheet,
int alpha) |
void |
onLoadProgress(AbstractSheet sheet,
int progress) |
void |
onLoadStateChanged(AbstractSheet sheet,
LoadState ls) |
void |
onMetadataChanged(MapItem item,
java.lang.String field) |
void |
release() |
protected void |
unregister(RubberModel mdl) |
protected boolean |
updateRenderList(ViewState state,
java.util.Collection<GLMapRenderable2> pending) |
createPendingData, getHitTestList, getRenderList, hitTest, onBoundsChanged, onItemAdded, onItemRemoved, onVisibleChanged, query, register, releasePendingData, resetPendingData, start, stop
public static final boolean USE_INSTANCES
public GLVehicleModelLayer(MapRenderer renderer, VehicleModelLayer subject, MapGroup group)
public void release()
public int getRenderPass()
getRenderPass
in class GLRubberModelLayer
protected GLRubberModel createGLModel(RubberModel mdl)
createGLModel
in class GLRubberModelLayer
protected void unregister(RubberModel mdl)
unregister
in class GLRubberModelLayer
protected boolean updateRenderList(ViewState state, java.util.Collection<GLMapRenderable2> pending)
updateRenderList
in class GLRubberModelLayer
public void onLoadStateChanged(AbstractSheet sheet, LoadState ls)
onLoadStateChanged
in interface AbstractSheet.OnLoadListener
public void onLoadProgress(AbstractSheet sheet, int progress)
onLoadProgress
in interface AbstractSheet.OnLoadListener
public void onMetadataChanged(MapItem item, java.lang.String field)
onMetadataChanged
in interface MapItem.OnMetadataChangedListener
public void onAlphaChanged(AbstractSheet sheet, int alpha)
onAlphaChanged
in interface AbstractSheet.OnAlphaChangedListener