Home > Working with SGWorld > Creator (ICreator6)

Creator (ICreator6)

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 ICreator6 interface has an ID that uniquely identifies it in the TerraExplorer Pro world (the ITerraExplorerObject6 . ID property). This ID can be used by the client to get an interface to that object using the GetObject () method of the ICreator6 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 IProjectTree6.GetObject() method).

 

 

Properties

 

GeometryCreator

An IGeometryCreator containing methods to create geometry objects.

Create3DArrow

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

Create3DPolygon

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

CreateArc

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

CreateArrow

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

CreateBox

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

CreateBuilding

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

CreateCircle

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

CreateColor

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

CreateCone

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

CreateCylinder

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

CreateDynamicObject

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

CreateElevationLayer

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

CreateEllipse

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

CreateFeatureLayer

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

CreateFromStream

Creates an ITerraExplorerObject6, representing the streaming layer. 

CreateHoleOnTerrain

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

CreateImageLabel

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

CreateImageryLayer

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

CreateLabel

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

CreateLabelStyle

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

CreateLocation

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

CreateLocationHere

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

CreateMessage

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

CreateModel

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

CreateNewFeatureLayer

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

CreatePointCloudModel

Imports an ITerrainPointCloudModel6 object from a file.

CreatePolygon

Creates an ITerrainPolygon6 in the 3D Window.

CreatePolygonFromArray

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

CreatePolyline

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

CreatePolylineFromArray

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

CreatePopupMessage

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

CreatePosition

Creates an IPosition6, representing the coordinate position.

CreatePresentation

Creates an IPresentation6, representing the presentation.

CreatePyramid

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

CreateRectangle

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

CreateRegularPolygon

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

CreateRouteWaypoint

Creates anIRouteWaypoint6 representing the created waypoint.

CreateSphere

Creates an ITerrainSphere6 representing the newly created sphere.

CreateTerrainModifier

Creates an ITerrainModifier6 representing the terrain modifier polygon.

CreateTextLabel

Creates an ITerrainLabel6 representing the newly created label.

CreateTreeHotlink

Creates an An ITreeHotlink6 representing the newly created hotlink.

CreateVideoOnTerrain

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