EarthSLOT
EarthSLOT TerraExplorer Pro Help File Prev Page Prev Page
Chapter 1. Introduction
About This Manual
Numbers and Bullets
“See” Statement with Hyperlink
Finding Your Way in This Manual
Using the Online Help
Using Web Resources
The TerraExplorer Pro Family Hierarchy
About TerraExplorer Pro
TerraExplorer Pro Extensions
About TerraDeveloper
About TerraExplorer Run Time Pro
About the TerraExplorer Viewer
TerraSuite Architecture
Chapter 2. Getting Started
Software and Hardware Requirements
License Mechanism
Installing TerraExplorer Pro
Uninstalling TerraExplorer Pro
Starting TerraExplorer Pro
Chapter 3. What’s new in release 4.6?
Performance and Quality
Tools
Load Layers
Analysis Tools
Points Cloud (Extension)
User Interface
Objects
Navigation
API
What’s New in Release 4.6.1?
What’s New in Release 4.6.2?
Chapter 4. Basic concepts
The Start Page
Application Layout
Adjusting the Window Size
Adjusting Container Size
TerraExplorer Pro Windows
Menus and Controls
Creating and Opening Projects
Setting the Auto-Start Procedure
Saving Projects
Creating TerraExplorer Basic Kits
Chapter 5. Navigating in the 3D world
Concept
Flying to Locations
Flying to Objects
Playing Routes
Free Flight
Free Flight Using the Mouse
Free Flight Using the Flight Control Panel
Free Flight Using the Keyboard
Free Flight Using the Joystick
Using the View Toolbox Tab
Chapter 6. Setting the project
About the Project Settings
General
Terrain Parameters
Flight Model
Joystick
Data Provider
Size and Layout
Container Settings
Security
Startup Parameters
Projection
Chapter 7. Using the information window
About the Information Window
Working with Groups
Selecting Objects from the Information Window
Organizing Objects in Groups
Sorting Group Elements
Operation of Information Window Elements
Creating an Information Window Message
Chapter 8. Using TerraExplorer options
About TerraExplorer Options
Graphics
Navigation
Units
Head up Display
Field of View
Route
Chapter 9. Working with Objects
Creating New Objects
Selecting Objects for Editing
Working With the Properties Sheet
Editing Objects in the 3D Window
Multi-Editing
Adding Messages and Tool Tips
Copying Objects
Moving Objects
Deleting Objects
Show Objects in TerraExplorer Basic Viewer Information Window
Setting Objects for Auto-Start
Attaching Objects to Other Objects
Chapter 10. 2D Objects
About 2D Objects
Text Label
Image Label
Label’s Frame File Format
Polyline
Polygon
Rectangle
Regular Polygon
2D Arrow
Circle
Ellipse
Arc
Imagery Layer
Video On Terrain
Chapter 11. 3D Objects
About 3D Objects
Import 3D Model
Import Point Cloud Model
Import Linear Point Cloud Set
Building
3D Polygon
Box
Cylinder
Sphere
Cone
Pyramid
3D Arrow
Chapter 12. Dynamic objects
About Dynamic Objects
Ground Vehicle
Using External Coordinate Files
Air Vehicle
Loading Dynamic Routes
Attaching Objects to Routes
Editing Dynamic Objects
Chapter 13. Locations
Using Locations
Creating Locations
Editing Locations
Updating Locations to the Current Camera Position
Setting Locations for Auto-Start
Chapter 14. Routes
Using Routes
Creating Routes
Editing Routes
Creating Movies
Working with the Route Toolbox Tab
Set Routes for Auto Start
Chapter 15. Measurement tools
Using the Measurements Tools
Information Query Tool
The Horizontal Distance Tool
The Aerial Distance Tool
Vertical Difference Tool
The Area Tool
Contour Map Tool
Terrain Profile Tool
Best Path Tool
Line of Sight Analysis Tool
Viewshed Analysis Tool
Threat Dome Tool
Chapter 16. Working with GIS Layers
About Working With Layers
Loading Layers from GIS Files
Loading Layers from GIS Server
Selecting a Layer from the Server
Selecting Field Information
Setting Points Layer Parameters
Setting Polylines and Polygons Information
DXF Features Settings
OpenFlight Features Setting
Changing the coordinate system
Editing Layer Style
Editing Layer Attribute Data
Reloading Layers
Saving Layers
Saving to Shape File
Chapter 17. Navigation map WINDOW
Using the Navigation Map
Adding a Navigation Map to a Project
Deleting a Navigation Map from a Project
Chapter 18. Taking Snapshots
About the Snapshot tool
Setting snapshot size
Taking a Snapshot to a Floating Window
Saving a Snapshot to a File
Chapter 19. Working with Tools
About the Tools
Collaboration
Extract Terrain to MPT
Extract Terrain to VRML
Data Library
GPS Tracking
Find Objects
Duplicate Objects
Free Hand Drawing
Build Power Line
MapInfo® MapMarker® Geocoding Client
Navigation Aid
Multiple Coordinate Systems
MakeCPT
Chapter 20. Working with the API
Overview
Main Interfaces
TerraExplorer Pro main Interfaces
TerraExplorer Viewer Interfaces
TerraDeveloper Interfaces
How to Work with the COM Interface
Creating Client Applications
Working with Scripting languages
Working with Visual Basic
Working with C++
Basic Concepts
Units
Camera and Plane
Yaw, Pitch and Roll Angles
Yaw Values
Pitch Values
Roll Values
How To
Controlling the Plane and Camera
Getting the current position of the camera
Jumping to a new location
Flying to a new location
Dynamically controlling the position of the camera in each frame
Information Tree Management
Create and modify groups
Find and modify objects in a project
Object Management
Add objects to the project
Modify objects’ parameters
TerraExplorer Events
Controlling the Mouse
Terrain Information
Coordinate Systems
Client Data
TerraExplorer CoClass
Chapter 21. TerraExplorer CoClass Interfaces
ITerraExplorer5
Properties:
Type
FlyName
DisplayErrorMessages
Methods:
Load
SetCPUSavingMode
GetUserUnits
LoadEx
GetTEVersion
Save
SaveAs
SetParam
GetParam
IPlane4
Properties:
X
Z
Height
Yaw
Pitch
Roll
CameraDeltaYaw
CameraDeltaPitch
Speed
FieldOfView
Methods:
UpdateData
SetUpdateMask
FlyTo
SetPosition
MovePosition
GetPosition
FlyToObject
SetSpeed
GetSpeed
IObjectManager4
Methods:
CreatePolyline
Create2DPolygon
CreateRectangle
CreateRegularPolygon
CreateCircle
Create3DPolygon
CreateBuilding
CreateBox
CreatePyramid
CreateCylinder
CreateCone
CreateEllipse
CreateArc
CreateArrow
Create3DArrow
CreateSphere
CreateModel
CreateLabel
CreateLabelEx
CreateLocation
CreateTreeHotlink
CreateRoute
CreateMessage
GetObject
CreateImageLabel
CreateImageLabelEx
CreateDynamicObject
CreateImageryLayer
CreateVideoOnTerrain
CreatePointCloudModel
IInformationTree4
Methods:
CreateGroup
CreateLockedGroup
RenameGroup
ExpandGroup
GetItemName
DeleteItem
SetParent
GetNextItem
FindItem
GetTerraObjectID
SetGroupColor
GetGroupColor
EnableRedraw
IsGroup
SetGroupVisibility
SortGroup
SetGroupLocation
GetGroupLocation
CreateLockedGroupEx
SetActivationCode
GetActivationCode
SetClientData
GetClientData
GetObject
SetParentEx
ReloadLayer
EditItem
EditItems
LoadFlyLayer
IsGroupEx
GetGroupVisibility
ReloadLayerEx
ITerrain4
Properties:
MPTName
GroupKey
SystemKey
DatumKey
UnitKey
EPSG
Description
Methods:
GetGroundHeight
GetGroundHeightEx
GetExtent
IContainer
Methods:
SetURL
RemoveURL
BringToFront
SetMessageBarText
IRender5
Properties:
Quality
HudMode
Methods:
GetRenderRect
ScreenToTerrain
GetMouseInfo
SetMouseInputMode
SetMouseCursor
ScreenToWorld
WorldToScreen
SetHUDLayer
GetMouseInputMode
ISnapShot2
Properties:
SnapshotWidth
SnapshotHeight
Format
RenderQuality
Methods:
SaveRenderToFile
SetSnapShotParams
GetImage
IStartPosition
Properties:
StartX
StartZ
_ITerraExplorerEvents5
Methods:
OnLoadFinished
OnFileClosing
OnFrame
OnTerraExplorerMessage
OnObjectAction
OnFileSave
OnRenderQualityChanged
OnInputModeChanged
OnLButtonDown
OnLButtonUp
OnMButtonDown
OnMButtonUp
OnRButtonDown
OnRButtonUp
OnMouseWheel
OnInfoTreeAction
OnTerraExplorer
OnDrawHUD
OnLButtonDblClk
OnRButtonDblClk
OnMButtonDblClk
ICoordSys3
Methods:
GetTerrainCS
SetTerrainCS
SetSourceCS
ChooseCSDialog
GetCSHandle
GetCSHandleFromEPSG
ReleaseCSHandle
Reproject
GetUnitFactor
MoveCoord
MoveCoordEx
GetDistance
GetAimingAngles
ConvertToMGRS
ConvertFromMGRS
ChooseCSDialogEx
GetDistanceEx
GetAimingAnglesEx
IScriptEngine
Methods:
Run
RegisterName
RegisterGlobalName
UnregisterName
Chapter 22. ITerraExplorerObject2 Interfaces
About ITerraExplorerObject2 Interface
ITerraExplorerObject2
Properties:
ID
ObjectType
ClientData
KeepAliveOnRelease
IInfoTreeItem2
Properties:
Description
ExistInBasicTree
InfoTreeItemID
GroupName
SaveInFlyFile
ISingleMessageObject2
Properties:
MessageID
ITerrainLocation2
Properties:
Distance
ActivationCode
ActivationParam
Methods:
SetPosition
GetPosition
GetPositionEx
ITerrainObject2
Properties:
Visible
ToolTipText
MaxVisibilityDistance
MinVisibilityDistance
IsAttached
AutoDetach
GroundObject
Methods:
AttachTo
ITerrainColoredObject2
Properties:
FgColor
FgAlpha
BgColor
BgAlpha
ITerrainPrimitive2
Properties:
HeightStyle
LineStyle
TextureFileName
TextureTilingMethod
TextureScaleX
TextureScaleY
TextureRotateAngle
ITerrainPolyline2
Properties:
NumofVertices
Vertices
Methods:
AddVertex
GetVertex
ModifyVertex
DeleteVertex
ITerrainRectangle2
Properties:
Top
Left
Right
Bottom
ITerrainRegularPolygon2
Properties:
Radius
NumberofSegments
ITerrain3DPolygon2
Properties:
Height
ITerrainBuilding2
Properties:
BuildingStyle
TilingMethod
SideTexture
SideScaleX
SideScaleY
RoofTexture
RoofScaleX
RoofScaleY
RoofRotateAngle
RoofStyle
RooftopDeltaHeight
RoofFillType
SideFillType
RoofTilingMethod
SideTilingMethod
Methods:
GetSideFillType
SetSideFillType
GetSideTexture
SetSideTexture
GetSideColor
SetSideColor
GetTerrainTextureOffset
SetTerrainTextureOffset
ITerrain3DRectBase2
Properties:
Height
ITerrain3DRegBase2
Properties:
Height
ITerrainEllipse2
Properties:
Radius2
ITerrainArc2
Properties:
StartAngle
EndAngle
ITerrainArrow2
Properties:
HeadX
HeadY
TailX
TailY
Style
ITerrain3DArrow2
Properties:
Height
ITerrainSphere2
Properties:
Radius
SegmentDensity
Style
ITerrainModel2
Properties:
ModelFileName
ScaleFactor
FlipTexture
ITerrainLabel2
Properties:
LineToGroundType
LineColor
LineLength
Text
FontName
FontSize
FontStyle
ImageFileName
FrameFileName
FrameIndex
ScaleFactor
LimitGrowth
MinimumViewingHeight
MinimumSize
TextOnImage
AlignTextHorizontal
AlignTextVertical
TextJustification
AlignLabelHorizontal
AlignLabelVertical
Methods:
GetLabelStruct
ITerrainImageLabel2
Properties:
LineToGroundType
LineColor
LineLength
ImageFileName
FrameFileName
FrameIndex
ScaleFactor
LimitGrowth
MinimumViewingHeight
MinimumSize
AlignLabelHorizontal
AlignLabelVertical
Methods:
GetLabelStruct
ITerrainRoute2
Properties:
HeightRelativeToGround
AutoRepeat
UseElevation
UseSpeed
UseCameraOffset
NumberOfWaypoints
Methods:
Play
Stop
Pause
AddWaypoint
GetWaypoint
ModifyWaypoint
ITerraExplorerMessage2
Properties:
Client
Text
URL
Type
BringToFront
ITerrainDynamicObject3
Properties:
MotionStyle
DynamicType
FileName
Text
FontName
FontSize
FontStyle
ScaleFactor
FlipTexture
HeightStyle
Acceleration
TurnSpeed
CircularRoute
NumberOfWaypoints
Methods:
AddWaypoint
GetWaypoint
ModifyWaypoint
DeleteWaypoint
RestartRoute
ITerrainImageryLayer
Methods:
SetLayerCS
ITerrainVideo
Properties:
VideoFileName
TelemetryFileName
UseTelemetry
ProjectionFieldOfView
VideoOpacity
ShowProjectionLines
ProjectionLinesLength
ShowProjector
ProjectorLength
Volume
Mute
PlayVideoOnStartup
VideoLength
VideoPosition
CanSeek
PlayStatus
Methods:
PlayVideo
ITerrainPointCloudModel
Properties:
ModelFileName
ScaleFactor
FlattenBelowTerrain
HideBelowImagery
MinIntensity
MaxIntensity
PaletteOpacity
PaletteFileName
DistributionDirection
DistributionStart
DistributionEnd
PointSamplingInterval
PointScalingFactor
PointSizeLimit
ChangeSampleOnMove
Methods:
GetDefaultLocation
GetBoundingBox
SetAutoIntensity
Chapter 23. Working with terraDeveloper
What is TerraDeveloper
How to Work with the TerraDeveloper
Adding ActiveX components
Working with Scripting languages
Working with Visual Basic environment
Working with C++ environment
Creating a Run-Time kit
Chapter 24. TerraDeveloper Interfaces
ITE3DWindow
Properties:
TakeControlOfKeyboardAccelerators
BorderStyle
Caption
_ITE3DWindowEvents
Methods:
OnKeyboardMessage
ITEInformationWindow
Properties:
BorderStyle
IMenu
Methods:
Invoke
Chapter 25. Example codes
Examples in C++
Adding Objects to the Project
Finding and Modifying Objects
Handling TerraExplorer Events
Examples in VBScript
Navigating in the 3D World
Finding and Modifying Objects
Handling TerraExplorer Events
Creating a Polyline Using a Safe Array of Vertices
Working with Mouse Events
Working with Coordinate Systems
Working with Client Data

