Component Prototype

Description

Thermometer

Component

 

 

Thermometer component is a component of the petrochemical domain. This component builds a three-dimensional Thermometer. Thermometer is build out of two different models (Thermometer and needle). The component bases on the Geometry3dsComponent to load the geometry of the component into the scene (see Geometry3dsComponent). In order to build the Thermometer component, the following parameters are needed: offset, scale, minimum value of the temperature and maximum value of the temperature (See Figure Thermometer)

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

value

double

Value of the temperature

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.

id

integer

Id of the needle (model that can change at run time)

nodeTransformation

matrix

Transformation matrix of the needle. It can change because the value of the temperature can change at run time.

Properties

Name

Type

Description

iconFileName*

string

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

offset

matrix

The offset transformation matrix between the transformation given by the in-slot and the geometry model

scale

double

scales the diameter of the column and the stages.

valueMax

integer

Maximum possible value of the temperature

valueMin

double

Minimum possible value of the temperature

Figure Thermometer