Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::ImageCaster Class Reference

Proxy class for global image casting functions needed by the Python wrapping process. More...

#include <mitkImageCaster.h>

Static Public Member Functions

static void CastBaseData (mitk::BaseData *const, itk::SmartPointer< mitk::Image > &)
 Cast a BaseData pointer to a mitk::Image smart pointer via dynamic_cast. More...
 

Detailed Description

Proxy class for global image casting functions needed by the Python wrapping process.

Global functions cannot be wrapped by the Python binding generator, but static methods can be wrapped. This class provides static wrappers around CastToItkImage and CastToMitkImage for all supported pixel type and dimension combinations.

Definition at line 40 of file mitkImageCaster.h.

Member Function Documentation

◆ CastBaseData()

static void mitk::ImageCaster::CastBaseData ( mitk::BaseData * const  ,
itk::SmartPointer< mitk::Image > &   
)
static

Cast a BaseData pointer to a mitk::Image smart pointer via dynamic_cast.


The documentation for this class was generated from the following file: