Skip to content

Commit

Permalink
COMP: Resolve build failures in itk-stub-files
Browse files Browse the repository at this point in the history
Cleans up wrapping files to match underlying ITK wrappings. Resolves
build failures in #201.
  • Loading branch information
tbirdso authored and dzenanz committed May 30, 2022
1 parent 4e6f560 commit a99ac00
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion wrapping/itkCurvilinearArraySpecialCoordinatesImage.wrap
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ itk_wrap_class("itk::CurvilinearArraySpecialCoordinatesImage" POINTER_WITH_SUPER
endforeach()
itk_end_wrap_class()

itk_wrap_include("itkImageSource.h")
itk_wrap_class("itk::ImageSource" POINTER)
foreach(d ${ITK_WRAP_IMAGE_DIMS})
foreach(real_type ${WRAP_ITK_SCALAR})
itk_wrap_template("CASCI${ITKM_${real_type}}${d}" "itk::CurvilinearArraySpecialCoordinatesImage<${ITKT_${real_type}},${d}>")
endforeach()
foreach(complex_type ${WRAP_ITK_COMPLEX_REAL})
itk_wrap_template("CASCI${ITKM_${complex_type}}${d}" "itk::CurvilinearArraySpecialCoordinatesImage<${ITKT_${complex_type}},${d}>")
endforeach()
endforeach()
itk_end_wrap_class()

itk_wrap_include("itkCastImageFilter.h")
itk_wrap_class("itk::CastImageFilter" POINTER_WITH_2_SUPERCLASSES)
foreach(d ${ITK_WRAP_IMAGE_DIMS})
Expand All @@ -38,7 +50,7 @@ itk_wrap_class("itk::RescaleIntensityImageFilter" POINTER_WITH_2_SUPERCLASSES)
endforeach()
itk_end_wrap_class()

itk_wrap_class("itk::ImageToImageFilter" POINTER_WITH_SUPERCLASS)
itk_wrap_class("itk::ImageToImageFilter" POINTER)
foreach(d ${ITK_WRAP_IMAGE_DIMS})
foreach(t ${WRAP_ITK_SCALAR})
foreach(ut ${WRAP_ITK_INT})
Expand Down
2 changes: 1 addition & 1 deletion wrapping/itkFrequencyDomain1DImageFilter.wrap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
itk_wrap_include("itkCurvilinearArraySpecialCoordinatesImage.h")

itk_wrap_class("itk::FrequencyDomain1DImageFilter" POINTER_WITH_2_SUPERCLASSES )
itk_wrap_class("itk::FrequencyDomain1DImageFilter" POINTER_WITH_SUPERCLASS )
itk_wrap_image_filter("${WRAP_ITK_COMPLEX_REAL}" 2 2+)
foreach(d ${ITK_WRAP_IMAGE_DIMS})
foreach(t3 ${WRAP_ITK_COMPLEX_REAL})
Expand Down

0 comments on commit a99ac00

Please sign in to comment.