You are viewing the documentation for OpenSim 2.4. Are you looking for the latest OpenSim 4.0 Documentation?

Node Commands (Context Menus)

This section describes the commands that are accessible through the different tree nodes. You can select the commands by right-mouse-clicking on a tree node to bring up the associated context menu. 

Since multiple nodes, potentially representing objects of different types, can be selected, OpenSim decides what commands make sense for the combination of selected nodes and only displays those. For example, the "Edit.." command only makes sense for individual objects, and hence, is not shown when multiple objects are selected in the tree. 

The sections below describe commands common to most objects, while the section about Object-Specific Commands details object-specific commands:

Display Menu

The Display menu includes a set of commands that controls whether objects corresponding to selected tree nodes are shown in the 3D View window, and if shown what representation to use for them. Objects presented in the Navigator tree may not have a corresponding visual representation in the 3D View window, in which case, the nodes for these objects would not have a Display Menu.

If the user selects a combination of nodes that contains some objects that do not have a visual representation, the Display Menu is not available. It is possible, however, to pick multiple objects that have visual representations in the 3D View window and change their visual properties together using the commands in Display Menu.

The following commands in the Display Menu control what objects appear in the 3D View window: 

  • Show: This option is dimmed out if the object is shown already in the 3D View window; otherwise executing the command shows the representation of the object(s) in the 3D View window.
  • Show Only: Same as "Show" except that it hides all other objects of the same type from the 3D View window. Multiple objects can be selected to show only a few bodies or a collection of muscle groups or individual muscles.
  • Hide: This option is dimmed out if the object is already hidden in the 3D View window; otherwise it hides the representation of the selected object(s) from the 3D View window.

The remaining commands in the Display Menu control the visual display of the object(s) in the 3D View window: 

  • Flat-Shaded: This option changes the visual representation of the selected objects to flat shaded representation. Rendered geometry is polyhedral in general. In the flat shaded representation, a color is used for each face of the polyhedron based on normals at all the vertices of the face. Edges would still show since neighboring faces may not have the same normal at the edges.
  • Smooth-Shaded: This option changes the visual representation of the selected objects to smooth shaded representation. Rendered geometry is polyhedral in general. Smooth shading averages the normals at the polyhedral edges and vertices of different faces, so the shading appears smooth and continuous.
  • Wireframe: This option changes the visual representation of the selected objects to a wireframe representation. Rendered geometry is polyhedral in general. The wireframe mode only displays the edges of the polyhedron.
  • Color…: This option brings up a color chooser window. Selected colors are applied after the color chooser window is closed.
  • Opacity……: This option brings up a window with a slider displaying the current value of Opacity for the selected object. You can change this value to control how transparent or opaque an object is. The changes are applied instantly to the selected objects and can be cancelled by pressing the Cancel button in the window.

Some navigator tree nodes have additional commands that appear under their Display Menu. These are unique to the specific object and are explained in Object-Specific Commands.

Edit

For nodes corresponding to objects that have an editor associated with their types, for example, Muscle Editor to edit muscles, the command Edit… is added to the context menu. This option brings up a window for advanced editing of the selected object.

The specialized editors that are available are listed below: 

Editing is only supported for single objects. The editing option will not appear when multiple objects are selected.

 

Property Viewer

This option brings up a window similar to the File Editor described in the File Editor section.  However, it is not possible to change values in this window.

 

OpenSim is supported by the Mobilize Center , an NIH Biomedical Technology Resource Center (grant P41 EB027060); the Restore Center , an NIH-funded Medical Rehabilitation Research Resource Network Center (grant P2C HD101913); and the Wu Tsai Human Performance Alliance through the Joe and Clara Tsai Foundation. See the People page for a list of the many people who have contributed to the OpenSim project over the years. ©2010-2024 OpenSim. All rights reserved.