Creator (ICreator61)

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 ICreator61 interface has an ID that uniquely identifies it in the TerraExplorer Pro world (the ITerraExplorerObject61 . ID property). This ID can be used by the client to get an interface to that object using the GetObject () method of the ICreator61 interface. There are two ways by which the client can get a hold of that ID:

1.       By having the client create that object and store its ID for later use before releasing the object.

2.       By traversing the Project Tree and translating the ItemID into the object ID (using the IProjectTree61.GetObject() method).

 

 

Properties

 

GeometryCreator

An IGeometryCreator containing methods to create geometry objects.

Create3DArrow

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

Create3DPolygon

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

CreateArc

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

CreateArrow

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

CreateBox

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

CreateBuilding

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

CreateCircle

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

CreateColor

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

CreateCone

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

CreateCylinder

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

CreateDynamicObject

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

CreateElevationLayer

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

CreateEllipse

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

CreateFeatureLayer

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

CreateFromStream

Creates an ITerraExplorerObject61, representing the streaming layer. 

CreateHoleOnTerrain

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

CreateImageLabel

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

CreateImageryLayer

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

CreateLabel

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

CreateLabelStyle

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

CreateLocation

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

CreateLocationHere

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

CreateMessage

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

CreateModel

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

CreateNewFeatureLayer

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

CreatePointCloudModel

Imports an ITerrainPointCloudModel61 object from a file.

CreatePolygon

Creates an ITerrainPolygon61 in the 3D Window.

CreatePolygonFromArray

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

CreatePolyline

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

CreatePolylineFromArray

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

CreatePopupMessage

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

CreatePosition

Creates an IPosition61, representing the coordinate position.

CreatePresentation

Creates an IPresentation61, representing the presentation.

CreatePyramid

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

CreateRectangle

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

CreateRegularPolygon

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

CreateRouteWaypoint

Creates anIRouteWaypoint61 representing the created waypoint.

CreateSphere

Creates an ITerrainSphere61 representing the newly created sphere.

CreateTerrainModifier

Creates an ITerrainModifier61 representing the terrain modifier polygon.

CreateTextLabel

Creates an ITerrainLabel61 representing the newly created label.

CreateTreeHotlink

Creates an An ITreeHotlink61 representing the newly created hotlink.

CreateVideoOnTerrain

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