Marine systems simulation
Billboard Text

Shows a billboard text at a 3D position.

+ Collaboration diagram for Billboard Text:
Author
Vegar Johansen
Date
09.07.2007 VJ: Initial version.

Example configuration excerpt

<Lib
LibName = "fhsim_base"
SimObject = "Visual/BillboardText"
Name = "T"
Prefix = "A"
Suffix = "B"
PortWidth = "2"
TxtSize = "2.0"
NormMultiplier = "1"
ValPrecision = "4"
ArrayInterpretation = "EUCLIDEAN_NORM"
ListOpeningBracket = "("
ListClosingBracket = ")"
ListSeparator = " "
/>

Input Ports

Name Width Description
Pos 3 Position of the billboard.
Value PortWidth The value to display.

Output Ports

This SimObject does not contain any outputs.

Configuration parameters

Name Width Description
Prefix 1 Text prefix (default: [empty string]).
Suffix 1 Suffix of the string (default: [empty string]).
PortWidth 1 The number of elements in the value input (default: 1).
TxtSize 1 Size of the text (default: 1.0).
NormMultiplier 1 Scaling of the input (default: 1).
ValPrecision 1 Precision of the displayed number (default: 4).
ArrayInterpretation 1 How to display array input. Default: EUCLIDEAN_NORM, Possible values: EUCLIDEAN_NORM, MANHATTAN_NORM, MAX_NORM, LIST.
ListOpeningBracket 1 The opening bracket for displaying a list (default: ( ).
ListClosingBracket 1 The closing bracket for displaying a list (default: ) ).
ListSeparator 1 The separator between displayed list elements (default: , ).

Initial conditions

This SimObject does not contain any initial conditions.

Full example file

<Contents>
<OBJECTS>
<Lib
LibName = "fhsim_base"
SimObject = "Camera/Controller2"
Name = "CAM"
NumInput = "4"
Time = "0,1,2,3"
UseDegrees = "1"
Interpolate ="1"
/>
<Lib
LibName = "base"
SimObject = "Body/Mass"
Name = "M1"
Scale = "1"
Mass = "1"
Material = "Simple/Red"
/>
<Lib
LibName = "base"
SimObject = "Body/Mass"
Name = "M2"
Scale = "1"
Mass = "1"
Material = "Simple/Green"
/>
<Lib
LibName = "base"
SimObject = "Body/Mass"
Name = "M3"
Scale = "1"
Mass = "1"
/>
<Lib
LibName = "base"
SimObject = "Body/Mass"
Name = "M4"
Scale = "1"
Mass = "1"
Material = "Simple/Black"
/>
<Lib
LibName = "fhsim_base"
SimObject = "Camera/Shot"
Name = "camshot"
Filename = "shot.png"
Start = "0"
Video = "1"
Stop = "5"
FrameRateControl = "FPS"
FrameRateValue = "30"
Refinement = "1"
Path = ""
/>
<Lib
LibName = "base"
SimObject = "DefaultEnvironment"
Name = "Env"
Seadepth = "500"
Density = "1000"
CurrentVelocity = "0,0,0"
/>
</OBJECTS>
<INTERCONNECTIONS>
<Connection
CAM.Position1 = "-10,0,0"
CAM.Position2 = "0,-10,0"
CAM.Position3 = "10,0,0"
CAM.Position4 = "0,10,0"
CAM.Pitch1 = "0"
CAM.Pitch2 = "0"
CAM.Pitch3 = "0"
CAM.Pitch4 = "0"
CAM.Yaw1 = "0"
CAM.Yaw2 = "90"
CAM.Yaw3 = "180"
CAM.Yaw4 = "270"
M1.Force = "0,0,0"
M2.Force = "0,0,0"
M3.Force = "0,0,0"
M4.Force = "0,0,0"
/>
</INTERCONNECTIONS>
<INITIALIZATION>
<InitialCondition
M1.Pos = "0,0,0"
M2.Pos = "10,-20,0"
M3.Pos = "20,-10,0"
M4.Pos = "-10,20,0"
M1.Vel = "0,0,0"
M2.Vel = "0,0,0"
M3.Vel = "0,0,0"
M4.Vel = "0,0,0"
/>
</INITIALIZATION>
<INTEGRATION>
<Engine
IntegratorMethod = "2"
NumCores = "1"
TOutput = "0,5"
LogStates = "1"
stepsize = "0"
HMax = "0.002"
HMin = "0.00000001"
AbsTol = "1e-3"
RelTol = "1e-3"
UseRSSNormInsteadOfInfNorm = "0"
FileOutput = "objects:all"
/>
</INTEGRATION>
</Contents>

This SimObject is referred to as Visual/BillboardText