MeVisLab Toolbox Reference
mlITKDefaultInstance.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#pragma once
14
16// Include dll-specific settings.
18
20#include "mlModuleIncludes.h"
21
23#include "mlAPI.h"
24
26
49 const ImageVector &imgExt,
50 const ImageVector &pageExt,
52
74 const std::string &dataTypeName="float",
75 const ImageVector &imgExt = ImageVector(16,16,1,1,1,1),
76 MLint minIdx=0,
78 const ImageVector &pageExt = ImageVector(16,16,1,1,1,1));
79
82
86
89
Base class for an image processing module of the ML.
Definition mlModule.h:151
MLint32 MLErrorCode
Type of an ML Error code.
Definition mlTypeDefs.h:716
#define mlModule
A macro name for a void pointer to a ml::Module in the ML to make pointer more readable.
Definition mlAPI.h:60
#define MLITK_SUPPORT_EXPORT
When included by other libraries MLITK_SUPPORT_EXPORT is compiled as import symbol.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
Definition mlTypeDefs.h:490
#define ML_INT32_MAX
Definition mlTypeDefs.h:171
MLITK_SUPPORT_EXPORT MLErrorCode setAndConnectDefaultModuleWithNotify(Module &thisOp, const std::string &dataTypeName="float", const ImageVector &imgExt=ImageVector(16, 16, 1, 1, 1, 1), MLint minIdx=0, MLint maxIdx=ML_INT32_MAX, const ImageVector &pageExt=ImageVector(16, 16, 1, 1, 1, 1))
This function takes the default module (if it still does not exist then it's created),...
MLITK_SUPPORT_EXPORT mlModule * getDefaultModule(bool create=true)
Returns the default module instance.
MLITK_SUPPORT_EXPORT MLErrorCode setUpDefaultModuleAndApply(const std::string &dataTypeName, const ImageVector &imgExt, const ImageVector &pageExt, bool performOutputUpdate)
This function takes the default module (a TestPattern from BasicModules) (if it still does not exist ...
MLITK_SUPPORT_EXPORT void disconnectAllInputs(Module &thisOp)
Disconnects all connected inputs from thisOp.
MLITK_SUPPORT_EXPORT void destoyDefaultInstance()
Destroys the default module instance.