Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #include <mitkImageCast.txx>
19 
20 namespace mitk
21 {
22 #define InstantiateAccessFunction_CastToItkImage(pixelType, dim) \
23  \
24  template MITKCORE_EXPORT void CastToItkImage(const mitk::Image *, \
25  itk::SmartPointer<ImageTypeTrait<pixelType, dim>::ImageType> &);
26 
30 }
#define MITK_ACCESSBYITK_DIMENSIONS_SEQ
Definition: mitkConfig.h:28
#define MITK_ACCESSBYITK_PIXEL_TYPES_SEQ
Definition: mitkConfig.h:25
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:24