没有合适的资源?快使用搜索试试~ 我知道了~
首页TerraExplorer Pro v7.0.1二次开发指南
TerraExplorer Pro v7.0.1二次开发指南
需积分: 11 3 下载量 151 浏览量
更新于2024-07-14
收藏 6.01MB PDF 举报
"TerraExplorer Pro v7.0.1二次开发用户操作手册.pdf"
TerraExplorer Pro是一款强大的三维地球可视化软件,其v7.0.1版本提供了丰富的二次开发功能,允许开发者通过TERRAEXPLORER API进行定制化应用的构建。该用户操作手册详细介绍了如何利用这些API来扩展和集成TerraExplorer Pro的功能。
1. TERRAEXPLORER API相关功能模块:
API包括了一系列接口,如ISGWorld701、ICreator701、IAnalysis701、SkylineGlobe、TerraExplorerViewer以及ActiveX控件。这些接口提供了对软件核心功能的访问,如场景管理、对象创建、数据分析和用户界面交互。
1.1 ISGWorld701接口:
这是主要的接口之一,用于与TerraExplorer Pro的核心世界模型进行交互。它包含了控制场景、加载数据、处理事件等关键功能。
1.1.1 AttachEvent和DetachEvent:
这两个方法分别用于添加和移除事件监听器,使得开发者能够响应TerraExplorer中的各种事件,如用户交互或数据更新。
1.1.2 GetOptionParam和SetOptionParam:
这些方法用于获取和设置TerraExplorer的配置参数,允许开发者调整软件的行为以满足特定需求。
1.1.3 Open:
此方法用于打开一个SGWorld文件,这是TerraExplorer的数据存储格式,包含地形、图像、对象等信息。
1.2 ICreator701接口:
主要用于创建和管理场景中的对象,如点、线、面、建筑物等。
1.3 IAnalysis701接口:
提供了数据分析功能,例如距离测量、体积计算等。
1.4 SkylineGlobe和TerraExplorerViewer接口:
这两个接口分别用于全局视角的控制和视图管理,使得开发者可以自定义用户的查看体验。
1.5 COM接口的使用:
操作手册详细阐述了如何在C#和JavaScript环境中创建客户端应用程序,并解释了HRESULT类型返回值的意义。
1.6 基本概念:
包括单位系统、偏移、俯仰和翻滚角度的定义,以及时间处理。这些概念是理解和编程TerraExplorer API的基础。
1.7 示例代码:
手册提供了多个示例,如控制摄像机移动、管理项目树、对象操作、事件处理、坐标系转换、WKT和WKB地理数据格式的使用,以及矢量图层和导航地图窗口的创建。
2. API V6.6到V7.0.1的更新:
这一部分详细列出了新版本API的改进,包括新增的属性、方法、事件和接口,帮助开发者了解升级后的变化并适应新功能。
3. SGWorld:
ISGWORLD701接口的深入探讨,包括了新的属性和方法,如IgnoreAccelerators、OnAnalysisDistancePointAdded和OnAnalysisProgress,这些都与数据分析和性能优化有关。
通过这份操作手册,开发者能够充分利用TerraExplorer Pro的二次开发能力,创建出具有独特功能的应用程序,满足各种专业领域的需求,如地理信息系统、城市规划、环境监测等。
XV
4.35.1 Area ........................................................................................................................... 422
4.36 ILINEOFSIGHT701 ............................................................................................................ 422
4.36.1 HiddenTargets ........................................................................................................... 423
4.36.2 VisibleTargets ............................................................................................................ 423
4.37 ILINESTRING ..................................................................................................................... 423
4.37.1 Length ....................................................................................................................... 424
4.37.2 NumPoints ................................................................................................................ 425
4.37.3 Value ......................................................................................................................... 425
4.37.4 get_Value .................................................................................................................. 425
4.37.5 IsClosed ..................................................................................................................... 425
4.38 ILINESTYLE701 ................................................................................................................. 426
4.38.1 Pattern ...................................................................................................................... 426
4.38.2 Width ........................................................................................................................ 427
4.39 IMESHLAYER701 .............................................................................................................. 427
4.39.1 GroundObject ........................................................................................................... 428
4.39.2 MeshGroundOffset ................................................................................................... 429
4.39.3 Oversampling ............................................................................................................ 429
4.39.4 Path ........................................................................................................................... 429
4.39.5 ReplaceTerrainWithMesh ......................................................................................... 430
4.39.6 Refresh ...................................................................................................................... 430
4.39.7 ScaleFactor ................................................................................................................ 430
4.39.8 ScaleX ........................................................................................................................ 431
4.39.9 ScaleY ........................................................................................................................ 431
4.39.10 ScaleZ ........................................................................................................................ 432
4.40 IMESSAGEOBJECT701 ..................................................................................................... 432
4.40.1 MessageID ................................................................................................................ 433
4.40.2 Activate ..................................................................................................................... 433
4.40.3 GetMessageObject ................................................................................................... 433
4.41 IMOUSEINFO701 ............................................................................................................... 434
4.41.1 Flags .......................................................................................................................... 434
4.41.2 X ................................................................................................................................ 435
4.41.3 Y ................................................................................................................................ 435
4.42 IMOVIEWRITER701........................................................................................................... 435
4.42.1 CreateMovie ............................................................................................................. 436
4.42.2 GetAvailableCodecs .................................................................................................. 437
4.43 IMULTILINESTRING ........................................................................................................... 438
4.43.1 Length ....................................................................................................................... 439
4.43.2 IsClosed ..................................................................................................................... 439
4.44 IMULTIPLE3DWINDOWS701 ............................................................................................. 440
XVI
4.44.1 IsLeader ..................................................................................................................... 440
4.44.2 LinkPosition ............................................................................................................... 441
4.44.3 SetAsLeader .............................................................................................................. 443
4.44.4 UnlinkPosition ........................................................................................................... 443
4.45 IMULTIPOLYGON ............................................................................................................... 443
4.45.1 Area ........................................................................................................................... 444
4.46 IOBJECTTEXTURE701 ...................................................................................................... 445
4.46.1 FileName ................................................................................................................... 445
4.46.2 RotateAngle .............................................................................................................. 445
4.46.3 ScaleX ........................................................................................................................ 446
4.46.4 ScaleY ........................................................................................................................ 446
4.46.5 TilingMethod............................................................................................................. 446
4.47 IPOINT ............................................................................................................................... 447
4.47.1 X ................................................................................................................................ 448
4.47.2 Y ................................................................................................................................ 448
4.47.3 Z ................................................................................................................................ 448
4.48 IPOINTCLOUDDEFAULTLOCATION701 .............................................................................. 449
4.48.1 Altitude ..................................................................................................................... 449
4.48.2 X ................................................................................................................................ 449
4.48.3 Y ................................................................................................................................ 450
4.49 IPOINTS ............................................................................................................................. 450
4.49.1 Count ........................................................................................................................ 450
4.49.2 Item ........................................................................................................................... 451
4.49.3 AddPoint ................................................................................................................... 451
4.49.4 DeletePoint ............................................................................................................... 452
4.49.5 InsertPoint ................................................................................................................ 452
4.49.6 ToArray ...................................................................................................................... 453
4.50 IPOLYGON ......................................................................................................................... 454
4.50.1 Area ........................................................................................................................... 455
4.50.2 NumInteriorRings ...................................................................................................... 456
4.50.3 get_InteriorRing ........................................................................................................ 456
4.51 IPOPUPMESSAGE701 ....................................................................................................... 456
4.51.1 Align .......................................................................................................................... 457
4.51.2 AllowDrag .................................................................................................................. 458
4.51.3 AllowResize ............................................................................................................... 458
4.51.4 AnchorToView ........................................................................................................... 458
4.51.5 Caption ...................................................................................................................... 459
4.51.6 Flags .......................................................................................................................... 459
4.51.7 FocusToRender .......................................................................................................... 460
XVII
4.51.8 Height ....................................................................................................................... 460
4.51.9 InnerHTML ................................................................................................................ 460
4.51.10 InnerText ................................................................................................................... 461
4.51.11 Left ............................................................................................................................ 461
4.51.12 Src ............................................................................................................................. 461
4.51.13 Timeout ..................................................................................................................... 462
4.51.14 Top ............................................................................................................................ 462
4.51.15 ShowCaption ............................................................................................................. 462
4.51.16 Width ........................................................................................................................ 463
4.52 IPOSITION701 ................................................................................................................... 463
4.52.1 Altitude ..................................................................................................................... 464
4.52.2 AltitudeType .............................................................................................................. 464
4.52.3 Cartesian ................................................................................................................... 465
4.52.4 Distance .................................................................................................................... 466
4.52.5 Pitch .......................................................................................................................... 466
4.52.6 Roll ............................................................................................................................ 466
4.52.7 X ................................................................................................................................ 467
4.52.8 Y ................................................................................................................................ 467
4.52.9 Yaw ............................................................................................................................ 467
4.52.10 AimTo ........................................................................................................................ 468
4.52.11 ChangeAltitudeType .................................................................................................. 468
4.52.12 Copy .......................................................................................................................... 469
4.52.13 DistanceTo ................................................................................................................. 470
4.52.14 Init ............................................................................................................................. 470
4.52.15 InitFrom .................................................................................................................... 472
4.52.16 IsEqual ....................................................................................................................... 473
4.52.17 Lerp ........................................................................................................................... 474
4.52.18 Move ......................................................................................................................... 475
4.52.19 MoveTo ward ............................................................................................................. 476
4.52.20 ToAbsolute ................................................................................................................ 476
4.52.21 ToRelati ve .................................................................................................................. 477
4.52.22 ToStr in g ..................................................................................................................... 478
4.53 IPRESENTATION701 .......................................................................................................... 479
4.53.1 CaptionHeight ........................................................................................................... 481
4.53.2 CaptionPosition ......................................................................................................... 482
4.53.3 CaptionSizeType ........................................................................................................ 482
4.53.4 CaptionWidth ............................................................................................................ 483
4.53.5 LoopRoute ................................................................................................................. 483
4.53.6 PlayAlgorithm ........................................................................................................... 483
XVIII
4.53.7 PlayMode .................................................................................................................. 484
4.53.8 PlaySpeedFactor........................................................................................................ 484
4.53.9 PresentationStatus .................................................................................................... 485
4.53.10 Continue ................................................................................................................... 485
4.53.11 CreateCaptionStep .................................................................................................... 486
4.53.12 CreateClearCaptionStep ............................................................................................ 487
4.53.13 CreateCurrentTimeStep ............................................................................................ 488
4.53.14 CreateFlightSpeedFactorStep ................................................................................... 489
4.53.15 CreateFollowDynamicObjectStep ............................................................................. 491
4.53.16 CreateGroupTimeRangeStep .................................................................................... 492
4.53.17 CreateLocationStep ................................................................................................... 493
4.53.18 CreateMessageStep .................................................................................................. 495
4.53.19 CreateOpenToolStep ................................................................................................. 496
4.53.20 CreatePlayTimeAnimationCustomStep ..................................................................... 497
4.53.21 CreatePlayTimeAnimationGroupStep ....................................................................... 499
4.53.22 CreatePlayTimeAnimationProjectStep ...................................................................... 500
4.53.23 CreateRestartDynamicObjectStep ............................................................................ 502
4.53.24 CreateSetTimeStep ................................................................................................... 503
4.53.25 CreateShowGroupStep ............................................................................................. 504
4.53.26 CreateShowObjectStep ............................................................................................. 506
4.53.27 CreateShowUndergroundModeStep ........................................................................ 507
4.53.28 DeleteStep ................................................................................................................ 508
4.53.29 get_ClientData .......................................................................................................... 509
4.53.30 MoveStepTo .............................................................................................................. 509
4.53.31 NextStep ................................................................................................................... 510
4.53.32 Pause ......................................................................................................................... 510
4.53.33 Play............................................................................................................................ 511
4.53.34 PlayStep .................................................................................................................... 511
4.53.35 PreviousStep ............................................................................................................. 512
4.53.36 ResetPresentation ..................................................................................................... 512
4.53.37 Resume ..................................................................................................................... 513
4.53.38 set_ClientData........................................................................................................... 513
4.53.39 ShowEditor ................................................................................................................ 514
4.53.40 StartRecord ............................................................................................................... 514
4.53.41 Stop ........................................................................................................................... 514
4.53.42 StopRecord ................................................................................................................ 515
4.54 IPRESENTATIONSTEP701 ................................................................................................. 515
4.54.1 AnimationEndDateAndTime ..................................................................................... 516
4.54.2 AnimationLength ...................................................................................................... 517
XIX
4.54.3 AnimationStartDateAndTime .................................................................................... 517
4.54.4 CaptionText ............................................................................................................... 517
4.54.5 CaptionTimeout ........................................................................................................ 518
4.54.6 Continue ................................................................................................................... 518
4.54.7 Description ................................................................................................................ 518
4.54.8 FlightSpeedFactor ..................................................................................................... 519
4.54.9 ID ............................................................................................................................... 519
4.54.10 Index ......................................................................................................................... 519
4.54.11 KeyStep ..................................................................................................................... 520
4.54.12 LocationSplineSpeed ................................................................................................. 520
4.54.13 LocationSplineSpeedBehavior .................................................................................. 520
4.54.14 SetTimeVal ................................................................................................................ 521
4.54.15 ShowHideValue ......................................................................................................... 521
4.54.16 Type .......................................................................................................................... 522
4.54.17 WaitTime ................................................................................................................... 523
4.55 IPRESENTATIONSTEPS701 ............................................................................................... 523
4.55.1 Count ........................................................................................................................ 523
4.55.2 Current ...................................................................................................................... 523
4.55.3 Step ........................................................................................................................... 524
4.56 IRINGS ............................................................................................................................... 524
4.56.1 Count ........................................................................................................................ 525
4.56.2 Item ........................................................................................................................... 525
4.56.3 AddRing ..................................................................................................................... 525
4.56.4 DeleteRing................................................................................................................. 526
4.57 IROOFFACE701 ................................................................................................................ 527
4.57.1 RooftopDeltaHeight .................................................................................................. 527
4.57.2 Style .......................................................................................................................... 528
4.58 IROUTEWAYPOINT701 ...................................................................................................... 528
4.58.1 Altitude ..................................................................................................................... 528
4.58.2 MessageID ................................................................................................................ 529
4.58.3 Pitch .......................................................................................................................... 529
4.58.4 Roll ............................................................................................................................ 529
4.58.5 Speed ........................................................................................................................ 530
4.58.6 Time .......................................................................................................................... 530
4.58.7 X ................................................................................................................................ 530
4.58.8 Y ................................................................................................................................ 531
4.58.9 Yaw ............................................................................................................................ 531
4.59 IROUTEWAYPOINTS701 ................................................................................................... 531
4.59.1 Count ........................................................................................................................ 532
剩余777页未读,继续阅读
2018-02-06 上传
2019-05-14 上传
2018-10-06 上传
2019-07-16 上传
点击了解资源详情
2024-10-28 上传
2024-10-29 上传
houlstj
- 粉丝: 0
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Android圆角进度条控件的设计与应用
- mui框架实现带侧边栏的响应式布局
- Android仿知乎横线直线进度条实现教程
- SSM选课系统实现:Spring+SpringMVC+MyBatis源码剖析
- 使用JavaScript开发的流星待办事项应用
- Google Code Jam 2015竞赛回顾与Java编程实践
- Angular 2与NW.js集成:通过Webpack和Gulp构建环境详解
- OneDayTripPlanner:数字化城市旅游活动规划助手
- TinySTM 轻量级原子操作库的详细介绍与安装指南
- 模拟PHP序列化:JavaScript实现序列化与反序列化技术
- ***进销存系统全面功能介绍与开发指南
- 掌握Clojure命名空间的正确重新加载技巧
- 免费获取VMD模态分解Matlab源代码与案例数据
- BuglyEasyToUnity最新更新优化:简化Unity开发者接入流程
- Android学生俱乐部项目任务2解析与实践
- 掌握Elixir语言构建高效分布式网络爬虫
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功