|
MeVisLab Toolbox Reference
|
Go to the source code of this file.
| #define _ML_CALL_CALCOUTSUBIMAGE | ( | MLOUTDATATYPE, | |
| ITKOUTDATATYPE, | |||
| MLINDATATYPE, | |||
| ITKINDATATYPE, | |||
| DIM, | |||
| CLASS_NAME ) |
Non public helper macro to support for X inputs.
Special version will pass the number of parameters as macro parameters
Definition at line 233 of file mlITKSupportMacrosP.h.
| #define _ML_CREATE_ITK_FILTER | ( | MLOUTDATATYPE, | |
| ITKOUTDATATYPE, | |||
| MLINDATATYPE, | |||
| ITKINDATATYPE, | |||
| DIM, | |||
| CLASS_NAME ) |
Internal helper macro, to be used only within this file to instantiate an itk object.
It expands to the code which calls functionality of the template wrapper of the ML module (for all ITK data types and dims) to create a typed ITK instance given by the untyped pointer itkFilterVoidPtr.
| MLOUTDATATYPE | is the ML voxel type of output image(s). |
| ITKOUTDATATYPE | is the ITK voxel type of the output image(s) of the ITK class. |
| MLINDATATYPE | is the ML voxel type of the input image(s). |
| 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 to be instantiated. |
Definition at line 253 of file mlITKSupportMacrosP.h.
| #define _ML_DESTROY_ITK_FILTER | ( | MLOUTDATATYPE, | |
| ITKOUTDATATYPE, | |||
| MLINDATATYPE, | |||
| ITKINDATATYPE, | |||
| DIM, | |||
| CLASS_NAME ) |
Internal helper macro, to be used only within this file.
It expands to the code which calls functionality of the template wrapper of the ML module (for all ITK data types and dims) to destroy a typed ITK instance given by the untyped pointer itkFilterVoidPtr.
| MLOUTDATATYPE | is the ML voxel type of output image(s). |
| ITKOUTDATATYPE | is the ITK voxel type of the output image(s) of the ITK class. |
| MLINDATATYPE | is the ML voxel type of the input image(s). |
| 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 to be destroyed. |
Definition at line 269 of file mlITKSupportMacrosP.h.
| #define _ML_DETERMINE_ITK_IN_REGION | ( | MLOUTDATATYPE, | |
| ITKOUTDATATYPE, | |||
| MLINDATATYPE, | |||
| ITKINDATATYPE, | |||
| _DIM, | |||
| CLASS_NAME ) |
Internal helper macro, to be used only within this file.
It expands to the code which calls functionality of the template wrapper of the ML module (for all ITK data types and dims) to calculate the input image region needed to calculate a certain output region.
| MLOUTDATATYPE | is the ML voxel type of output image(s). |
| ITKOUTDATATYPE | is the ITK voxel type of the output image(s) of the ITK class. |
| MLINDATATYPE | is the ML voxel type of the input image(s). |
| 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 whose method shall be called. |
Definition at line 285 of file mlITKSupportMacrosP.h.
| #define _ML_DETERMINE_ITK_OUT_IMAGE_REGION | ( | MLOUTDATATYPE, | |
| ITKOUTDATATYPE, | |||
| MLINDATATYPE, | |||
| ITKINDATATYPE, | |||
| DIM, | |||
| CLASS_NAME ) |
Internal helper macro, to be used only within this file.
It expands to the code which calls functionality of the template wrapper of the ML module (for all ITK data types and dims) to calculate the largest possible output image region and returns it as SubImgBox.
| MLOUTDATATYPE | is the ML voxel type of output image(s). |
| ITKOUTDATATYPE | is the ITK voxel type of the output image(s) of the ITK class. |
| MLINDATATYPE | is the ML voxel type of the input image(s). |
| 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 whose method shall be called. |
Definition at line 303 of file mlITKSupportMacrosP.h.
| #define _ML_GET_FILTER_PARAMETERS | ( | MLOUTDATATYPE, | |
| ITKOUTDATATYPE, | |||
| MLINDATATYPE, | |||
| ITKINDATATYPE, | |||
| DIM, | |||
| CLASS_NAME ) |
Internal helper macro, to be used only within this file.
It expands to the code which calls functionality of the template wrapper of the ML module (for all ITK data types and dims) to get all filter parameters and to set field values with the read parameters.
| MLOUTDATATYPE | is the ML voxel type of output image(s). |
| ITKOUTDATATYPE | is the ITK voxel type of the output image(s) of the ITK class. |
| MLINDATATYPE | is the ML voxel type of the input image(s). |
| 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 whose method shall be called. |
Definition at line 336 of file mlITKSupportMacrosP.h.
| #define _ML_IMPLEMENT_ALL_ITK_CASES | ( | INFO_STRING, | |
| USER_CODE, | |||
| CLASS_NAME, | |||
| DATATYPE_ENUM, | |||
| DIM, | |||
| DIM_INST ) |
This macro implements code for all ML voxel data types supported by ITK.
Definition at line 141 of file mlITKSupportMacrosP.h.
| #define _ML_INSTANTIATE_2D3D_CODE | ( | MLOUTDATATYPE, | |
| ITKOUTDATATYPE, | |||
| MLINDATATYPE, | |||
| ITKINDATATYPE, | |||
| USER_CODE2, | |||
| CLASS_NAME, | |||
| DIM ) |
Helper macro to instantiate some code for all ML data types and all ML dimensions.
Definition at line 60 of file mlITKSupportMacrosP.h.
| #define _ML_INSTANTIATE_2D_CODE | ( | MLOUTDATATYPE, | |
| ITKOUTDATATYPE, | |||
| MLINDATATYPE, | |||
| ITKINDATATYPE, | |||
| USER_CODE2, | |||
| CLASS_NAME, | |||
| DIM ) |
Include dll-specific settings.
Include most ml specific things. Include required ITK stuff needed by many macros. Helper macro to instantiate some code for all ML data types and all ML dimensions.
Definition at line 28 of file mlITKSupportMacrosP.h.
| #define _ML_INSTANTIATE_3D_CODE | ( | MLOUTDATATYPE, | |
| ITKOUTDATATYPE, | |||
| MLINDATATYPE, | |||
| ITKINDATATYPE, | |||
| USER_CODE2, | |||
| CLASS_NAME, | |||
| DIM ) |
Helper macro to instantiate some code for all ML data types and all ML dimensions.
Definition at line 44 of file mlITKSupportMacrosP.h.
| #define _ML_INSTANTIATE_6D_CODE | ( | MLOUTDATATYPE, | |
| ITKOUTDATATYPE, | |||
| MLINDATATYPE, | |||
| ITKINDATATYPE, | |||
| USER_CODE2, | |||
| CLASS_NAME, | |||
| DIM ) |
Helper macro to instantiate some code for all ML data types and all ML dimensions.
Definition at line 79 of file mlITKSupportMacrosP.h.
| #define _ML_INSTANTIATE_6D_SAME_DIM_CODE | ( | MLOUTDATATYPE, | |
| ITKOUTDATATYPE, | |||
| MLINDATATYPE, | |||
| ITKINDATATYPE, | |||
| USER_CODE2, | |||
| CLASS_NAME, | |||
| DIM ) |
Helper macro to instantiate some code for ML vector data types and all ML dimensions, if the dimensions match.
Definition at line 104 of file mlITKSupportMacrosP.h.
| #define _ML_ITK_DETERMINE_IN_REGION_0 | ( | CLASS_NAME, | |
| NAMESPACE ) |
Calculates required input regions for filters with 0 inputs.
Always returns empty box on any passed parameters.
Definition at line 345 of file mlITKSupportMacrosP.h.
| #define _ML_ITK_DETERMINE_IN_REGION_N | ( | CLASS_NAME, | |
| NAMESPACE ) |
Calculates required input regions for any number of filter inputs.
inIndex specifies the input region to be calculated. outBox specifies the output region which shall be calculated by the filter.
Definition at line 358 of file mlITKSupportMacrosP.h.
| #define _ML_ITK_DETERMINE_OUT_REGION_0 | ( | CLASS_NAME, | |
| NAMESPACE ) |
Calculates the maximum extent of the itk output image for 0 inputs and returns it as SubImageBox.
Definition at line 371 of file mlITKSupportMacrosP.h.
| #define _ML_ITK_DETERMINE_OUT_REGION_N | ( | CLASS_NAME, | |
| NAMESPACE ) |
Calculates the maximum extent of the itk output image for N inputs and returns it as SubImageBox.
Definition at line 382 of file mlITKSupportMacrosP.h.
| #define _ML_ITK_WRAPPER | ( | PROJECT_PREFIX, | |
| CLASS_NAME, | |||
| NAMESPACE, | |||
| DET_IN_REGION, | |||
| WRAPPER_TYPEDEFS, | |||
| CREATOR_SWITCH, | |||
| DET_OUT_REGION ) |
Implements a template class CLASS_NAME derived from BASE_CLASS with private constructor, destructor and assignment operator.
The template class depends on
it implements the prototype of the function
Definition at line 427 of file mlITKSupportMacrosP.h.
| #define _ML_SET_FILTER_PARAMETERS | ( | MLOUTDATATYPE, | |
| ITKOUTDATATYPE, | |||
| MLINDATATYPE, | |||
| ITKINDATATYPE, | |||
| DIM, | |||
| CLASS_NAME ) |
Internal helper macro, to be used only within this file.
It expands to the code which calls functionality of the template wrapper of the ML module (for all ITK data types and dims) to set all filter parameters.
| MLOUTDATATYPE | is the ML voxel type of output image(s). |
| ITKOUTDATATYPE | is the ITK voxel type of the output image(s) of the ITK class. |
| MLINDATATYPE | is the ML voxel type of the input image(s). |
| 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 whose method shall be called. |
Definition at line 320 of file mlITKSupportMacrosP.h.
| #define _TEMPLATE_INPUTS0 OutImageType |
Definition at line 212 of file mlITKSupportMacrosP.h.
| #define _TEMPLATE_INPUTS1 InImageType, OutImageType |
Definition at line 213 of file mlITKSupportMacrosP.h.
| #define _TEMPLATE_INPUTS2 InImageType, InImageType, OutImageType |
Definition at line 214 of file mlITKSupportMacrosP.h.
| #define _TEMPLATE_INPUTS3 InImageType, InImageType, InImageType, OutImageType |
Definition at line 215 of file mlITKSupportMacrosP.h.
| #define _TEMPLATE_INPUTS4 InImageType, InImageType, InImageType, InImageType, OutImageType |
Definition at line 216 of file mlITKSupportMacrosP.h.
| #define _TEMPLATE_INPUTS5 InImageType, InImageType, InImageType, InImageType, InImageType, OutImageType |
Definition at line 217 of file mlITKSupportMacrosP.h.
| #define _WRAPPER_DETERMINE_IN_REGION1_CPP | ( | CLASS_NAME | ) |
Helper functions to determine the input region needed to calculate a certain output region by an ITKImage of of any data type and any dimensions.
Definition at line 226 of file mlITKSupportMacrosP.h.
| #define ML_IMPLEMENT_ALL_ITK_2D3D_CASES | ( | INFO_STRING, | |
| USER_CODE, | |||
| CLASS_NAME, | |||
| DATATYPE_ENUM, | |||
| DIM ) _ML_IMPLEMENT_ALL_ITK_CASES(INFO_STRING, USER_CODE, CLASS_NAME, DATATYPE_ENUM, DIM, _ML_INSTANTIATE_2D3D_CODE) |
This macro implements 2+3D code for all ML voxel data types supported by ITK.
Definition at line 193 of file mlITKSupportMacrosP.h.
| #define ML_IMPLEMENT_ALL_ITK_2D_CASES | ( | INFO_STRING, | |
| USER_CODE, | |||
| CLASS_NAME, | |||
| DATATYPE_ENUM, | |||
| DIM ) _ML_IMPLEMENT_ALL_ITK_CASES(INFO_STRING, USER_CODE, CLASS_NAME, DATATYPE_ENUM, DIM, _ML_INSTANTIATE_2D_CODE) |
This macro implements 2D code for all ML voxel data types supported by ITK.
Definition at line 181 of file mlITKSupportMacrosP.h.
| #define ML_IMPLEMENT_ALL_ITK_3D_CASES | ( | INFO_STRING, | |
| USER_CODE, | |||
| CLASS_NAME, | |||
| DATATYPE_ENUM, | |||
| DIM ) _ML_IMPLEMENT_ALL_ITK_CASES(INFO_STRING, USER_CODE, CLASS_NAME, DATATYPE_ENUM, DIM, _ML_INSTANTIATE_3D_CODE) |
This macro implements 3D code for all ML voxel data types supported by ITK.
Definition at line 187 of file mlITKSupportMacrosP.h.
| #define ML_IMPLEMENT_ALL_ITK_6D_CASES | ( | INFO_STRING, | |
| USER_CODE, | |||
| CLASS_NAME, | |||
| DATATYPE_ENUM, | |||
| DIM ) _ML_IMPLEMENT_ALL_ITK_CASES(INFO_STRING, USER_CODE, CLASS_NAME, DATATYPE_ENUM, DIM, _ML_INSTANTIATE_6D_CODE) |
This macro implements 6D code for all ML voxel data types supported by ITK.
Definition at line 199 of file mlITKSupportMacrosP.h.
| #define ML_IMPLEMENT_ALL_ITK_6D_SAME_DIM_CASES | ( | INFO_STRING, | |
| USER_CODE, | |||
| CLASS_NAME, | |||
| DATATYPE_ENUM, | |||
| DIM ) _ML_IMPLEMENT_ALL_ITK_CASES(INFO_STRING, USER_CODE, CLASS_NAME, DATATYPE_ENUM, DIM, _ML_INSTANTIATE_6D_SAME_DIM_CODE) |
This macro implements 6D code for all ML vector data types supported by ITK which match the image dimension.
Definition at line 205 of file mlITKSupportMacrosP.h.
| #define ML_ITK_DEFAULT_WRAPPER_TYPEDEFS_0 | ( | CLASS_NAME, | |
| NAMESPACE ) typedef NAMESPACE::CLASS_NAME<_TEMPLATE_INPUTS0> FilterType; |
Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
| CLASS_NAME | specifies the class name of the ITK algorithm. |
| NAMESPACE | specifies the namespace in which CLASS_NAME resides. |
Definition at line 397 of file mlITKSupportMacrosP.h.
| #define ML_ITK_DEFAULT_WRAPPER_TYPEDEFS_1 | ( | CLASS_NAME, | |
| NAMESPACE ) typedef NAMESPACE::CLASS_NAME<_TEMPLATE_INPUTS1> FilterType; |
See ML_ITK_DEFAULT_WRAPPER_TYPEDEFS_0; this is for 1 input.
Definition at line 401 of file mlITKSupportMacrosP.h.
| #define ML_ITK_DEFAULT_WRAPPER_TYPEDEFS_2 | ( | CLASS_NAME, | |
| NAMESPACE ) typedef NAMESPACE::CLASS_NAME<_TEMPLATE_INPUTS2> FilterType; |
See ML_ITK_DEFAULT_WRAPPER_TYPEDEFS_0; this is for 2 inputs.
Definition at line 405 of file mlITKSupportMacrosP.h.
| #define ML_ITK_DEFAULT_WRAPPER_TYPEDEFS_3 | ( | CLASS_NAME, | |
| NAMESPACE ) typedef NAMESPACE::CLASS_NAME<_TEMPLATE_INPUTS3> FilterType; |
See ML_ITK_DEFAULT_WRAPPER_TYPEDEFS_0; this is for 3 inputs.
Definition at line 409 of file mlITKSupportMacrosP.h.