Skip to content

Visualization of Streamlines Continued

ThomasMr99 edited this page Feb 7, 2025 · 4 revisions

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.
streamline_vws_3


Adding an Isosurface to the Canvas

Processors and Arrangement

Add the following processors:

  • IsosurfaceExtractor
  • GeometryRenderer
  • GeometryProcessor
  • Splitter

Now, arrange the new processors into the existing pipeline as shown in the image below:

streamline_vws_4

Processor Settings

  • IsosurfaceExtractor
    This processor has already been introduced in Isosurface Extraction. Adjust the Isovalue property—0.04 is a suitable choice in this example.
  • GeometryRenderer
    Controls the visualization of the isosurface. Mark Enable 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. Enabling Overlay 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.

streamline_vws_5


Adding a Magnitude Visualization

Processors and Arrangement

Add the following processors:

  • VectorMagnitude
  • SliceViewer
  • Canvas
  • Splitter

Now, integrate these new processors into the existing pipeline as shown below:

streamline_vws_6

Processor Settings

  • 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.

streamline_vws_8


Linking Both Visualizations via Layer Linking

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.

Steps to Link Layers

  1. Add the processor SlicePositionRenderer and connect it to Vector Field and GeometryProcessor.
    streamline_vws_9
  2. Switch to Linking Mode.
    streamline_vws_11
  3. Connect SliceViewer and SlicePositionRenderer to open the Property Link Editor.
    streamline_vws_12
  4. In the Property Link Editor, link SliceViewer’s Slice Number to SlicePositionRenderer’s Z Slice Number, then click OK.
    streamline_vws_13

Final Result

streamline_vws_14

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.

Further Customization Options

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.
  • ...
Clone this wiki locally