public class Layer3DInstance extends Layer3D
限定符和类型 | 方法和说明 |
---|---|
void |
addInstanceModel(String modelName,
ArrayList<InstanceObjectState> instanceObjectStates)
添加实例化模型
|
void |
dispose() |
double |
getLODRangeScale()
获取LOD切换系数
|
int |
getLODSize()
获取LOD层级数
|
double |
getMaxVisibleDistance()
获取最大可视距离
|
double |
getObjectFiltrateThreshold()
获取过滤阈值
|
double |
getTileWidth()
获取瓦片边长
|
void |
modifySelectedInstance(String modelName,
ArrayList<InstanceObjectState> instanceObjectStates)
修改选中的实例对象
|
void |
setLODModel(String modelName,
String[] listModelPath)
将模型添加到图层上
|
void |
setLODRangeScale(double LODRangeScale)
设置LOD切换系数
|
void |
setLODSize(int LODSize)
设置LOD层级数
|
void |
setMaxVisibleDistance(double maxVisibleDistance)
设置最大可视距离
|
void |
setObjectFiltrateThreshold(double objectFiltrateThreshold)
设置过滤阈值
|
void |
setTileWidth(double tileWidth)
设置瓦片边长
|
void |
updateSelectedInstance(String modelName,
ArrayList<InstanceObjectState> instanceObjectStates)
更新选中的实例对象
|
clearCustomClipPlane, clipByBox, fromXML, getAlphaReject, getBounds, getBoxClipPart, getCaption, getClipBox, getClipLineColor, getCustomClipCross, getCustomClipPlane, getDataName, getDescription, getEditFeature, getExtendXML, getFeatures, getFilterPixelSize, getMapServiceType, getMaxObjectVisibleDistance, getMaxVisibleAltitude, getMinObjectVisibleDistance, getMinVisibleAltitude, getMixColorType, getName, getParentGroup, getParentLayer, getPassword, getReceiveSunLight, getReleaseWhenInvisible, getSelection, getShdowType, getSnap, getSwipeRegion, getType, getVisibleDistance, getVisibleInViewport, hasLocalCache, isAlwaysRender, isChangedToLayerStyle, isDisposed, isEditable, isSelectable, isShadowEnable, isSketchMode, isSwipeEnable, isVisible, isWebDatasource, setAlphaReject, setAlwaysRender, setCaption, setChangedToLayerStyle, setClipLineColor, setCustomClipCross, setCustomClipPlane, setDescription, setEditable, setFilterPixelSize, setLocalCache, setMaxObjectVisibleDistance, setMaxVisibleAltitude, setMinObjectVisibleDistance, setMinVisibleAltitude, setMixColorType, setParentGroup, setParentLayer, setReceiveSunLight, setReleaseWhenInvisible, setSelectable, setSelection, setShadowEnable, setShadowType, setSkecthMode, setSketchMode, setSnap, setSwipeEnable, setSwipeRegion, setVisible, setVisibleDistance, setVisibleInViewport, toXML, updateData
public void dispose()
public int getLODSize()
public void setLODSize(int LODSize)
public double getTileWidth()
public void setTileWidth(double tileWidth)
public double getMaxVisibleDistance()
public void setMaxVisibleDistance(double maxVisibleDistance)
public double getObjectFiltrateThreshold()
public void setObjectFiltrateThreshold(double objectFiltrateThreshold)
public double getLODRangeScale()
public void setLODRangeScale(double LODRangeScale)
public void addInstanceModel(String modelName, ArrayList<InstanceObjectState> instanceObjectStates)
modelName
- 添加实例化模型对象的名字instanceObjectStates
- 实例化模型对象状态,包括模型的位置、姿态、颜色等public void updateSelectedInstance(String modelName, ArrayList<InstanceObjectState> instanceObjectStates)
public void modifySelectedInstance(String modelName, ArrayList<InstanceObjectState> instanceObjectStates)
Copyright © 2021–2024 SuperMap. All rights reserved.