modelPartialVector
Interface for 3D animation of a vector quantity (force, torque etc)
Information
This model is documented at Modelica.Mechanics.MultiBody.Visualizers.Advanced.Vector.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.VectorQuantity | quantity | Types.VectorQuantity.Force | Quantity of the coordinates |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Frames.Orientation | R | Frames.nullRotation() | Orientation object to rotate the world frame into the vector frame |
| SI.Position[3] | r | {0, 0, 0} | Position vector from origin of world frame to origin of vector frame, resolved in world frame |
| Real[3] | coordinates | {0, 0, 0} | Coordinates of the vector resolved in vector frame |
| Types.Color | color | Types.Defaults.ArrowColor | Color of vector |
| Types.SpecularCoefficient | specularCoefficient | 0.7 | Material property describing the reflecting of ambient light (= 0 means, that light is completely absorbed) |
| Boolean | headAtOrigin | false | = true, if the vector is pointing towards the origin of vector frame |
| Boolean | twoHeadedArrow | false | = true, if the arrow has two heads after each other (pointing in the same direction) |