Skip to content

Commit a078857

Browse files
authored
Added missing part for SoView2D
1 parent c8393bc commit a078857

File tree

5 files changed

+22
-2
lines changed

5 files changed

+22
-2
lines changed

mevislab.github.io/content/tutorials/basicmechanisms/macromodules/soviewportregion.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ In this guide, we will show how to use the `SoViewportRegion` module to create c
2020
We will demonstrate how to:
2121
* Divide the render area into multiple regions.
2222
* Assign different content to each region.
23-
* Use alternative methods, such as SoView2D, when applicable.
24-
23+
* Use alternative methods, such as `SoView2D`, when applicable.
2524

2625
## Prepare your network
2726

@@ -153,6 +152,27 @@ You will see that the orientation cube of the 3D viewer appears in the bottom ri
153152

154153
![Final Network](/images/tutorials/basicmechanics/E6_13.png "Final Network")
155154

155+
## Alternative using `SoView2D`
156+
In case you want the same dataset to be visualized in multiple viewers, the module `SoView2D` already provides this functionality.
157+
158+
![Initial SoView2D](/images/tutorials/basicmechanics/SoView2D_1.png "Initial SoView2D")
159+
160+
Whenever you are using the `SoView2D` module to visualize a 2D dataset, you need to add a `View2DExtensions` module and for example a `SoRenderArea` module. Without the `View2DExtensions` module, interactions like scrolling through slices or changing the window and level settings will not be possible.
161+
162+
By default, you will see your images in a single viewer the same way as if you use the `View2D` module. The *number of columns* is defined as *1* by default. If you now change the *Number of Slices* to something like *3*, you will see 3 viewers shown in 1 column. As we can only connect one dataset, this network cannot display multiple series at the same time.
163+
164+
![Multiple slices in SoView2D](/images/tutorials/basicmechanics/SoView2D_2.png "Multiple slices in SoView2D")
165+
166+
Changing the *number of columns* to *3* and the *Number of Slices* to *9* results in a 3 x 3 layout.
167+
168+
![Multiple slices and columns in SoView2D](/images/tutorials/basicmechanics/SoView2D_3.png "Multiple slices and columns in SoView2D")
169+
170+
By default, the module shows consecutive slices with a slice step size *1*. If you change this, you can define the size of the steps between the viewers. If the resulting slice does not exist in the dataset, the viewer remains empty.
171+
172+
![Not existing slices](/images/tutorials/basicmechanics/SoView2D_4.png "Not existing slices")
173+
174+
You are also able to define a slab size. This means the depth of the slab. You can either use the blend mode *Maximum* or *Blend*.
175+
156176
## Exercise
157177
You can play around with the different `SoViewportRegion` modules to create your own layouts by setting the values a little different.
158178

174 KB
Loading
165 KB
Loading
254 KB
Loading
102 KB
Loading

0 commit comments

Comments
 (0)