Component Prototype

Description

Navigation

Component

 

 

Navigation Component is a domain specific component. This component shows a 3D arrow. The objective of this component is to show (using an arrow) the direction that the final-user must to follow in order to have a guidance path. The component bases on the Geometry3dsComponent to load the geometry of the component into the scene (see Geometry3dsComponent). In order to built the Navigation Component, the following parameters are needed: scale, translateOffset and translateTarget (see figure Navigation Component)

In-slots

Name

Type

Description

visible

boolean

The component is shown when true and hidden when false.

transformation

matrix

This transformation matrix is applied to the component geometry when shown

Out-slots

Name

Type

Description

visible

boolean

The in-slot is propagated to the out-slot

transformation

matrix

This transformation matrix corresponds to the output transformation, which combines input transformation with the offset.

Properties

Name

Type

Description

iconFileName*

string

The filename of the icon shown for the component in the authoring environment.

scale

double

scales the model (in three dimensions)

translateOffset

doubleVector

XYZ coordinates that fix the position where the 3D arrow is going to be set

translateTarget

doubleVector

XYZ coordinates of the second marker respect to the first one (i.e. relative position of the second marker respect to the first one (reference marker))

Figure Navigation