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

File containing some helper macros and functions to support the integration of ITK algorithms in ML modules. More...

Go to the source code of this file.

Classes

class  TypedObjectHolderBase
 Base class for all derived classes containing an itk object type pointer and some of its basic information. More...
class  TypedObjectHolderT< FILTER_TYPE >
 Typed version of a mini class containing an itkObject smart pointer. More...

Defines

#define IMPLEMENT_ITK_INTERFACE_H(CLASS_NAME)
 Public macro to implements header file stuff and support members for ITK helper function or classes.
#define ML_ITK_WRAPPER_0_2D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 0 inputs.
#define ML_ITK_WRAPPER_1_2D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 1 inputs.
#define ML_ITK_WRAPPER_2_2D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 2 inputs.
#define ML_ITK_WRAPPER_3_2D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 3 inputs.
#define ML_ITK_WRAPPER_0_3D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 0 inputs.
#define ML_ITK_WRAPPER_1_3D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 1 inputs.
#define ML_ITK_WRAPPER_2_3D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 2 inputs.
#define ML_ITK_WRAPPER_3_3D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 3 inputs.
#define ML_ITK_WRAPPER_0_2D3D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 0 inputs.
#define ML_ITK_WRAPPER_1_2D3D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 1 inputs.
#define ML_ITK_WRAPPER_2_2D3D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 2 inputs.
#define ML_ITK_WRAPPER_3_2D3D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 3 inputs.
#define ML_ITK_WRAPPER_0_6D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 0 inputs.
#define ML_ITK_WRAPPER_1_6D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 1 inputs.
#define ML_ITK_WRAPPER_2_6D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 2 inputs.
#define ML_ITK_WRAPPER_3_6D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 3 inputs.

Functions

void ML_ITK_ML_PRINT_ERROR (const std::string &className, MLErrorCode errCode, std::string reason, const std::string &strParam1="", MLint intParam1=-965386, const std::string &strParam2="", MLint intParam2=-965386, const std::string &strParam3="", MLint intParam3=-965386, const std::string &strParam4="", MLint intParam4=-965386)
 Include most ml specific things.

Detailed Description

File containing some helper macros and functions to support the integration of ITK algorithms in ML modules.

Author:
Wolf Spindler
Date:
10/2004

Definition in file mlITKSupport.h.


Define Documentation

#define IMPLEMENT_ITK_INTERFACE_H (   CLASS_NAME)

Public macro to implements header file stuff and support members for ITK helper function or classes.

Definition at line 253 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_0_2D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 0 inputs.

Definition at line 86 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_0_2D3D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 0 inputs.

Definition at line 144 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_0_3D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 0 inputs.

Definition at line 115 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_0_6D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 0 inputs.

Definition at line 172 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_1_2D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 1 inputs.

Definition at line 92 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_1_2D3D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 1 inputs.

Definition at line 150 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_1_3D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 1 inputs.

Definition at line 121 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_1_6D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 1 inputs.

Definition at line 178 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_2_2D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 2 inputs.

Definition at line 98 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_2_2D3D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 2 inputs.

Definition at line 156 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_2_3D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 2 inputs.

Definition at line 127 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_2_6D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 2 inputs.

Definition at line 184 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_3_2D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 3 inputs.

Definition at line 104 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_3_2D3D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 3 inputs.

Definition at line 162 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_3_3D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 3 inputs.

Definition at line 133 of file mlITKSupport.h.

#define ML_ITK_WRAPPER_3_6D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:

Implements the wrapper and support functionality for the ITK class CLASS_NAME, which must have 3 inputs.

Definition at line 190 of file mlITKSupport.h.


Function Documentation

void ML_ITK_ML_PRINT_ERROR ( const std::string &  className,
MLErrorCode  errCode,
std::string  reason,
const std::string &  strParam1 = "",
MLint  intParam1 = -965386,
const std::string &  strParam2 = "",
MLint  intParam2 = -965386,
const std::string &  strParam3 = "",
MLint  intParam3 = -965386,
const std::string &  strParam4 = "",
MLint  intParam4 = -965386 
) [inline]

Include most ml specific things.

Include most ml specific things. Include multi fields and other tools. Include internal helper macros. Include tool functions. Extended error printing message with four additional int and string parameters.

Definition at line 42 of file mlITKSupport.h.

References ML_PRINT_ERROR, and MLsnprintf.