Skip to content

Commit

Permalink
ENH: Add float type to StrainImageFilter wrappings
Browse files Browse the repository at this point in the history
  • Loading branch information
tbirdso authored and dzenanz committed Sep 2, 2021
1 parent 4597dd5 commit ac8b58a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions wrapping/itkStrainImageFilter.wrap
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
UNIQUE(types "D;${WRAP_ITK_REAL}")

itk_wrap_include("itkImageToImageFilter.h")
itk_wrap_class("itk::ImageToImageFilter" POINTER)
foreach(d ${ITK_WRAP_IMAGE_DIMS})
set(vector_dim ${d}) # Wrap only vector dimensions which are the same as image dimensions
foreach(p D)
foreach(p ${types})
itk_wrap_template(
"${ITKM_IV${p}${vector_dim}${d}}${ITKM_ISSRT${p}${d}${d}}"
"${ITKT_IV${p}${vector_dim}${d}}, ${ITKT_ISSRT${p}${d}${d}}")
Expand All @@ -16,7 +18,7 @@ itk_end_wrap_class()
itk_wrap_class("itk::StrainImageFilter" POINTER)
foreach(d ${ITK_WRAP_IMAGE_DIMS})
set(vector_dim ${d}) # Wrap only vector dimensions which are the same as image dimensions
foreach(p D)
foreach(p ${types})
itk_wrap_template(
"${ITKM_IV${p}${vector_dim}${d}}${ITKM_${p}}${ITKM_${p}}"
"${ITKT_IV${p}${vector_dim}${d}}, ${ITKT_${p}}, ${ITKT_${p}}")
Expand Down

0 comments on commit ac8b58a

Please sign in to comment.