|
FhSim
3.1.0
Marine systems simulation
|
Displaying signal values as text lines on the 3D view's HUD.
Collaboration diagram for ValuesDisplay:| Name | Width | Description |
|---|---|---|
| In1...In<N> | <size of Signal<N>> | The input signals, one port per Signal<N> parameter, with the width given as the first element of that parameter. |
Signal<N> parameters and registers the In<N> ports, so an input file connecting to them loads headless too. Only a build with FH_VISUALIZATION reads the other parameters, reads the ports and draws the display; a headless build ignores its inputs.Each signal is one line on the HUD (fhsim::Hud) in the corner given by Corner: the prefix string, a space, the value(s) formatted with the signal's fmt format after the FIR filter and the multiplier, and, when it is not empty, a space and the suffix string. The lines read top to bottom in signal order in every corner. The framework owns the font, the colour and the size; the lines use the Normal style and the default priority.
| Name | Width | Description |
|---|---|---|
| FilterFrames | 1 | The number of visual frames to filter the output, using a FIR filter |
| Corner | 1 | The HUD corner of the lines: TopLeft, TopRight, BottomLeft or BottomRight. The default is TopRight. |
| DisplayBox | 4 | Ignored since fhsim_fishery 3.3.0, when the display moved to the HUD; still accepted so that older inputs load, with a notice in the log. Corner replaces it. |
| Material | 1 | Ignored since fhsim_fishery 3.3.0, when the display moved to the HUD; still accepted so that older inputs load, with a notice in the log. The HUD draws no background. |
| Signal<N> | Signal size | prefix string, value format, suffix string (typically unit) and optionally a multiplier factor. The number of signals is the number of consecutively numbered Signal<N> parameters supplied (Signal1, Signal2, ...); a gap in the numbering ends the list. |
This simobject has no initial conditions.
This SimObject is referred to as Trawl/ValuesDisplay