modelVisualizeSimpleRoads
Simple visualization of a road as parameterized surface
Extends from Modelica.Mechanics.MultiBody.Visualizers.Advanced.Surface (Visualizing a moveable, parameterized surface; the surface characteristic is provided by a function).
Information
Object used for visualization of road surface. Road position evaluation is performed internally to enable correct visualization of the road surface. The road length and width can be given via parameters (see list below). The road visualization object consists of segments. Their number is dependent on the number of points along s and w.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | ns | 2 | Number of points along surface parameter 1 |
| Integer | nw | 2 | Number of points along surface parameter 2 |
| SI.Length | s_min | 0 | Minimum value of s |
| SI.Length | s_max | 1 | Maximum value of s |
| SI.Length | w_min | -1 | Minimum value of w |
| SI.Length | w_max | 1 | Maximum value of w |
| Surface properties | |||
| Integer | nu (from PartialSurface) | 2 | Number of points in u-Dimension |
| Integer | nv (from PartialSurface) | 2 | Number of points in v-Dimension |
| Material properties | |||
| Boolean | wireframe (from PartialSurface) | false | = true: 3D model will be displayed without faces |
| Boolean | multiColoredSurface (from PartialSurface) | false | = true: Color is defined for each surface point |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Frames.Orientation | R (from PartialSurface) | Frames.nullRotation() | Orientation object to rotate the world frame into the surface frame |
| SI.Position[3] | r_0 (from PartialSurface) | {0, 0, 0} | Position vector from origin of world frame to origin of surface frame, resolved in world frame |
| Real[3] | color (from PartialSurface) | {255, 0, 0} | Color of surface |
| Types.SpecularCoefficient | specularCoefficient (from PartialSurface) | 0.7 | Reflection of ambient light (= 0: light is completely absorbed) |
| Real | transparency (from PartialSurface) | 0 | Transparency of shape: 0 (= opaque) ... 1 (= fully transparent) |
Contents
| Name | Description |
|---|---|