SGWorld.creator

The creator property is the SGWorld manufacturing object that creates objects such as polylines, labels and groups. All the create functions within the creator property return instances of an SGNode object.

It is possible (but not necessary) to append newly created nodes to the Skyline Globe Control node hierarchy, either directly to its root or to one of its descendants, using SGNode.appendChild method. This will allow to perform queries on the node hierarchy later and to save them to a file.

Methods

Name

Description

createGroup Method

Creates a node of type group.

createLayer Method

Creates a new layer.

createPolyline Method

Creates a new polyline object on the terrain.

createPolygon Method

Creates a new polygon object on the terrain.

createRectangle Method

Creates a new rectangle object on the terrain.

createCircle Method

Creates a new circle object on the terrain.

createEllipse Method

Creates a new ellipse object on the terrain.

createArc Method

Creates a new arc object on the terrain.

createArrow Method

Creates a new arrow object on the terrain.

create3DArrow Method

Creates a new 3D arrow object on the terrain.

createSphere Method

Creates a new sphere object on the terrain.

create3DPolygon Method

Creates a new 3D polygon object on the terrain.

createBuilding Method

Creates new building object on the terrain.

createBox Method

Creates a new box object on the terrain.

createPyramid Method

Creates a pyramid object on the terrain.

createCylinder Method

Creates a cylinder object on the terrain.

createCone Method

Creates a cone object on the terrain.

createModel Method

Creates a new model from an external file on the terrain.

createLabel Method

Creates a new label composed of a text and an image on the terrain.

createTextLabel  Method

Creates a new text label on the terrain.

createImageLabel Method

Creates a new label with an image only.

createLocation Method

Creates a new point of interest in the Skyline Globe world.

createMessage Method

Creates an object that defines content (e.g., HTML or simple text) that is displayed to the user when a certain events fire.

createDynamic Method

Creates a new dynamic object that moves in a predefined path on the terrain.

createThreatDome Method

Creates an object shaped as a dome, elevated above the terrain. The threat dome object represents the volume covered by a radar station located at the base of the dome.

createImageryLayer Method

Creates a geo-referenced, satellite or aerial image that overlays the terrain imagery

createElevationLayer Method

Creates a geo-referenced elevation raster that replaces the elevation data of the terrain database

createVideoOnTerrain Method

Creates a Video OnTerrain object, to play a video movie on the terrain surface