FixedArrow

Visualizing an arrow with dynamically varying size in frame_a

    FixedArrow

Library

Modelica/Mechanics/MultiBody/Visualizers

Description

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

model Visualizers.FixedArrow

The direction of the arrow specified with vectorn is with respect to frame_a, i.e., the local frame to which thearrow component is attached. The direction and length of the arrow, its diameterand color can vary dynamically byproviding appropriate expressions in the input fields of theparameter menu.

Parameters

FixedArrow_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_n

n

Vector in arrow direction, resolved in frame_a

Vector of size 3

mo_length

length

Length of complete arrow

Scalar

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

FixedArrow_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

'headLength'
'headWidth'
'lineLength'

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