Component Prototype

Description

Manometer

Component

 

Manometer component is a component of the petrochemical domain. This component builds a three-dimensional Manometer. Manometer is build out of two different models (Manometer 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 Manometer component, the following parameters are needed: offset, scale, minimum value of the pressure and maximum value of the pressure (See Figure Manometer)

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 pressure

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 pressure 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 pressure

valueMin

double

Minimum possible value of the pressure

Figure Manometer