MeVisLab Toolbox Reference
|
#include <mlITKSupport.h>
Go to the source code of this file.
Classes | |
class | ml::MLITKObjectFactory |
A class to manage a void pointer to an object of a certain class type a type dataType and dimension dim. More... | |
Namespaces | |
namespace | ml |
Main documentation file for ML users and developers. | |
#define _ML_CREATE_ITK_OBJECT_VOID | ( | ML_OUTDATATYPE, | |
ITKOUTDATATYPE, | |||
MLINDATATYPE, | |||
ITKINDATATYPE, | |||
DIM, | |||
CLASS_NAME ) |
Internal helper macro, to be used only within this file.
It expands to the code to create the itk object for all data types and dims.
ML_OUTDATATYPE | is the ML voxel type of output, currently unused. |
ITKOUTDATATYPE | is the ITK voxel type of the output image(s) of the ITK class, currently unused. |
MLINDATATYPE | is the ML voxel type of the input image(s), currently unused. |
ITKINDATATYPE | is the ITK voxel type of the input image(s). |
DIM | is the dimension the ITK class is compiled with. |
CLASS_NAME | is the class name of the ITK algorithm. |
Definition at line 27 of file mlITKObjectFactory.h.
#define _ML_CREATE_ITK_OBJECT_VOID_WO_DT | ( | ML_OUTDATATYPE, | |
ITKOUTDATATYPE, | |||
MLINDATATYPE, | |||
ITKINDATATYPE, | |||
DIM, | |||
CLASS_NAME ) |
Internal helper macro, to be used only within this file.
It expands to the code to create the itk object for all data types and dims.
ML_OUTDATATYPE | is the ML voxel type of output, currently unused. |
ITKOUTDATATYPE | is the ITK voxel type of the output image(s) of the ITK class, currently unused. |
MLINDATATYPE | is the ML voxel type of the input image(s), currently unused. |
ITKINDATATYPE | is the ITK voxel type of the input image(s). |
DIM | is the dimension the ITK class is compiled with. |
CLASS_NAME | is the class name of the ITK algorithm. |
Definition at line 57 of file mlITKObjectFactory.h.
#define _ML_DESTROY_ITK_OBJECT_VOID | ( | MLOUTDATATYPE, | |
ITKOUTDATATYPE, | |||
MLINDATATYPE, | |||
ITKINDATATYPE, | |||
DIM, | |||
CLASS_NAME ) |
See _ML_CREATE_ITK_OBJECT_VOID; however this is for object destruction.
MLOUTDATATYPE | is the ML voxel type of output, currently unused. |
ITKOUTDATATYPE | is the ITK voxel type of the output image(s) of the ITK class, currently unused. |
MLINDATATYPE | is the ML voxel type of the input image(s), currently unused. |
ITKINDATATYPE | is the ITK voxel type of the input image(s). |
DIM | is the dimension the ITK class is compiled with. |
CLASS_NAME | is the class name of the ITK algorithm. |
Definition at line 41 of file mlITKObjectFactory.h.
#define _ML_DESTROY_ITK_OBJECT_VOID_WO_DT | ( | MLOUTDATATYPE, | |
ITKOUTDATATYPE, | |||
MLINDATATYPE, | |||
ITKINDATATYPE, | |||
DIM, | |||
CLASS_NAME ) |
See _ML_CREATE_ITK_OBJECT_VOID; however this is for object destruction.
MLOUTDATATYPE | is the ML voxel type of output, currently unused. |
ITKOUTDATATYPE | is the ITK voxel type of the output image(s) of the ITK class, currently unused. |
MLINDATATYPE | is the ML voxel type of the input image(s), currently unused. |
ITKINDATATYPE | is the ITK voxel type of the input image(s). |
DIM | is the dimension the ITK class is compiled with. |
CLASS_NAME | is the class name of the ITK algorithm. |
Definition at line 71 of file mlITKObjectFactory.h.
#define MLITKImplementFactoryFuncs | ( | CLASS_NAME, | |
NAMESPACE, | |||
NEW_FUNC, | |||
DEL_FUNC ) |
Creates code for two static factory functions, one to create objects of type NAMESPACE::CLASS_NAME and to remove them.
Their template arguments are specified automatically by function arguments dataType and dim.
CLASS_NAME | specifies the class the factory function shall be created for. |
NAMESPACE | specifies the namespace in which CLASS_NAME resides. |
Definition at line 84 of file mlITKObjectFactory.h.
#define MLITKObjectFactoryInit | ( | FACTORY, | |
CLASS_NAME ) FACTORY._setCreatorAndDestructor(CLASS_NAME##Creator, CLASS_NAME##Destructor); |
Initializes an MLITKObjectFactory with its creation and destruction
functions which must have been implemented by MLITKImplementFactoryFuncs.
FACTORY | specifies the factory instance to be initialized. |
CLASS_NAME | specifies the class for which the init functions |
have been created.
Definition at line 115 of file mlITKObjectFactory.h.