Chapter 9. Introduction to Macro Modules

Macro modules are implemented by means of the MeVisLab Definition Language (MDL) and the scripting languages Python or JavaScript. 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.

[Tip]Tip

Based on macro modules, stand-alone applications can be created with MeVisLab. Prerequisite for this is a license for the Application Development Kit (ADK).

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/*.js 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: