Layout
Example 6: Creating Multi-View Layouts Using SoViewportRegion
Example 6: Creating Multi-View Layouts Using SoViewportRegion
Introduction
In this guide, we will show how to use the SoViewportRegion
module to create custom layouts within the SoRenderArea
module. This allows you to display multiple views or slices in a single window.
We will demonstrate how to:
- Divide the render area into multiple regions.
- Assign different content to each region.
- Use alternative methods, such as SoView2D, when applicable.
Prepare your network
Displaying three images in one panel
Add an ImageLoad
module to your workspace and select a 3D image like ./MeVisLab/Resources/DemoData/MRI_Head.tif from the MeVisLab demo data directory. Connect an OrthoReformat3
module and add three View2D
modules.