13 #ifndef mitkImageCaster_h
14 #define mitkImageCaster_h
16 #include <itkCastImageFilter.h>
20 #include <vtkRenderWindow.h>
22 #include <boost/preprocessor/seq/for_each.hpp>
23 #include <boost/preprocessor/tuple/rem.hpp>
25 #define DeclareMitkImageCasterMethods(r, data, type) \
26 static void CastToItkImage(const mitk::Image *, itk::SmartPointer<itk::Image<BOOST_PP_TUPLE_REM(2) type>> &); \
27 static void CastToMitkImage(const itk::Image<BOOST_PP_TUPLE_REM(2) type> *, itk::SmartPointer<mitk::Image> &);
Base class of all data objects.
Helper class providing a static cast method for BaseData to Surface.
static void Cast(BaseData *dat, Surface *surface)
Cast a BaseData pointer to a Surface pointer.
Proxy class for global image casting functions needed by the Python wrapping process.
Image class for storing multi-dimensional medical image data.
Helper class to store and retrieve a vtkRenderer for 3D rendering access.
static vtkRenderer * Get3DRenderer()
Get the 3D renderer instance.
static void Set3DRenderer(vtkRenderer *renderer)
Set the 3D renderer instance.
static vtkRenderer * m_3DRenderer
The stored 3D renderer instance.
Data class for storing polygonal surfaces (vtkPolyData).
#define MITK_ACCESSBYITK_TYPES_DIMN_SEQ(dim)
#define DeclareMitkImageCasterMethods(r, data, type)
Find image slices visible on a given plane.