Chapter 9. Introduction to Macro Modules

Macro modules are implemented by means of the MeVisLab Definition Language (MDL) and the scripting language Python. A macro module behaves like any other elementary module in MeVisLab (ML or Inventor). However, no C++ has to be coded to implement a macro module.

Like any other module, a macro module has to be declared within the MeVisLab module database in a module definition file (*.def), which has to be located in the User Package Path.

The MDL script implementation of a macro module, that is its interface definition (input-, output-, and parameter fields) as well as its GUI definition, usually are written in a *.script file. The scripting is given in separate *.py files which need to be included in the *.script module definition file.

The definition of a macro module and the creation of all necessary files is supported by the ML Module Wizard, via FileRun Project Wizard (see the next chapter Chapter 10, Developing a Macro Module for an Applicator).

What you should know about macro modules: