Creator (ICreator65)

The interface is responsible for creating objects in a project. It is composed of many methods that create different objects. 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 ICreator65 interface has an ID that uniquely identifies it in the TerraExplorer Pro world (the ITerraExplorerObject65. ID property). This ID can be used by the client to get an interface to that object using the GetObject method of the ICreator65 interface. The client can get a hold of 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 IProjectTree65.FindItem.

 

 

Properties

 

GeometryCreator

An IGeometryCreator containing methods to create geometry objects.

Create3DArrow

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

Create3DPolygon

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

CreateArc

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

CreateArrow

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

CreateBox

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

CreateBuilding

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

CreateCircle

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

CreateColor

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

CreateCone

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

CreateCylinder

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

CreateDynamicObject

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

CreateElevationLayer

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

CreateEllipse

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

CreateFeatureLayer

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

CreateFromStream

Creates an ITerraExplorerObject65, representing the streaming layer. 

CreateHoleOnTerrain

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

CreateImageLabel

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

CreateImageryLayer

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

CreateKMLLayer

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

CreateLabel

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

CreateLabelStyle

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

CreateLocation

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

CreateLocationHere

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

CreateMeshLayerFromFile

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

CreateMeshLayerFromSFS

Loads from TerraGate SFS an IMeshLayer65 representing a unified, stream optimized 3D Mesh Layer (3DML) database.

CreateMessage

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

CreateModel

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

CreateNewFeatureLayer

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

CreatePointCloudModel

Imports an ITerrainPointCloudModel65 object from a file.

CreatePolygon

Creates an ITerrainPolygon65 in the 3D Window.

CreatePolygonFromArray

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

CreatePolyline

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

CreatePolylineFromArray

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

CreatePopupMessage

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

CreatePosition

Creates an IPosition65, representing the coordinate position.

CreatePresentation

Creates an IPresentation65, representing the presentation.

CreatePyramid

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

CreateRectangle

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

CreateRegularPolygon

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

CreateRouteWaypoint

Creates IRouteWaypoint65 representing the created waypoint.

CreateSphere

Creates an ITerrainSphere65 representing the newly created sphere.

CreateTerrainModifier

Creates an ITerrainModifier65 representing the terrain modifier polygon.

CreateTextLabel

Creates an ITerrainLabel65 representing the newly created label.

CreateTreeHotlink

Creates an ITreeHotlink65 representing the newly created hotlink.

CreateVideoOnTerrain

Creates an ITerrainVideo65 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.