Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkImageCastPart1.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 <mitkConfig.h>
18 #include <mitkImageCast.txx>
20 
21 namespace mitk
22 {
23 #define InstantiateAccessFunction__CastToItkImage2Access(type1, type2) \
24  template MITKCORE_EXPORT void _CastToItkImage2Access( \
25  const ImageTypeTrait<MITK_PP_TUPLE_REM(2) type1>::ImageType *, \
26  itk::SmartPointer<ImageTypeTrait<MITK_PP_TUPLE_REM(2) type2>::ImageType> &);
27 
28 #define InstantiateCastToItkImage2Access(r, data, dim) \
29  MITK_PP_SEQ_FOR_EACH_PRODUCT( \
30  InstantiateAccessFunctionProductImpl, \
31  ((_CastToItkImage2Access))(MITK_ACCESSBYITK_TYPES_DIMN_SEQ(dim))(MITK_ACCESSBYITK_TYPES_DIMN_SEQ(dim))) \
32  MITK_PP_SEQ_FOR_EACH_PRODUCT(InstantiateAccessFunctionProductImpl, \
33  ((_CastToItkImage2Access))(MITK_ACCESSBYITK_VECTOR_TYPES_DIMN_SEQ(dim))( \
34  MITK_ACCESSBYITK_VECTOR_TYPES_DIMN_SEQ(dim)))
35 
37 }
#define MITK_ACCESSBYITK_DIMENSIONS_SEQ
Definition: mitkConfig.h:28
DataCollection - Class to facilitate loading/accessing structured data.
#define InstantiateCastToItkImage2Access(r, data, dim)
#define MITK_PP_SEQ_FOR_EACH(macro, data, seq)