com.supermap.realspace
类 Layer3DModel
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.realspace.Layer3D
-
- com.supermap.realspace.Layer3DModel
-
已过时。
@Deprecated public class Layer3DModel extends Layer3D
-
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 限定符和类型 方法和说明 void
addModels(Feature3D[] features)
已过时。往缓存中添加模型,通过该方法可以动态地添加模型到缓存中。ArrayList<Integer>
getInvisibleIDs()
已过时。返回不可见对象的 ID 列表。Feature3D[]
getModels(int[] ids)
已过时。返回指定 ID 的模型对象。void
modifyModels(Feature3D[] features)
已过时。用于修改修改模型相关信息,指定的模型需要加载到内存中,否则修改可能失败。void
setInvisibleIDs(ArrayList<Integer> ids)
已过时。设置不可见对象的 ID 列表。-
从类继承的方法 com.supermap.realspace.Layer3D
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, isVertexColorLinear, 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, setVertexColorLinear, setVisible, setVisibleDistance, setVisibleInViewport, toXML, updateData
-
-
-
-
方法详细资料
-
getInvisibleIDs
public ArrayList<Integer> getInvisibleIDs()
已过时。返回不可见对象的 ID 列表。即,对象的 ID 是该列表的成员时,该对象不可见。- 返回:
- 不可见对象的 ID 列表。
-
setInvisibleIDs
public void setInvisibleIDs(ArrayList<Integer> ids)
已过时。设置不可见对象的 ID 列表。即,对象的 ID 是该列表的成员时,该对象不可见。- 参数:
ids
- 不可见对象的 ID 列表。
-
getModels
public Feature3D[] getModels(int[] ids)
已过时。返回指定 ID 的模型对象。该方法只能修改加载到内存中的选中模型对象,是否加载到内存可通过对象可见与否来判断,即不在当前场景窗口的模型是无法修改的。
- 参数:
ids
- 指定 ID 的模型对象。- 返回:
- 对应 ID 的对象集合,可能未完全包含 value 指定的对象。
-
modifyModels
public void modifyModels(Feature3D[] features)
已过时。用于修改修改模型相关信息,指定的模型需要加载到内存中,否则修改可能失败。该方法只能修改加载到内存中的选中的模型对象,是否加载到内存可通过可见与否来判断,即不在当前场景窗口的模型是不能修改的。
- 参数:
features
- 三维要素对象数组。
-
addModels
public void addModels(Feature3D[] features)
已过时。往缓存中添加模型,通过该方法可以动态地添加模型到缓存中。- 参数:
features
- 三维要素对象数组。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.