Remote Procedures

Parent Previous Next

There are different XMLRPC procedures that can be called to modify the scene currently loaded in TerrainView™.

If an error occurs while executing a procedure, a message will be appended to the TerrainView log. The log can be inspected with the "System" / "Log" panel in the TerrainView™ modules.


Procedure name

Description

Configuration

Sets up the coordinate system and units.

EntityCreate

Creates an entity.

EntityDelete

Deletes an entity.

EntityDeleteAll

Deletes all entities.

EntityTransform

Changes position, orientation and scale of an entity.

EntityAttributes

Changes various attributes of an entity.

EntityAction

Performs an action related to an entity (fly to, jump to).

Query

Retrieves information about the scene.

Crosshair

Shows or hides the crosshair.

FlightPathAction

Performs an action on a flight path.

CameraSetAbsolute

Sets the position, orientation and field of view of the camera.

ShapeFrustum

Creates a frustum entity.

ShapeFrustumVideoControl

Attaches a video stream to a frustum entity and provides video control commands (play, stop, etc.).


Every procedure has exactly one parameter. The parameter is an XMLRPC struct. A detailed list of all procedures and their struct parameters follows. Field names are case-sensitive and the field type referred to is the XMLRPC type (double[n] designates an array with n elements of type double). Optional fields are tagged with "X" in the column "O".