FixedArrow

Visualizing an arrow with dynamically varying size in frame_a

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Model FixedArrow defines an arrow that is shown at the location of its frame_a.
 

model Visualizers.FixedArrow

The direction of the arrow specified with vector n is with respect to frame_a, i.e., the local frame to which the arrow component is attached. The direction and length of the arrow, its diameter and color can vary dynamically by providing appropriate expressions in the input fields of the parameter menu.

Parameters (1)

animation

Value: true

Type: Boolean

Description: = true, if animation shall be enabled

Inputs (6)

r_tail

Default Value: {0, 0, 0}

Type: Position[3] (m)

Description: Vector from frame_a to arrow tail, resolved in frame_a

n

Default Value: {1, 0, 0}

Type: Axis

Description: Vector in arrow direction, resolved in frame_a

length

Default Value: 0.1

Type: Length (m)

Description: Length of complete arrow

diameter

Default Value: world.defaultArrowDiameter

Type: Diameter (m)

Description: Diameter of arrow line

color

Default Value: {0, 0, 255}

Type: Color

Description: Color of arrow

specularCoefficient

Default Value: world.defaultSpecularCoefficient

Type: SpecularCoefficient

Description: Reflection of ambient light (= 0: light is completely absorbed)

Connectors (1)

frame_a

Type: Frame_a

Description: Coordinate system in which visualization data is resolved

Components (3)

world

Type: World

arrowLine

Type: Shape

arrowHead

Type: Shape