SignalArrowVisualizing an arrow with dynamically varying size in frame_a based on input signal |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Model SignalArrow defines an arrow that is dynamically visualized
at the location where its frame_a is attached. The
vector from the tail to the head of the arrow,
resolved in frame_a, is defined via the signal vector of
the connector r_head
(Real r_head[3]
):
The quantity
parameter defines what the vector represents, allowing
tools to scale e.g. forces and torques differently in a consistent way.
For the default value RelativePosition the obvious scaling is
1 and the relative position is shown as is.
The tail of the arrow is defined with input r_tail
with respect to frame_a (vector from the origin of frame_a to the arrow tail).
animation |
Value: true Type: Boolean Description: = true, if animation shall be enabled |
---|---|
quantity |
Value: Types.VectorQuantity.RelativePosition Type: VectorQuantity Description: Kind of physical quantity represented by the vector |
r_tail |
Default Value: {0, 0, 0} Type: Position[3] (m) Description: Vector from frame_a to arrow tail, resolved in frame_a |
---|---|
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) |
headAtOrigin |
Default Value: false Type: Boolean Description: = true, if the vector is pointing towards the origin of vector frame |
frame_a |
Type: Frame_a Description: Coordinate system in which visualization data is resolved |
|
---|---|---|
r_head |
Type: RealInput[3] Description: Vector resolved in frame_a |
Modelica.Mechanics.MultiBody.Joints Free motion joint with scalar initialization and state selection (6 degrees-of-freedom, 12 potential states) |