SignalArrow

Visualizing an arrow with dynamically varying size in frame_a based on input signal

    SignalArrow

Library

Modelica/Mechanics/MultiBody/Visualizers

Description

Model SignalArrow defines an arrow that is dynamically visualizedat the location where its frame_a is attached. Theposition vector from the tail to the head of the arrow,resolved in frame_a, is defined via the signal vector ofthe connector r_head (Real r_head[3]):
 

model Visualizers.SignalArrow

The tail of the arrow is defined with parameter r_tailwith respect to frame_a (vector from the origin of frame_a to the arrow tail).

Parameters

SignalArrow_0

NameLabelDescriptionData TypeValid Values

mo_animation

animation

= true, if animation shall be enabled

Scalar

true
false

mo_r_tail

r_tail

Vector from frame_a to arrow tail, resolved in frame_a

Vector of size 3

mo_diameter

diameter

Diameter of arrow line

Scalar

mo_color

color

Color of arrow

Vector of size 3

mo_specularCoefficient

specularCoefficient

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

Scalar

SignalArrow_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

frame_a

implicit

Coordinate system in which visualization data is resolved

input

1

r_head

implicit

Position vector from origin of frame_a to head of arrow, resolved in frame_a

input

2

See Also