MeVisLabToolboxReference
FMEwork/ITK/Sources/ITK/MLITK/ITKSupport/mlITKDefaultInstance.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //----------------------------------------------------------------------------------
00005 
00010 //----------------------------------------------------------------------------------
00011 #ifndef __mlITKDefaultInstance_H
00012 #define __mlITKDefaultInstance_H
00013 
00015 // Include dll-specific settings.
00016 #include "mlInitSystemITKSupport.h"
00017 
00019 #ifndef __mlModuleIncludes_H
00020 #include "mlModuleIncludes.h"
00021 #endif
00022 
00024 #include "mlAPI.h"
00025 
00026 ML_START_NAMESPACE
00027 
00047 extern MLITK_SUPPORT_EXPORT
00048  MLErrorCode setAndConnectDefaultModuleWithNotify(Module &thisOp,
00049                                                   const std::string &dataTypeName="float",
00050                                                   const ImageVector &imgExt = ImageVector(16,16,1,1,1,1),
00051                                                   MLint minIdx=0,
00052                                                   MLint maxIdx=ML_INT32_MAX,
00053                                                   const ImageVector &pageExt = ImageVector(16,16,1,1,1,1));
00054 
00056 extern MLITK_SUPPORT_EXPORT void disconnectAllInputs(Module &thisOp);
00057 
00060 extern MLITK_SUPPORT_EXPORT mlModule *getDefaultModule(bool create = true);
00061 
00063 extern MLITK_SUPPORT_EXPORT void destoyDefaultInstance();
00064 
00065 ML_END_NAMESPACE
00066 
00067 #endif