You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user_doc/ClassicTutorial.md
+15-27Lines changed: 15 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Download the SCIRunData file as a [zip](https://www.sci.utah.edu/releases/scirun
19
19
20
20
:::{figure-md} fig-set-path
21
21
22
-

22
+

23
23
24
24
The the Paths tab of the SCIRun preference window.
25
25
:::
@@ -105,9 +105,9 @@ See [Appendix 1](#appendix-1) for a description of various types of geometric me
105
105
Now add a second module to the network. This module is used to visualize various Field types. Then connect the two modules in the canvas so data can flow between them.
106
106
107
107
1. Create a **ShowField** module using the DataIO section in the module selector (use the same menus used to create the ReadField module).
108
-
2. Position the mouse pointer over the yellow output port on the **ReadField**. Press and hold the right mouse button. The name of the port and lines indicating possible data pipe connections will appear.
109
-
3. Continue to hold the right middle button and drag the mouse toward the first yellow **ShowField** input port.
110
-
4. The line turns gray, showing the desired connection has been selected. See ({numref}`fig-pipe-selection`).
108
+
2. Position the mouse pointer over the yellow output port on the **ReadField**. Press and hold the left mouse button. The name of the port and lines indicating possible data pipe connections will appear.
109
+
3. Continue to hold the left mouse button and drag the mouse toward the first yellow **ShowField** input port.
110
+
4. The line turns red, showing the desired connection has been selected. See ({numref}`fig-pipe-selection`).
111
111
112
112
:::{figure-md} fig-pipe-selection
113
113
@@ -126,18 +126,9 @@ Connected Dataflow Pipe
126
126
:::
127
127
128
128
129
-
## Dynamic Commpilation
129
+
## Setting the ShowField User INTERFACE_MODULES_
130
130
131
-
**ShowField** works with all SCIRun Field data types. However, these data types must first be compiled into a shared library (as needed) where they are saved for future use. This process is called "Dynamic Compilation."
132
-
133
-
Dynamic Compilation causes a delay when the module executes the first time. For more details, refer to [Dynamic Compilation](http://www.sci.utah.edu/publications/mcole01/dyn.pdf).
134
-
135
-
In addition, the module turns light yellow while it compiles, and compilation output goes to the module's log as a remark. Note that SGI computers can take over 30 seconds to perform dynamic compilation. When compilation is done, the modules color returns to a light gray.
136
-
137
-
138
-
### Setting the ShowField User INTERFACE_MODULES_
139
-
140
-
The **ShowField** module has options for changing the visual representations of a Field's geometry. To illustrate the module's functionality, change **ShowField** parameters using its GUI. Specifically, change the color of the nodes to blue spheres.
131
+
The **ShowField** module has options for changing the visual representations of a Field's geometry. To illustrate the module's functionality, change **ShowField** parameters using its GUI (found by clicking the GUI button on the **ShowField** module ({numref}`fig-module-info`)). Specifically, change the color of the nodes to blue spheres.
141
132
142
133
1. Select the UI button on the **ShowField** module.
143
134
2. Select the Default Color button near the top of the GUI to change the default color and a separate Color Chooser GUI appears.
@@ -185,23 +176,20 @@ ViewScene window showing the utahtorso-lowres-voltage data
185
176
186
177
In the Viewer, the mouse can be used to rotate, scale, and translate the image.
187
178
188
-
### Translating the image (Left Button)
179
+
### Translating the image (Right Button)
189
180
1. Move the mouse to the center of the image.
190
-
2. Click and hold the left mouse button.
181
+
2. Click and hold the right mouse button.
191
182
3. Move the mouse to translate the image.
192
183
4. Release the button, and the image stays in its new location.
193
184
194
-
### Rotating the image (Middle Button)
195
-
1. Click and hold the middle mouse button.
185
+
### Rotating the image (Left Button)
186
+
1. Click and hold the left mouse button.
196
187
2. Move the mouse to rotate the image.
197
188
3. Release the mouse button.
198
-
4. If the mouse button is released while dragging, the image will continue to rotate.
199
-
5. Click the middle mouse button to stop rotation.
200
189
201
-
### Scaling the scene (Right Button)
202
-
1. Click the right mouse button and drag the mouse.
203
-
2. Move the mouse up or to the left to zoom the image out.
204
-
3. Move the mouse down or to the right to zoom the image in.
190
+
### Scaling the scene (Scroll Wheel)
191
+
2. Scroll up to zoom the image out.
192
+
3. Scroll down to zoom the image in.
205
193
206
194
207
195
## Setting Visualization Parameters
@@ -249,7 +237,7 @@ Now that a three-module network has been created, save it to disk. The .srn5 fil
249
237
1. Click on the File menu (at the top of the Network Editor window) and select "Save As."
250
238
2. When the file browser appears, follow the prompt to choose a location and filename for the network. Many example networks are stored in the ExampleNets directory, which is distributed with the binaries, or in SCIRun/src/ExampleNets. The network can be stored in any location with write access.
251
239
-TODO: update show-torso-mesh.srn to SR5 and add to example nets
252
-
3. For this example, store the net as SCIRun/src/nets/show-torso-mesh.srn, as in {numref}`fig-save-as`. The .srn suffix is used for SCIRun network files
240
+
3. For this example, store the net as SCIRun/src/nets/show-torso-mesh.srn5, as in {numref}`fig-save-as`. The .srn5 suffix is used for SCIRun network files
253
241
254
242
**Please note, to avoid losing work, it is strongly recommended that nets be saved frequently. Auto-save can also be enabled in the SCIRun Preferences window.**
255
243
@@ -267,7 +255,7 @@ Now that a three-module network has been created, save it to disk. The .srn5 fil
267
255
268
256
1. Start SCIRun.
269
257
2. From the File drop-down menu, select the the Load... option.
270
-
3. Select SCIRun/src/nets/show-torso-mesh.srn.
258
+
3. Select SCIRun/src/nets/show-torso-mesh.srn5.
271
259
272
260
The net reloads into SCIRun, where it was previously saved. If the net was saved with any of the module UIs open, those UIs automatically re-open when loaded to the net. After changing module settings (e.g., rotating the image in the ViewWindow or changing the rendering color of the nodes in ShowField), there are two options for re-saving the net:
0 commit comments