visual3d:tutorials:modeling:virtual_laboratory
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| visual3d:tutorials:modeling:virtual_laboratory [2024/07/17 15:12] – sgranger | visual3d:tutorials:modeling:virtual_laboratory [2026/06/02 14:56] (current) – ↷ Links adapted because of a move operation 114.119.143.145 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | \\ | ||
| A segment coordinate system in Visual3D does not have to be associated with the subject, or even with motion capture data for that matter. We refer to these as virtual segments. **The only distinction between virtual segments and real segments is that typically we set them to be //Kinematic only// segments, which means that they are not included in the Inverse Dynamics calculations.** In all other ways they are just segments and are constructed with the same rules as all segments. | A segment coordinate system in Visual3D does not have to be associated with the subject, or even with motion capture data for that matter. We refer to these as virtual segments. **The only distinction between virtual segments and real segments is that typically we set them to be //Kinematic only// segments, which means that they are not included in the Inverse Dynamics calculations.** In all other ways they are just segments and are constructed with the same rules as all segments. | ||
| - | ==== Example: Simple Virtual Laboratory ==== | + | ===== Example: Simple Virtual Laboratory |
| A Virtual Laboratory is not a physical segment in Visual3D but is equivalent to a physical segment to the effect that it has a Segment Coordinate System that can be used to represent the laboratory (or other objects) and has an associated surface model that can be animated as part of the scene. A typical use of the Virtual Laboratory is to represent the floor so that motion capture markers can be projected onto the floor. | A Virtual Laboratory is not a physical segment in Visual3D but is equivalent to a physical segment to the effect that it has a Segment Coordinate System that can be used to represent the laboratory (or other objects) and has an associated surface model that can be animated as part of the scene. A typical use of the Virtual Laboratory is to represent the floor so that motion capture markers can be projected onto the floor. | ||
| - | **Note:** A typical use of the Virtual laboratory is for creating [[Visual3D:Documentation:Pipeline:Model_Based_Data_Commands:Joint_Angle# | + | **Note:** A typical use of the Virtual laboratory is for creating [[visual3d:documentation:visual3d_signal_types:link_model_based_data_type:joint_angle# |
| Below is a straightforward virtual lab that has a specified constant orientation. | Below is a straightforward virtual lab that has a specified constant orientation. | ||
| Line 14: | Line 13: | ||
| An example of the Simple Virtual Lab can be downloaded [[https:// | An example of the Simple Virtual Lab can be downloaded [[https:// | ||
| - | === Create 4 Landmarks === | + | ==== Create 4 Landmarks |
| First, create 4 landmarks **Lab_Origin**, | First, create 4 landmarks **Lab_Origin**, | ||
| + | {{ : | ||
| + | **1. Create Lab_Origin: | ||
| + | - Click **Landmarks** buttonC | ||
| + | - Click **Add New Landmark** button | ||
| + | - Create Landmark: // | ||
| - | |\\ **1. Create Lab_Origin: | + | ---- |
| + | {{ :VLab_Lab_X.jpg}} | ||
| - | |\\ **2. Create Lab_X:**\\ \\ < | + | **2. Create Lab_X:** |
| + | - Click **Landmarks** button | ||
| + | - Click **Add New Landmark** button | ||
| + | - Create Landmark: //Lab_X//\\ \\ **Landmark Name:** //Lab_X//\\ **Define Orientation Using:**\\ **Starting Point:** //Leave Blank//\\ **Existing Segment:** //LAB// \\ Offset Using the Following **ML/ | ||
| - | |\\ **3. Create Lab_Y:**\\ \\ < | + | ---- |
| - | |\\ **4. Create Lab_Z:**\\ \\ < | + | {{ :VLab_Lab_X.jpg}} |
| - | \\ | + | **3. Create Lab_Y:** |
| - | A subset of 3 of these Landmarks | + | - Click **Landmarks** button |
| + | - Click **Add New Landmark** button | ||
| + | - Create Landmark: //Lab_Y//\\ \\ **Landmark Name:** //Lab_Y//\\ **Define Orientation Using:**\\ **Starting Point:** //Leave Blank//\\ **Existing | ||
| - | === Create the Virtual Laboratory Segment === | + | ---- |
| + | {{ : | ||
| - | To create the Virtual Laboratory segment, switch to the **Segment** | + | **4. Create Lab_Z:** |
| + | - Click **Landmarks** button | ||
| + | - Click **Add New Landmark** button | ||
| + | - Create Landmark: //Lab_Z//\\ \\ **Landmark Name:** //Lab_Z// \\ **Define Orientation Using:**\\ **Starting Point:** //Leave Blank//\\ **Existing | ||
| - | |**1. Create the Virtual Lab Segment: | + | ---- |
| - | |4. In the **Virtual Lab** tab, enter these values:\\ \\ | **Define Proximal Joint and Radius**\\ \\ **Lateral: | + | A subset of 3 of these Landmarks can be used to represent the Segment Coordinate System |
| - | \\ | + | ==== Create the Virtual Laboratory Segment ==== |
| + | To create the Virtual Laboratory segment, switch to the **Segment** Tab in model builder mode. | ||
| + | **1. Create the Virtual Lab Segment:** | ||
| + | - In the Segment Name combo box type **Virtual Lab** | ||
| + | - Check the **Kinematic Only** Check Box | ||
| + | - Select the **Create** button \\ {{: | ||
| + | - In the **Virtual Lab** tab, enter these values:\\ **Define Proximal Joint and Radius** \\ **Lateral: | ||
| + | - Click on **Build Model.** | ||
| + | - Click on **Close Tab** before proceeding. | ||
| ---- | ---- | ||
| === Adding a Surface Model === | === Adding a Surface Model === | ||
| + | {{ : | ||
| - | |\\ To add a surface model or graphic switch to the **Segment Properties** Tab.\\ Select **Virtual Lab** as Segment Name.\\ Near the bottom of the dialog **Browse** for a Model File (.obj or .v3g) of your choosing.\\ \\ \\ Select **Apply**.\\ \\ **Note:** A surface model need not be applied to the virtual lab. | + | To add a surface model or graphic switch to the **Segment Properties** Tab. |
| + | - Select **Virtual Lab** as Segment Name. | ||
| + | - Near the bottom of the dialog **Browse** for a Model File (.obj or .v3g) of your choosing. | ||
| + | - Select **Apply**. | ||
| + | **Note:** A surface model need not be applied to the virtual lab. | ||
| - | ==== Example: Virtual segment aligned with a different principal axis of the laboratory ==== | + | ---- |
| + | ===== Example: Virtual segment aligned with a different principal axis of the laboratory | ||
| The following example will construct a segment coordinate system that is rotated from the laboratory coordinate system. | The following example will construct a segment coordinate system that is rotated from the laboratory coordinate system. | ||
| Line 54: | Line 82: | ||
| An example of a Rotated Virtual Lab can be downloaded [[https:// | An example of a Rotated Virtual Lab can be downloaded [[https:// | ||
| - | === Create 3 Landmarks === | + | ==== Create 3 Landmarks |
| First, create 3 landmarks **Lab_Origin**, | First, create 3 landmarks **Lab_Origin**, | ||
| + | {{ : | ||
| - | |\\ **1. Create Lab_Origin: | + | **1. Create Lab_Origin: |
| + | - Click **Landmarks** button | ||
| + | - Click **Add New Landmark** button | ||
| + | - Create Landmark: // | ||
| - | |\\ **2. Create Lab_Other: | + | ---- |
| - | |\\ **3. Create Lab_Z:**\\ \\ < | + | {{ :VLab_Lab_Other.jpg}} |
| - | \\ | + | **2. Create Lab_Other: |
| + | - Click **Landmarks** button | ||
| + | - Click **Add New Landmark** button | ||
| + | - Create Landmark: // | ||
| + | ---- | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | **3. Create Lab_Z:** | ||
| + | - Click **Landmarks** button | ||
| + | - Click **Add New Landmark** butto | ||
| + | - Create Landmark: //Lab_Z// \\ \\ **Landmark Name:** //Lab_Z// \\ **Define Orientation Using:**\\ **Starting Point:** //Leave Blank//\\ **Existing Segment:** //LAB// \\ Offset Using the Following **ML/ | ||
| + | |||
| + | ---- | ||
| - | === Create the Virtual Laboratory Segment === | + | ==== Create the Virtual Laboratory Segment |
| To create the Virtual Laboratory segment, switch to the **Segment** Tab in model builder mode and enter the following: | To create the Virtual Laboratory segment, switch to the **Segment** Tab in model builder mode and enter the following: | ||
| - | |**1. Create the Virtual Lab Segment: | + | **1. Create the Virtual Lab Segment: |
| + | \\ 1. In the Segment Name combo box type **Virtual Lab**\\ | ||
| + | \\ 2. Check the **Kinematic Only** Check Box\\ | ||
| + | \\ 3. Select the **Create** button | ||
| - | |4. In the **Virtual Lab** tab, enter these values:\\ \\ | **Define Proximal Joint and Radius**\\ \\ **Lateral: | ||
| + | 4. In the **Virtual Lab** tab, enter these values:\\ \\ **Define Proximal Joint and Radius**\\ \\ **Lateral: | ||
| \\ | \\ | ||
| We have just created a virtual lab that is aligned with a different axis of the lab coordinate system (rotated).\\ | We have just created a virtual lab that is aligned with a different axis of the lab coordinate system (rotated).\\ | ||
| + | ---- | ||
| ==== Example: Creating a virtual laboratory that changes with the direction of walking ==== | ==== Example: Creating a virtual laboratory that changes with the direction of walking ==== | ||
| Line 98: | Line 146: | ||
| - | |\\ **1. Create Lab_Origin: | + | \\ **1. Create Lab_Origin: |
| - | |\\ **2. Create Lab_X:**\\ \\ < | + | ---- |
| + | \\ **2. Create Lab_X: | ||
| - | |\\ **3. Create Lab_Z:**\\ \\ < | + | ---- |
| - | + | \\ **3. Create Lab_Z: | |
| - | \\ | + | |
| + | ---- | ||
| === Create a Landmark from the Pelvis lateral axis projected onto a Laboratory Axis === | === Create a Landmark from the Pelvis lateral axis projected onto a Laboratory Axis === | ||
| Line 111: | Line 160: | ||
| Create a landmark **Pelvis_Lateral** 10 cm from the Laboratory Origin in the lateral direction of the Pelvis. Create another landmark **Pelvis_Lateral_Projected** that projects **Pelvis_Lateral** onto a line formed by the **Lab_Origin** and **Lab_X** landmarks. Then create a landmark | Create a landmark **Pelvis_Lateral** 10 cm from the Laboratory Origin in the lateral direction of the Pelvis. Create another landmark **Pelvis_Lateral_Projected** that projects **Pelvis_Lateral** onto a line formed by the **Lab_Origin** and **Lab_X** landmarks. Then create a landmark | ||
| - | |\\ **1. Create Pelvis_Lateral: | + | \\ **1. Create Pelvis_Lateral: |
| - | |\\ **2. Create Pelvis_Lateral_Projected: | + | ---- |
| + | |||
| + | \\ **2. Create Pelvis_Lateral_Projected: | ||
| \\ | \\ | ||
| + | ---- | ||
| + | \\ **3. Create Lab_Lateral: | ||
| - | |\\ **3. Create Lab_Lateral: | + | ---- |
| === Create Virtual Laboratory Segment === | === Create Virtual Laboratory Segment === | ||
| Line 125: | Line 177: | ||
| - | |**1. Create the Virtual Lab Segment: | + | **1. Create the Virtual Lab Segment: |
| + | \\ 1. In the Segment Name combo box type **Virtual Lab**\\ | ||
| + | \\ 2. Check the **Kinematic Only** Check Box\\ | ||
| + | \\ 3. Select the **Create** button | ||
| - | |4. In the **Virtual Lab** tab, enter these values:\\ \\ | **Define Proximal Joint and Radius**\\ \\ **Lateral: | + | 4. In the **Virtual Lab** tab, enter these values:\\ \\ **Define Proximal Joint and Radius**\\ \\ **Lateral: |
| \\ | \\ | ||
visual3d/tutorials/modeling/virtual_laboratory.1721229122.txt.gz · Last modified: by sgranger
