Medical Imaging Interaction Toolkit  2018.4.99-08619e4f
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 (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 <mitkConfig.h>
14 #include <mitkImageCast.txx>
16 
17 namespace mitk
18 {
19 #define InstantiateAccessFunction__CastToItkImage2Access(type1, type2) \
20  template MITKCORE_EXPORT void _CastToItkImage2Access( \
21  const ImageTypeTrait<BOOST_PP_TUPLE_REM(2) type1>::ImageType *, \
22  itk::SmartPointer<ImageTypeTrait<BOOST_PP_TUPLE_REM(2) type2>::ImageType> &);
23 
24 #define InstantiateCastToItkImage2Access(r, data, dim) \
25  BOOST_PP_SEQ_FOR_EACH_PRODUCT( \
26  InstantiateAccessFunctionProductImpl, \
27  ((_CastToItkImage2Access))(MITK_ACCESSBYITK_TYPES_DIMN_SEQ(dim))(MITK_ACCESSBYITK_TYPES_DIMN_SEQ(dim))) \
28  BOOST_PP_SEQ_FOR_EACH_PRODUCT(InstantiateAccessFunctionProductImpl, \
29  ((_CastToItkImage2Access))(MITK_ACCESSBYITK_VECTOR_TYPES_DIMN_SEQ(dim))( \
30  MITK_ACCESSBYITK_VECTOR_TYPES_DIMN_SEQ(dim)))
31 
33 }
#define MITK_ACCESSBYITK_DIMENSIONS_SEQ
Definition: mitkConfig.h:29
DataCollection - Class to facilitate loading/accessing structured data.
#define InstantiateCastToItkImage2Access(r, data, dim)