Component Prototype

Description

Slider Valve

Component

 

 

 

Slider Valve component is a component of the petrochemical domain. This component builds a three-dimensional Slider Valve. Slider Valve is build out of two model (Wheel and Tube). The component bases on the Geometry3dsComponent to load the geometry of the component into the scene (see Geometry3dsComponent). In order to build the Slider Valve component, the following parameters are needed: offset, scale, number of rows, number of columns and the particular information of each element, a detailed description is shown on the table. (See Figure Slider Valve)

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

General

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 all the elements (in three dimensions)

numberOfRows

integer

Number of rows that compose the SliderValve

numberOfColumns

integer

Number of columns that compose the SliderValve

numberOfValvesOpen

integer

Number of valves opened that compose the SliderValve

Particular

Row

enum

Number of row that defines the valve opened (in the beginning all the valves are closed)

Column

enum

Number of column that defines the valve opened (in the beginning all the valves are closed)

Figure 1 Slider Valve Schema

Figure 2 Slider Valve