-
Notifications
You must be signed in to change notification settings - Fork 6
Visualization of Streamlines Continued
The standard visualization of streamlines was introduced in Visualization of Streamlines. This guide explores extensions and modifications, providing details on how to expand the network of this workspace.
To begin, open feature-streamlines.vws
again and start in Network Mode.
Add the following processors:
- IsosurfaceExtractor
- GeometryRenderer
- GeometryProcessor
- Splitter
Now, arrange the new processors into the existing pipeline as shown in the image below:
-
IsosurfaceExtractor
This processor has already been introduced in Isosurface Extraction. Adjust theIsovalue
property—0.04
is a suitable choice in this example. -
GeometryRenderer
Controls the visualization of the isosurface. MarkEnable Lighting
in its properties to apply Phong shading. -
GeometryProcessor2
No changes are required for this example. -
Splitter
Splits the canvas so both streamlines and the isosurface are visible. EnablingOverlay
allows them to occupy the same space. A dividing line appears in the canvas, which can be repositioned via the Position property or by dragging it directly.
Add the following processors:
- VectorMagnitude
- SliceViewer
- Canvas
- Splitter
Now, integrate these new processors into the existing pipeline as shown below:
-
VectorMagnitude
Enable
this processor to compute and display vector magnitudes, visualizing flow intensities. -
SliceViewer
Configures the displayed slice (e.g., XY-plane/axial view) and also adjust the transfer function. In this example, no modifications are will be done.
For a detailed explanation of layer linking in Voreen, refer to Linking Layers. In this example, both canvases are linked so that changes in the vector magnitude slice also reflect in the streamline visualization.
- Add the processor SlicePositionRenderer and connect it to Vector Field and GeometryProcessor.
- Switch to Linking Mode.
- Connect SliceViewer and SlicePositionRenderer to open the Property Link Editor.
- In the Property Link Editor, link SliceViewer’s
Slice Number
to SlicePositionRenderer’sZ Slice Number
, then click OK.
The result consists of two synchronized canvases:
- The first canvas displays streamlines, with seed points computed in the green ROI. The isosurface geometry is integrated and can be revealed by dragging the white divider line.
- The second canvas shows intensity values for the blue plane within the bounding box of the first canvas. You can change this plane by scrolling the mouse wheel while focused on the second canvas.
There are several ways to enhance the workspace:
- Add additional canvases to display the XZ and YZ planes alongside the XY-plane.
- Modify the transfer function in the second canvas to present intensity values differently.
- Adjust the isovalue for the isosurface in the first canvas.
- ...