MeVisLabToolboxReference
FMEwork/ITK/Sources/ITK/MLITK/ITKSupport/mlITKDefaultInstance.h File Reference

File containing helper functionality for a default singleton instance of the TestPattern module. More...

#include "mlInitSystemITKSupport.h"
#include "mlModuleIncludes.h"
#include "mlAPI.h"

Go to the source code of this file.

Namespaces

namespace  ml
 

Define the namespace name like in the ML. Default is ml.


Functions

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.
MLITK_SUPPORT_EXPORT void ml::disconnectAllInputs (Module &thisOp)
 Disconnects all connected inputs from thisOp.
MLITK_SUPPORT_EXPORT mlModule * ml::getDefaultModule (bool create=true)
 Returns the default module instance.
MLITK_SUPPORT_EXPORT void ml::destoyDefaultInstance ()
 Destroys the default module instance.

Detailed Description

File containing helper functionality for a default singleton instance of the TestPattern module.

Author:
Wolf Spindler
Date:
07/2005

Definition in file mlITKDefaultInstance.h.