Chapter 3. Modules and Networks

Table of Contents

3.1. Types of Modules
3.2. Module Network Panels
3.3. Connector and Connection Types
3.4. Connecting, Disconnecting, Moving, Copying, and Replacing Connections
3.4.1. Connecting Modules
3.4.2. Disconnecting Modules
3.4.3. Moving Connections
3.4.4. Copying Connections
3.4.5. Replacing Connections
3.5. Mouse Pointers
3.6. Mouseover Information
3.7. Module Halo
3.8. Module Highlighting
3.9. Module Handling
3.9.1. Module Context Menu
3.9.2. Additional Inputs
3.9.3. Show Internal Network (Macro Modules)
3.10. Network Handling
3.10.1. Network Context Menu
3.10.2. Connections Context Menus
3.11. Using Groups
3.11.1. Creating Groups and Adding/Removing Modules
3.11.2. Editing, Converting, and Deleting Groups
3.11.3. Copying Groups Including Modules
3.12. Using Notes
3.12.1. Creating Notes
3.12.2. Handling Notes
3.12.3. Editing and Deleting Notes
3.12.4. Copying Notes Including Text
3.13. Using the Mini Map
3.14. Network Quick Search
3.15. Network Selector
3.16. Network Preview
3.17. Network Mouse Gestures
3.17.1. Gesture for Closing the Current Network
3.17.2. Gesture for Closing the Current Network Without Prompt

In MeVisLab, programming image processing algorithms or interactive image/3D scene manipulation is primarily done by establishing networks consisting of modules and connections between them. Modules encapsulate specific algorithms written in C++ and provide an interface in MeVisLab through fields. These fields can represent simple data, such as numbers or strings, but can also handle more complex data, such as six-dimensional voxel images. Fields of modules of the same type can be connected to form networks that represent algorithms on a higher abstraction layer.

In the following figure, a typical assembly of connected modules in a network, their panels, and viewers can be seen.

Figure 3.1. Example Network for SynchroView2D with Viewer (Panel), Automatic Panel, and Settings

Example Network for SynchroView2D with Viewer (Panel), Automatic Panel, and Settings

The following information can be found in this chapter:

For module and network shortcuts, see Section 4.3.10, “Preferences — Shortcuts”.

3.1. Types of Modules

There are three types of modules:

Table 3.1. Module Types

TypeColorLookCharacteristics
ML moduleBluePage-based and demand-driven processing of voxels
Open Inventor moduleGreenVisual scene graphs (3D)
Macro moduleBrownCombination of other module types, allowing implementing hierarchies and scripted interaction

If a module is invalid, it is displayed in bright red.

The number of warning and error messages printed to the debug console is displayed in the upper right corner of the module. Once the debug console is cleared, the warning and error indicators at the module are also cleared. If the module produces information messages, their number is printed in gray at this position. This enables a network or module developer to find the modules in a network that produce messages quickly.

Table 3.2. Invalid Modules

Module AppearanceExplanation

Invalid module

Macro containing at least one invalid module within its internal network, which could be either a regular module or another macro module

For information and examples on how to construct networks from modules, please refer to the Getting Started in which image processing pipelines, scene graphs, and macro module creation are discussed in detail.