Component Prototype

Description

Tank

Component

 

 

Tank component is a component of the petrochemical domain. This component builds a three-dimensional Tank. It is build out of only one model (Tank). The component bases on the Geometry3dsComponent to load the geometry of the component into the scene (see Geometry3dsComponent). In order to build the Tank component, the following parameters are needed: modelFile, offset and scale

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.

offset

matrix

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

modelFile

string

File name of the model to load

scale

double

scales the model (in three dimensions)