1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
itk_wrap_class("itk::ComposeImageFilter" POINTER)
# VectorImage types
foreach(d ${ITK_WRAP_IMAGE_DIMS})
foreach(t ${WRAP_ITK_SCALAR})
itk_wrap_template("${ITKM_I${t}${d}}${ITKM_VI${t}${d}}" "${ITKT_I${t}${d}}, ${ITKT_VI${t}${d}}")
endforeach()
endforeach()
# Note: we do not wrap more input types here, this filter should
# not be used to cast types, use the castimagefilter for this.
# This allows to reduce the number of wrapped classes.
if(ITK_WRAP_float AND ITK_WRAP_covariant_vector_float)
itk_wrap_image_filter_types(F CVF 2)
itk_wrap_image_filter_types(F CVF 3)
endif()
if(ITK_WRAP_double AND ITK_WRAP_covariant_vector_double)
itk_wrap_image_filter_types(D CVD 2)
itk_wrap_image_filter_types(D CVD 3)
endif()
if(ITK_WRAP_float AND ITK_WRAP_vector_float)
itk_wrap_image_filter_types(F VF 2)
itk_wrap_image_filter_types(F VF 3)
endif()
if(ITK_WRAP_double AND ITK_WRAP_vector_double)
itk_wrap_image_filter_types(D VD 2)
itk_wrap_image_filter_types(D VD 3)
endif()
if(ITK_WRAP_rgba_unsigned_char AND ITK_WRAP_unsigned_char)
itk_wrap_image_filter_types(UC RGBAUC)
endif()
if(ITK_WRAP_rgba_unsigned_short AND ITK_WRAP_unsigned_short)
itk_wrap_image_filter_types(US RGBAUS)
endif()
if(ITK_WRAP_rgb_unsigned_char AND ITK_WRAP_unsigned_char)
itk_wrap_image_filter_types(UC RGBUC)
endif()
if(ITK_WRAP_rgb_unsigned_short AND ITK_WRAP_unsigned_short)
itk_wrap_image_filter_types(US RGBUS)
endif()
itk_end_wrap_class()
|