Overview

The TerraExplorer Application Programming Interface (API) provides a powerful way for integrating TerraExplorer, TerraExplorer Pro and custom applications. It also provides a way to create extensions that can access external information sources such as databases or GIS files. All of the interfaces, based on the COM protocol, can be managed through a scripting language (e.g., JavaScript) as well as non-scripting languages (e.g., C++ or Visual Basic). This manual describes how to use these interfaces and capabilities to enhance the TerraExplorer 3D experience.

 

The API that TerraExplorer v4.5 exposes is an enhancement to the API supported by TerraExplorer v3.1, v4.0 and v4.1. The new interface provides management tools for all the elements and events in a TerraExplorer project.

 

TerraDeveloper is an extension for TerraExplorer Pro that provides an extended set of interfaces and capabilities. It allows using the 3D window and the information tree as ActiveX objects within a customized user interface. A run-time module allows easy distribution of the customized application.

 

The following main issues are addressed by the TerraExplorer v4.5 API:

1.       Controlling the plane and camera.

2.       Information Tree management.

3.       Objects management.

4.       Events notifications.

5.       Creating customized run-time modules using the TerraDeveloper kit.

 

In addition, TerraExplorer's API allows a variety of other operations such as controlling the content of the containers, querying the terrain for height information, taking snapshots, controlling the mouse and more.

 

What to do with the TerraExplorer API?

The API provides power tools to develop client applications such as:

·         Create extensions to add support for additional file and database formats.

·         Real-time movement of objects for command and control applications.

·         Add custom-made objects (e.g., danger zone dome).

·         Advanced terrain queries (e.g., terrain profile).

·         Combine advanced map displays.

·         Combine HTML pages with advanced functionality as part of the TerraExplorer window (e.g., Fly to address).

·         Create custom run-time applications, embedding the 3D and information windows as ActiveX components (with TerraDeveloper).

The CHM file was converted to HTML by chm2web software.