public class GeoEntityManager
extends com.supermap.data.InternalHandleDisposable
public static GeoEntityManager getInstance()
public void dispose()
@Deprecated public void addGeoEntityLayer3D()
public void removeSimulationLayers()
public void setScene(Scene scene)
scene
- 场景。@Deprecated public void addGeoEntityDeleteListener(GeoEntityDeleteListener geoEntityDeleteListener)
@Deprecated public void removeGeoEntityDeleteListener(GeoEntityDeleteListener geoEntityDeleteListener)
public void addDeductionScriptStopListener(DeductionScriptStopListener deductionScriptStopListener)
deductionScriptStopListener
- 监听对象public void removeDeductionScriptStopListener(DeductionScriptStopListener deductionScriptStopListener)
deductionScriptStopListener
- 监听对象public void addGeoEntitySelectedListener(GeoEntitySelectedListener geoEntitySelectedListener)
geoEntitySelectedListener
- 监听对象public void removeGeoEntitySelectedListener(GeoEntitySelectedListener geoEntitySelectedListener)
geoEntitySelectedListener
- 监听对象public void addGeoEntityDeletingListener(GeoEntityDeletingListener geoEntityDeletingListener)
geoEntityDeletingListener
- 监听对象public void removeGeoEntityDeletingListener(GeoEntityDeletingListener geoEntityDeletingListener)
geoEntityDeletingListener
- 监听对象public void addGeoEntityEffectsChangingListener(GeoEntityEffectsChangingListener geoEntityEffectsChangingListener)
geoEntityEffectsChangingListener
- 监听对象public void removeGeoEntityEffectsChangingListener(GeoEntityEffectsChangingListener geoEntityEffectsChangingListener)
geoEntityEffectsChangingListener
- 监听对象public String getGeoEntityLayerName()
public String start(DeductionScriptGroup[] deductionScriptGroups, GeoEntityResetType eResetType)
deductionScriptGroups
- 执行的脚本组列表。eResetType
- 复位类型。public String start(DeductionScriptGroups pDeductionScriptGroups, GeoEntityResetType eResetType)
pDeductionScriptGroups
- 执行的脚本组集合。eResetType
- 复位类型。public String start(DeductionScriptGroup deductionScriptGroup, GeoEntityResetType eResetType)
deductionScriptGroup
- 执行的脚本组。eResetType
- 复位类型。public String start(DeductionScript deductionScript, GeoEntityResetType eResetType)
deductionScript
- 执行的脚本。eResetType
- 复位类型。public void stop(String strFuncName)
strFuncName
- [in] 脚本执行回调名称。public void pause(String strFuncName)
strFuncName
- 脚本执行回调名称。public void continueExecute(String strFuncName)
strFuncName
- 脚本执行回调名称。public void reset(String strFuncName)
strFuncName
- 脚本执行回调名称。public void initFromScene(Scene pScene)
pScene
- 场景。public boolean initFromFile(Scene pScene, String filePath)
pScene
- 场景。filePath
- 配置文件路径。public boolean toFile(String filePath)
filePath
- 配置文件路径。public ArrayList<DeductionScriptGroup> getDeductionScriptGroups()
public DeductionScriptGroups getAllDeductionScriptGroup()
public void addDeductionScriptGroup(DeductionScriptGroup scriptGroup)
public void removeDeductionScriptGroup(DeductionScriptGroup scriptGroup)
public String addGeoEntity(Scene pScene, String strName, Point3D pt, int nModelID)
pScene
- 场景。strName
- 实体名称。pt
- 实体位置。nModelID
- 模型ID(在模型数据集中的ID)。public String addGeoEntity(Scene pScene, String strName, Point3D pt, String strModelPath)
pScene
- 场景。strName
- 实体名称。pt
- 实体位置。strModelPath
- 模型路径。public String addGeoEntity(Scene pScene, String strName, Point3D pt)
pScene
- 场景。strName
- 实体名称。pt
- 实体位置。public String addGeoEntity(Scene pScene, String strName, Point3D pt, int nLibID, int nCode)
pScene
- 场景。strName
- 实体名称。pt
- 实体位置。nLibID
- 标号LibID。nCode
- 标号Code。public void removeGeoEntity(String strUUID)
strUUID
- 删除的地理实体UUID。public GeoEntityNode getRootNode()
public void removeAllGeoEntity()
public boolean isGeoEntityLayerEditable()
public boolean setGeoEntityLayerEditable(boolean bIsEditable)
bIsEditable
- 是否可编辑。public void setAugPicturePath(String filePath)
filePath
- 图片路径public String getAugPicturePath()
public void fullDisplayEntityLayer(Scene pScene)
pScene
- 三维场景public SatelliteManager getSatelliteManager()
public void initSatellites(Scene scene)
scene
- 场景。public GeoEntityNode getSatelliteGeoEntityRootGroupNode()
public GeoEntity getGeoEntity(String strUuid)
strUuid
- 实体uuid。public boolean addGeoEntity(Scene scene, GeoEntity geoEntity)
scene
- 场景。geoEntity
- 实体对象。public void setGeoEntitysVisible(ArrayList<GeoEntity> arrGeoEntity, boolean isVisible)
arrGeoEntity
- 实体对象列表isVisible
- 显隐public boolean getCurrentExcuteTime(String strFuncName, CurrentExcuteTime currentExcuteTime)
strFuncName
- 执行回调名(Start时的返回值)currentExcuteTime
- 前执行的章节索引以及时间public void hitTest(Point2D pntHitTest, SceneControl sceneControl)
pntHitTest
- 屏幕坐标。sceneControl
- 场景编辑对象。public void setPerspctiveChangeCamera(Scene scene)
scene
- 当前场景。public PerspectiveChangeParameter getCurPerspectiveChangeParameter()
public void setCurPerspectiveChangeParameter(PerspectiveChangeParameter param)
param
- 当前的视角切换参数对象public void setSelectedGeoEntity(String strUuid)
strUuid
- 实体UUIDpublic void onKeyDown(int nChar, int nFlags)
nChar
- 按键nFlags
- 辅助按键Copyright © 2021–2024 SuperMap. All rights reserved.