MeVisLab Toolbox Reference
mlITKDefaultInstance.h File Reference
#include "mlInitSystemITKSupport.h"
#include "mlModuleIncludes.h"
#include "mlAPI.h"

Go to the source code of this file.

Namespaces

 ml
 Main documentation file for ML users and developers.
 

Functions

MLITK_SUPPORT_EXPORT MLErrorCode ml::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 then it's created), it sets the image and page extents, the data type and touches the apply field. More...
 
MLITK_SUPPORT_EXPORT MLErrorCode ml::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), it sets the image and page extents, the data type and connects it to the indices minIdx to maxIdx. More...
 
MLITK_SUPPORT_EXPORT void ml::disconnectAllInputs (Module &thisOp)
 Disconnects all connected inputs from thisOp. More...
 
MLITK_SUPPORT_EXPORT mlModuleml::getDefaultModule (bool create=true)
 Returns the default module instance. More...
 
MLITK_SUPPORT_EXPORT void ml::destoyDefaultInstance ()
 Destroys the default module instance. More...