MeVisLab Toolbox Reference
mlAlgorithmModuleExample.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
4
5#pragma once
6
7#include "librarySystem.h"
8#include <mlAlgorithmModule.h>
9
11
14 public:
17
19 void validateInput() override final;
20 void update() override final;
21 void clear() override final;
22
23 private:
24 void addInputFields();
25 void addOutputFields();
26 void validateInputString();
27 void invertInputString();
28 void clearOutputString();
29
30 StringField* _inStringFld;
31 StringField* _outStringFld;
32
34};
35
Example to demonstrate the development of an ML module based on AlgorithmModule.
~AlgorithmModuleExample() override final
ML-Module base class to simplify development of modules encapsulating an algorithm with dedicated inp...
Field to encapsulate a string value.
Definition mlFields.h:610
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
#define ML_ALGORITHM_MODULE_EXAMPLES_EXPORT
Target mlrange_cast(Source arg)
Generic version of checked ML casts.