/**
* @constructor
*/
function XUIScene() {
}
XUIScene.prototype = {
//事件
/**
* 瓦片加载完成
* @eventname XUI_Scene_LoadingComplete
* @eventid 0x00000001
*/
/**
* 选择轨迹点
* @eventname XUI_Scene_CollectTrack
* @eventid 0x00000002
*/
/**
* 结束选点
* @eventname XUI_Scene_EndPointSelection
* @eventid 0x00000003
*/
/**
* 清空选点
* @eventname XUI_Scene_ClearPointSelection
* @eventid 0x00000004
*/
//接口
/**
* 添加模型
* @param {String} strUrl 模型资源路径
* @param {Double} dLon 经度
* @param {Double} dLat 纬度
* @param {Double} dHei 高度
* @param {Number} nID 模型id
* @param {Double} dScale 模型大小
* @property {Collection} ModelProp ["", 0, 0, 0, 0,0]
*/
AddModel:function (strUrl,dLon,dLat,dHei,nID,dScale) {
},
/**
* 三维视角
*/
Set3DMode:function () {
},
/**
* 二维视角
*/
Set2DMode:function () {
},
/**
* 删除实体对象
* @param {Number} nID 模型id
*/
RemoveEntity:function (nID) {
},
/**
* 清空所有场景对象
*/
DestoryAll:function () {
},
/**
* 修改模型属性
* @param {Number} nID 模型id
* @param {Double} dLon 经度
* @param {Double} dLat 纬度
* @param {Double} dHei 高度
* @param {Double} dScale 模型大小
* @param {Double} dheading 偏航角
* @param {Double} dpitch 俯仰角
* @param {Double} droll 翻滚角
*/
ModifyModelProperties:function (nID,dLon,dLat,dHei,dScale,dheading,dpitch,droll) {
},
/**
* 实体显示隐藏
* @param {Number} nID 模型id
* @param {Boolean} Isvisible
*/
SetEnvityVisible:function (nID,Isvisible) {
},
/**
* 切换至实体视角
* @param {Number} nID
*/
ZoomToEntity:function (nID) {
},
/**
* 整体视角
*/
GlobalCameraAngle:function () {
},
/**
* 设置视角深度
* @param {Number} nHeight
*/
SetCameraPosition:function (nHeight) {
},
/**
* 动画暂停
*/
AnimationPause:function () {
},
/**
* 动画播放
*/
AnimationPlayback:function () {
},
/**
* 动画回退
*/
AnimationFallback:function () {
},
/**
* 动画速率
* @param {Number} Nspeed
*/
AnimationRate:function (Nspeed) {
},
/**
* 设置初始与结束时间
* @param {String} start
* @param {String} stop
*/
SetTimeline:function (start,stop) {
},
/**
* 加载在线地图
* @param {String} strUrl "http://mt1.google.cn/vt/lyrs=s,h&gl=cn&x={x}&y={y}&z={z}&s=Gali"
*/
SetOnlineMap:function (strUrl) {
},
/**
* 设置离线地图加载
* @param {String} strUrl `./BaseEarthFiles/OfflineTileMap/{z}/{x}/{y}.png`绝对路径
*/
SetOfflineMap:function (strUrl) {
},
/**
* 设置地球表层遮蔽效果
* @param {Boolean} isdepth
*/
SetEarthShadingEffect:function (isdepth) {
},
/**
* 开始鼠标点击事件
*/
StartMappingPoint:function () {
},
/**
* 获得坐标
* @return {Array}
*/
GetCoordinates:function () {
},
/**
* 停止鼠标点位测量
*/
StopMappingPoint:function () {
},
/**
* 删除所有选的点
*/
RemoveAllPoints:function () {
},
}