Creator (ICreator66)

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 ICreator66 interface has an ID that uniquely identifies it in the TerraExplorer Pro world (the ITerraExplorerObject66. 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 IProjectTree66.FindItem.

 

 

Properties

 

GeometryCreator

An IGeometryCreator containing methods to create geometry objects.

 

Methods

 

Create3DArrow

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

Create3DPolygon

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

CreateArc

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

CreateArrow

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

CreateBox

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

CreateBuilding

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

CreateCircle

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

CreateColor

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

CreateCone

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

CreateCylinder

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

CreateDynamicObject

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

CreateEffect

Creates an ITerrainEffect66 animated effect object.

CreateElevationLayer

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

CreateEllipse

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

CreateFeatureLayer

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

CreateFromStream

Reserved. Currently not used.

CreateHoleOnTerrain

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

CreateImageLabel

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

CreateImageryLayer

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

CreateKMLLayer

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

CreateLabel

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

CreateLabelStyle

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

CreateLocation

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

CreateLocationHere

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

CreateMeshLayerFromFile

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

CreateMeshLayerFromSFS

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

CreateMessage

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

CreateModel

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

CreateNewFeatureLayer

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

CreatePointCloudModel

Imports an ITerrainPointCloudModel66 object from a file.

CreatePolygon

Creates an ITerrainPolygon66 in the 3D Window.

CreatePolygonFromArray

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

CreatePolyline

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

CreatePolylineFromArray

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

CreatePopupMessage

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

CreatePosition

Creates an IPosition66, representing the coordinate position.

CreatePresentation

Creates an IPresentation66, representing the presentation.

CreatePyramid

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

CreateRectangle

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

CreateRegularPolygon

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

CreateRouteWaypoint

Creates IRouteWaypoint66 representing the created waypoint.

CreateSphere

Creates an ITerrainSphere66 representing the newly created sphere.

CreateTerrainModifier

Creates an ITerrainModifier66 representing the terrain modifier polygon.

CreateTextLabel

Creates an ITerrainLabel66 representing the newly created label.

CreateTreeHotlink

Creates an ITreeHotlink66 representing the newly created hotlink.

CreateVideoOnTerrain

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