1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
itk_wrap_class("itk::WarpImageFilter" POINTER)
foreach(curr_dim ${ITK_WRAP_IMAGE_DIMS})
if(${curr_dim} LESS 1)
continue()
endif()
# Vector components dimension must match image dimension. Temporarily change the global vector dims list.
set(SAVE_ITK_WRAP_VECTOR_COMPONENTS_FOR_ITK_WARP_IMAGE_FILTER "${ITK_WRAP_VECTOR_COMPONENTS}")
set(ITK_WRAP_VECTOR_COMPONENTS ${curr_dim})
foreach(s ${WRAP_ITK_SCALAR})
itk_wrap_image_filter_combinations(
"${s}"
"${s}"
"${WRAP_ITK_VECTOR_REAL}"
${curr_dim})
endforeach()
# Restore the global vector dims list.
set(ITK_WRAP_VECTOR_COMPONENTS "${SAVE_ITK_WRAP_VECTOR_COMPONENTS_FOR_ITK_WARP_IMAGE_FILTER}")
unset(SAVE_ITK_WRAP_VECTOR_COMPONENTS_FOR_ITK_WARP_IMAGE_FILTER)
endforeach()
itk_end_wrap_class()
|