Skip to content

Visualization of Streamlines Continued

ThomasMr99 edited this page Feb 7, 2025 · 4 revisions

The standard visualiziaton of streamlines was introduced in Visualization of Streamlines. To explore extensions and modifications, details on expanding the network of this workspace will be presented.

Therefore, open up the freature-streamlines.vws again an start in the Network Mode. streamline_vws_3

Adding an isosurface into the canvas

Processors and Arrangement

Add the following processors:
IsosurfaceExtractor, GeometryRenderer, GeometryProcessor, Splitter

Now arrange the new processors into the existing pipline as presented in the picture

streamline_vws_4

Processor settings

  • IsosurfaceExtractor
    This processor has already been mentioned in Isosurface Extraction. In its properties, adjust the Isovalue, in this example 0.04 is a suitable choice.
  • GeometryRenderer
    Allows to adjust the visualization of the isosurface. In its porperties, Enable Lighting will create a Phong-Lighting.
  • GeometryProcessor2
    Is not changed in this example.
  • Splitter
    Creates a split in the canvas so that both, the streamlines and the isosurface is shown. When enable Overlay these two will take up the same space. In the canvas a line will appear which can be changed by the Position in the properties or by pulling it in the canvas.

streamline_vws_5

Adding a magnitude visualization

Processors and Arrangement

Add the following processors:
VectorMagnitude , SliceViewer , Canvas2 , Splitter

Now arrange the new processors into the existing pipline as presented in the picture streamline_vws_6

Processor settings

  • VectorMagnitude
    Hit Enable to allow the calculation and display of the vector magnitude to show the flow intensities.
  • SliceViewer
    Configures the shown Slice, for example the XY-Plane(axial) and and adjust the transfer function for it. In this example both of them will not be changed.

streamline_vws_8

Connecting both visualizations with linking the layers

For a detailed explanation of the linking layers in voreen look into Linking Layers. In this example both canvas will be linked such that a change in the slice of the vector magnitudes also happens in the canvas with the streamlines.

Follow the steps

  • Add the processor SlicePositionRenderer and connect it to Vector Field and GeometryProcessor. streamline_vws_9
  • Switch to linking mode streamline_vws_11
  • Connect SliceViewer and SlicePositionRenderer such that the Property Link Editor opens streamline_vws_12
  • Connect from SliceViewer the property Slice Number to Z Slice Number of SlicePositionRenderer and press ok. streamline_vws_13

Result

streamline_vws_14

The result are two connected canvas. One showing streamlines, with seedpoints calculated in the green ROI. In this canvas, the geometry isosurface is integrated and can be seen by dragging the white line from left to right. In the second canvas the intensity values for a the blue plane in the bounding box of the first canvas are shown. This plane can be changed by going into the second canvas and turning the mouse wheel.

There are further possibilities to adjust the workspace:

  • Add two more canvas for the other planes of the 3D Volume. Then not only the XY-Plane, but also the XZ & YZ-Plane can be shown.
  • Change the transfer function of the second canvas, so that the intensity values are presented in a different way
  • Change the isovalue for the isosurface in the first canvas
  • etc.
Clone this wiki locally