|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Functor that converts a mitk::Image to an itk::Image and invokes a callback. More...
#include <mitkPixelTypeList.h>
Public Types | |
| typedef void(* | CallBack) (T1, T2, T3) |
Public Member Functions | |
| AccessItkImageFunctor (X *cl, CallBack callBack, const mitk::Image *mitkImage, T1 t1=T1(), T2 t2=T2(), T3 t3=T3()) | |
| template<typename PixelType > | |
| bool | operator() () |
Functor that converts a mitk::Image to an itk::Image and invokes a callback.
Used internally by the AccessByItk macro family. Checks that the image's pixel type and dimension match the template parameters, then performs the conversion via mitk::ImageToItk and calls the provided callback.
| X | The class type on which the callback is a member function pointer. |
| VDimension | The expected image dimension. |
| T1 | Type of the first extra callback argument (or EmptyType). |
| T2 | Type of the second extra callback argument (or EmptyType). |
| T3 | Type of the third extra callback argument (or EmptyType). |
Definition at line 210 of file mitkPixelTypeList.h.
| typedef void(* mitk::AccessItkImageFunctor< X, VDimension, T1, T2, T3 >::CallBack) (T1, T2, T3) |
Definition at line 212 of file mitkPixelTypeList.h.
|
inline |
Definition at line 214 of file mitkPixelTypeList.h.
|
inline |
Definition at line 221 of file mitkPixelTypeList.h.
References mitk::Image::GetDimension().