
Figure 4.1: Isosurface UI
If a color map is not connected to the Isosurface input port, the
module uses the Default Color. By default, the module extracts a
surface using the Marching Cubes algorithm. The user can choose the
number of threads (processors) the algorithm will use, or use the
NOISE algorithm.
It can be more informative to see color associated with the
data, so add our standard color map modules to this net.
-
Create a GenStandardColorMaps module.
-
Create a RescaleColorMap module. Connect the ColorMap output
port from GenStandardColorMaps to the ColorMap input port on
RescaleColorMap. The ColorMap port is dark purple.
-
Connect the field output port from the FieldReader module to the Field
input port on RescaleColorMap.
-
Finally, connect the output ColorMap port from RescaleColorMap
to the Isosurface module.
-
Determining the best iso values to use for isosurfacing can
take some practice. For this data set, bring up the UI for
RescaleColorMap and select Fixed Scale. Use a
Min of -30, and a Max of 30. On the Isosurface
UI, Select List and use the values: -20 0 20 40. Note,
the more surfaces, the longer it takes to generate. On slower
computers, you may want to only use two iso values in your
list: 0 20.
Now add the visualization techniques covered in Chapter
3. This process involves sharing the FieldReader and Viewer
modules across the 3A, 3B, and 3C networks. Choose from the following
two options for rebuilding the nets saved in Chapter 3.
Option one, follow the instructions from Chapter 3, taking note of the
following items:
-
For help, refer to the complete, color-coded
network in Figure 4.2. This figure shows the combined net using
the previous chapter's networks. Blue corresponds to 3A,
orange to 3B, and yellow to 3C.
-
Repeat all steps for creating 3A in Chapter 3.
-
Do the same for 3B
and 3C, but reuse the
FieldReader, GenStandardColorMaps, RescaleColorMap and Viewer modules created for net 3A.
Option two:
Use the File->Insert menu to insert all nets and their settinga
saved in Chapter 3. Keep one Viewer module. Destroy the other Viewer
modules by
right-clicking on each one, and selecting the Destroy option. To
destroy a connection between two modules, right-click on the pipe
connecting the modules, and select Delete. These nets share the FieldReader module (in the upper left
corner of Figure 4.2), which loads the
utahtorso-lowres-voltage.tvd.fld file.
Keep one FieldReader module that reads voltage
data, and destroy the others. Do not destroy the FieldReader module reading electrode
data (There should be two FieldReader modules, one reading voltage data,
and one reading electrode data). Also, use the same GenStandardColorMaps and RescaleColorMap for all the ShowFields except the one connected to the FieldBoundary module.
Note, Figure 4.2 has been annotated to display the important
user interface settings for each module. If the image does not look
similar to Figure 4.3, check the
user interface settings.
Grouping Modules
Select (group) modules by drawing a rectangle around the
modules using the left mouse button. The selected modules will turn
light blue. Left-click and drag the mouse on any of the modules to
move the entire group to a new location in the NetEdit frame.
Save this net, it will be used in Chapter 6.

Figure 4.2: Merged, Color-Coded Net

Figure 4.3: ViewWindow Displaying Combined Visualizations
At this point in the tutorial, four methods of visualizing data have
been discussed. The tutorial has covered integrating separate module
groups to perform concurrent visualizations. The modules
used are part of the SCIRun Core modules. Chapter 5
discusses using modules from the bioelectric problem solving environment
(BioPSE) package.
Return to Top