Component Prototype

Description

Video3D Component

This component is used to show a filed video stream on a rectangular flat area that can be positioned anywhere in 3D space.

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

videoFileName

string

File name of the video to be shown, where the stream is stored. It must be a .avi file

relativeSize

float

This parameter represents the proportionality factor of video size (referred to the height) respect to the original video.

aspectRatio

float

This parameter represents the proportionality factor of the video ratio (height / width) respect to the original video. A 320x240 video has an aspect ratio of 0.75; so it can be stored in 128x128 (or 256x128) and the aspect ratio set to 0.75 to have it undistorted.

step

double

The step is the number of video photograms between two consecutive framework frames.

fixPosition

boolean

When true, the video is shown in the position (xPosition, yPosition, 1000)

xPosition

float

Used only when fixPosition is true. It corresponds to the x offset where the video is shown

yPosition

float

Used only when fixPosition is true. It corresponds to the y offset where the video is shown

 

 

 

 

 

Figure 7 Video 3D