public final class GLModelLayer
extends <any>
Constructor and Description |
---|
GLModelLayer(MapRenderer surface,
FeatureLayer3 subject) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<GLMapRenderable2> |
createPendingData() |
void |
draw(GLMapView view,
int renderPass) |
static java.io.File |
getCacheDir(Feature feature) |
static ModelInfo |
getModelInfo(Feature f) |
protected java.util.Collection<? extends GLMapRenderable2> |
getRenderList() |
int |
getRenderPass() |
void |
hitTest(java.util.Collection<java.lang.Long> fids,
float screenX,
float screenY,
GeoPoint point,
double resolution,
float radius,
int limit) |
void |
onDataStoreContentChanged(FeatureDataStore2 dataStore) |
void |
onFeatureDeleted(FeatureDataStore2 dataStore,
long fid) |
void |
onFeatureInserted(FeatureDataStore2 dataStore,
long fid,
FeatureDefinition2 def,
long version) |
void |
onFeatureUpdated(FeatureDataStore2 dataStore,
long fid,
int modificationMask,
java.lang.String name,
Geometry geom,
Style style,
AttributeSet attribs,
int attribsUpdateType) |
void |
onFeatureVisibilityChanged(FeatureDataStore2 dataStore,
long fid,
boolean visible) |
protected void |
query(ViewState state,
java.util.Collection<GLMapRenderable2> result) |
protected void |
releasePendingData(java.util.Collection<GLMapRenderable2> pendingData) |
void |
requestRefresh() |
protected void |
resetPendingData(java.util.Collection<GLMapRenderable2> pendingData) |
void |
start() |
void |
stop() |
protected boolean |
updateRenderList(ViewState state,
java.util.Collection<GLMapRenderable2> pendingData) |
public void start()
public void stop()
public void draw(GLMapView view, int renderPass)
protected java.util.Collection<? extends GLMapRenderable2> getRenderList()
protected void resetPendingData(java.util.Collection<GLMapRenderable2> pendingData)
protected void releasePendingData(java.util.Collection<GLMapRenderable2> pendingData)
protected java.util.Collection<GLMapRenderable2> createPendingData()
protected boolean updateRenderList(ViewState state, java.util.Collection<GLMapRenderable2> pendingData)
protected void query(ViewState state, java.util.Collection<GLMapRenderable2> result)
public int getRenderPass()
public static ModelInfo getModelInfo(Feature f)
public void onDataStoreContentChanged(FeatureDataStore2 dataStore)
public void onFeatureInserted(FeatureDataStore2 dataStore, long fid, FeatureDefinition2 def, long version)
public void onFeatureUpdated(FeatureDataStore2 dataStore, long fid, int modificationMask, java.lang.String name, Geometry geom, Style style, AttributeSet attribs, int attribsUpdateType)
public void onFeatureDeleted(FeatureDataStore2 dataStore, long fid)
public void onFeatureVisibilityChanged(FeatureDataStore2 dataStore, long fid, boolean visible)
public void requestRefresh()
public void hitTest(java.util.Collection<java.lang.Long> fids, float screenX, float screenY, GeoPoint point, double resolution, float radius, int limit)
public static java.io.File getCacheDir(Feature feature)