MeVisLab Toolbox Reference
mlITKMLBaseWrapper.h File Reference
#include "mlInitSystemITKSupport.h"
#include "mlModuleIncludes.h"
#include <itkLightObject.h>

Go to the source code of this file.

Classes

class  ml::ITKWrapperBase
 Helper class to have a common base class for all derived wrapper. More...
 
class  ml::ITKTypedPointerWrapper< OBJ_TYPE, WRAPPER_CLASS_NAME >
 Class to create a Base wrapper around an object of a certain template type. More...
 

Namespaces

 ml
 Main documentation file for ML users and developers.
 

Macros

#define ML_CREATE_ITK_POINTER_WRAPPER_H(CLASS_NAME, PARENT_BASE_CLASS_NAME, ML_EXPORT_MACRO)
 Macro to create a wrapper class for an object. More...
 
#define ML_CREATE_ITK_POINTER_WRAPPER_CPP(CLASS_NAME, PARENT_BASE_CLASS_NAME)
 Macro to create a wrapper class for an object. More...
 

Macro Definition Documentation

◆ ML_CREATE_ITK_POINTER_WRAPPER_CPP

#define ML_CREATE_ITK_POINTER_WRAPPER_CPP (   CLASS_NAME,
  PARENT_BASE_CLASS_NAME 
)
Value:
\
/* The .cpp part of the runtime type system interface. */ \
ML_CLASS_SOURCE(ITK##CLASS_NAME##Wrapper, PARENT_BASE_CLASS_NAME);

Macro to create a wrapper class for an object.

Requires the usage of ML_CREATE_BASE_WRAPPER_FOR_OBJECT_H in corresponding .h file and the initialization of CLASS_NAME in the .dll-init file.

Definition at line 202 of file mlITKMLBaseWrapper.h.

◆ ML_CREATE_ITK_POINTER_WRAPPER_H

#define ML_CREATE_ITK_POINTER_WRAPPER_H (   CLASS_NAME,
  PARENT_BASE_CLASS_NAME,
  ML_EXPORT_MACRO 
)
Value:
\
/* Specialization of ITKWrapperBase */ \
class ML_EXPORT_MACRO ITK##CLASS_NAME##Wrapper : public PARENT_BASE_CLASS_NAME \
{ \
public: \
ITK##CLASS_NAME##Wrapper() = default; \
\
private: \
/* The header part of the runtime type system interface. */ \
ML_CLASS_HEADER(ITK##CLASS_NAME##Wrapper); \
}; \
\
typedef ITKTypedPointerWrapper<CLASS_NAME, ITK##CLASS_NAME##Wrapper> CLASS_NAME##Wrapper; \

Macro to create a wrapper class for an object.

Requires the usage of ML_CREATE_ITK_POINTER_WRAPPER_CPP in the corresponding .cpp file and the initialization of ITK##CLASS_NAME##Wrapper in the .dll-init file.

Definition at line 180 of file mlITKMLBaseWrapper.h.