Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkImageCastPart2.cpp
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #include <mitkImageCast.txx>
15 
16 namespace mitk
17 {
18 #define InstantiateAccessFunction_CastToItkImage(pixelType, dim) \
19  \
20  template MITKCORE_EXPORT void CastToItkImage(const mitk::Image *, \
21  itk::SmartPointer<ImageTypeTrait<pixelType, dim>::ImageType> &);
22 
26 }
#define MITK_ACCESSBYITK_DIMENSIONS_SEQ
Definition: mitkConfig.h:29
#define MITK_ACCESSBYITK_PIXEL_TYPES_SEQ
Definition: mitkConfig.h:26
DataCollection - Class to facilitate loading/accessing structured data.
#define InstantiateAccessFunctionForFixedType(itkImgFunc, pixelTypeSeq, dimSeq)
Instantiate access function for the given pixel types and dimensions.
void MITKCORE_EXPORT CastToItkImage(const mitk::Image *mitkImage, itk::SmartPointer< ItkOutputImageType > &itkOutputImage)
Cast an mitk::Image to an itk::Image with a specific type.
#define MITK_ACCESSBYITK_VECTOR_PIXEL_TYPES_SEQ
Definition: mitkConfig.h:25