Marine systems simulation
Loading...
Searching...
No Matches
Billboard Arrow

SimObject draws an arrow, and adds optional text.

+ Collaboration diagram for Billboard Arrow:

CBillboardArrow implements this. The arrow can have one or two heads in each direction.

Todo:
Add details
Author
Isak Swahn
Warning
This simObject does not work as expected.

Example configuration excerpt

<Lib
LibName = "fhsim_base"
SimObject = "Visual/BillboardArrow"
Name = "A"
TextSize = "1.0"
TextLocation = "1.0"
Prefix = "a"
Suffix = "b"
Precision = "1"
Scaling = "1.0"
Radius = "1.0"
RadiusFudge = "1.0"
NumFaces = "10"
MaterialName = "indianred2"
Type = "Vector"
TextVisible = "true"
/>

Input Ports

Name Width Description
Pos 3 Position of the billboard.
Vector 3 The arrow in terms of vector components.
Visible 1 Sets visibility. Visible if larger than 0.5, otherwise hidden.

Output Ports

This SimObject does not contain any outputs.

Configuration parameters

Name Width Description
TextSize 1 Size of the billboard text (default: 1.0).
TextLocation 1 Sets the posision of the text on the billboard (default: 1.0).
Prefix 1 Text prefix (default: [empty string]).
Suffix 1 Suffix of the string (default: [empty string]).
Precision 1 Precision of the displayed numbers (default: 1).
Scaling 1 Scaling of the text (default: 1.0).
Radius 1 Radius of the arrow (default: 1.0).
NumFaces 1 Number of visual faces of the arrow. The larger value, the smoother arrow surface (default: 10).
MaterialName 1 Name of the billboard material (default: indianred2).
Type 1 Type of arrow (default: Vector). Vector draws an arrow with one arrow. Moment draws an arrow with double arrow head. Bidirectional draws an arrow with arrowhead in both ends.
TextVisible 1 Whether or not the text should be visible (default: true).

Initial conditions

This SimObject does not contain any initial conditions.

This SimObject is referred to as Visual/BillboardArrow