Products & Services Solutions Academia Support User Community Company

Learn more about Simulink 3D Animation   

VR Tracer - Trace trajectory of object in associated virtual scene

Library

Simulink 3D Animation

Description

Trace the trajectory of an object in the associated virtual scene.

This block creates marker nodes in regular time steps either as children of the specified parent node (Parent node parameter), or at the top level of scene hierarchy (root).

You can specify one of three types of markers:

Object position input must correspond to the placement of the object in the scene hierarchy. If the traced object resides as a child of a parent object, define the parent object DEF name in the Parent node field. If the traced object resides at the top of the scene hierarchy (its position is defined in global scene coordinates), leave this field empty.

The first block input vector determines the position of the marker. The second block input (if enabled by the Marker color selection parameter) represents the marker color.

Block Parameters Dialog Box

Associated VRML file — VRML file name specifying the associated virtual world.

Parent node (leave empty for root) — Specify the location of the traced object in the scene hierarchy.

Marker shape — From the list, select one of:

Connect markers with line segments — Select this check box to connect the traced object path with lines.

Place a triad at each marker position — Select this check box to place a triad at each marker position. A triad helps you orient the object trajectory in the x-y-z plane.

Marker scale — Specify a three-component vector that defines the scaling of predefined marker shapes and triads. This parameter allows to accommodate for scenes of various sizes.

Marker color selection — From the list, select:

Marker color — If Marker color selection is Selected in block mask from color list, select the color from the list: yellow, magenta, cyan, red, green, blue, white, black

If Marker color selection is Defined in block mask as RGB values, enter RGB values for the marker color.

Sample time — Enter the sample time or -1 for inherited sample time.

Ensure that a viewer window is open during simulation — Select this check box to ensure that the Simulink 3D Animation viewer is open during simulation.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS