Vector

Animation of a moveable vector-quantity (the length is not fixed in meters)

Information

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

The interface of this model is documented at Modelica.Mechanics.MultiBody.Visualizers.Advanced.Vector.
The interface of this model is defined at Modelica.Utilities.Internal.PartialModelicaServices.Animation.PartialVector.

Parameters (1)

quantity

Value: Types.VectorQuantity.Force

Type: VectorQuantity

Description: Quantity of the coordinates

Inputs (7)

R

Default Value: Frames.nullRotation()

Type: Orientation

Description: Orientation object to rotate the world frame into the vector frame

r

Default Value: {0, 0, 0}

Type: Position[3] (m)

Description: Position vector from origin of world frame to origin of vector frame, resolved in world frame

coordinates

Default Value: {0, 0, 0}

Type: Real[3]

Description: Coordinates of the vector resolved in vector frame

color

Default Value: Types.Defaults.ArrowColor

Type: Color

Description: Color of vector

specularCoefficient

Default Value: 0.7

Type: SpecularCoefficient

Description: Material property describing the reflecting of ambient light (= 0 means, that light is completely absorbed)

headAtOrigin

Default Value: false

Type: Boolean

Description: = true, if the vector is pointing towards the origin of vector frame

twoHeadedArrow

Default Value: false

Type: Boolean

Description: = true, if the arrow has two heads after each other (pointing in the same direction)

Outputs (10)

Form

Type: Real

rxvisobj

Type: Real[3]

Description: x-axis unit vector of shape, resolved in world frame

ryvisobj

Type: Real[3]

Description: y-axis unit vector of shape, resolved in world frame

rvisobj

Type: Position[3] (m)

Description: position vector from world frame to shape frame, resolved in world frame

vectorCoordinates

Type: Real[3]

vectorColor

Type: Color

vectorSpecularCoefficient

Type: SpecularCoefficient

vectorQuantity

Type: VectorQuantity

vectorTwoHeadedArrow

Type: Boolean

vectorHeadAtOrigin

Type: Boolean

Components (1)

R

Type: Orientation

Description: Orientation object to rotate the world frame into the vector frame

Extended by (1)

Vector

Modelica.Mechanics.MultiBody.Visualizers.Advanced

Visualizing a vector quantity (force, torque, etc.)