Creator (ICreator80)

The interface is composed of many methods for creating different objects in a project. When creating an object (using one of the CreateXXX methods) the client gets an interface to the newly created object. The client can then use this returned interface to further control the object (i.e. change its position or its color). 

Each object created through the ICreator80 interface has an ID that uniquely identifies it in the TerraExplorer Pro world (the ITerraExplorerObject80. ID property). This ID can be used by the client to get an interface to that object using the GetObject method of this interface. The client can obtain that ID by either of the following methods:

§   Create the object and store its ID for later use before releasing the object.

§   Find the item if you know its name using IProjectTree80.FindItem.

 

 

Properties

 

GeometryCreator

An IGeometryCreator containing methods to create geometry objects.

 

Methods

 

Create3DArrow

Creates an ITerrain3DArrow80 representing a 3 -dimensional arrow in the 3D Window.

Create3DPolygon

Creates an ITerrain3DPolygon80, representing a 3D polygon. object in the 3D Window.

CreateArc

Creates an ITerrainArc80, representing an arc in the 3D Window.

CreateArrow

Creates an ITerrainArrow80, representing a 2-dimensional arrow in the 3D Window.

CreateBox

Creates an ITerrain3DRectBase80, representing a box in the 3D Window.

CreateBuilding

Creates an ITerrainBuilding80, representing a building in the 3D Window.

CreateCircle

Creates an ITerrainRegularPolygon80, representing a circle in the 3D Window.

CreateColor

Creates an IColor80, representing the custom color by defining the red, green, blue and alpha values.

CreateCone

Creates an ITerrain3DRegBase80, representing the cone in the 3D Window.

CreateCylinder

Creates an ITerrain3DRegBase80, representing the cylinder in the 3D Window.

CreateDynamicObject

Creates an ITerrainDynamicObject80, representing the dynamic object in the 3D Window.

CreateEffect

Creates an ITerrainEffect80 animated effect object.

CreateElevationLayer

Creates an ITerrainRasterLayer80, representing the elevation layer in the 3D Window.

CreateEllipse

Creates an ITerrainEllipse80, representing the ellipse in the 3D Window.

CreateFeatureLayer

Creates an IFeatureLayer80, representing the feature layer in the 3D Window.

CreateFromStream

Reserved. Currently not used.

CreateHoleOnTerrain

Creates an ITerrainHole80, representing the Hole On Terrain object in the 3D Window.

CreateImageLabel

Creates an ITerrainImageLabel80 representing the image label in the 3D Window.

CreateImageLabelFromBuffer

Creates an ITerrainImageLabel80 representing the image label in the 3D Window. The pixel data of the label's image file is retrieved from a memory buffer.

CreateImageryLayer

Creates an ITerrainRasterLayer80, representing the imagery layer in the 3D Window.

CreateKMLLayer

Creates an IKMLLayer80, representing the KML layer in the 3D Window.

CreateLabel

Creates an ITerrainLabel80, representing the label in the 3D Window.

CreateLabelStyle

Creates an ILabelStyle80 that defines label style properties for text and image labels.

CreateLocation

Creates an ITerrainLocation80, representing the point of interest in the 3D Window.

CreateLocationHere

Creates an ITerrainLocation80 representing the location in the current camera position.

CreateMeshLayerFromFile

Loads from a file an IMeshLayer80 representing a unified, stream optimized 3D Mesh Layer (3DML) database.

CreateMeshLayerFromSGS

Loads from SkylineGlobe Server an IMeshLayer80 representing a unified, stream optimized 3D Mesh Layer (3DML) database.

CreateMessage

Creates an ITerraExplorerMessage80, representing the message object which is displayed in a container.

CreateModel

Imports from a file an ITerrainModel80, representing a model object.

CreateNewFeatureLayer

Creates directly from TerraExplorer an IFeatureLayer80, representing a new feature layer.

CreatePointCloudModel

Imports an ITerrainPointCloudModel80 object from a file.

CreatePolygon

Creates an ITerrainPolygon80 in the 3D Window.

CreatePolygonFromArray

Creates an ITerrainPolygon80 representing the polygon by connecting the points in an array of points.

CreatePolyline

Creates an ITerrainPolyline80, representing the polyline, in the 3D Window.

CreatePolylineFromArray

Creates an ITerrainPolyline80, representing the polyline, by connecting the points in an array of points.

CreatePopupMessage

Creates an IPopupMessage80, representing a message that displays in a floating browser or floating popup.

CreatePosition

Creates an IPosition80, representing the coordinate position.

CreatePresentation

Creates an IPresentation80, representing the presentation.

CreatePyramid

Creates an ITerrain3DRectBase80, representing the pyramid, in the 3D Window.

CreateRectangle

Creates an ITerrainRectangle80, representing the rectangle, in the 3D Window.

CreateRegularPolygon

Creates an ITerrainRegularPolygon80 representing the polygon, in the 3D Window.

CreateRouteWaypoint

Creates IRouteWaypoint80 representing the created waypoint.

CreateScreenOverlay

Creates IScreenOverlay80 representing the newly created screen overlay.

CreateSphere

Creates an ITerrainSphere80 representing the newly created sphere.

CreateTerrainModifier

Creates an ITerrainModifier80 representing the terrain modifier polygon.

CreateTextLabel

Creates an ITerrainLabel80 representing the newly created label.

CreateTreeHotlink

Creates an ITreeHotlink80 representing the newly created hotlink.

CreateVideoOnTerrain

Creates an ITerrainVideo80 representing the newly created video on terrain object.  

DeleteObject

Deletes an object from the terrain.

GetObject

Returns an interface to the object based on the object ID.