Skip to content

Commit a99ac00

Browse files
tbirdsodzenanz
authored andcommitted
COMP: Resolve build failures in itk-stub-files
Cleans up wrapping files to match underlying ITK wrappings. Resolves build failures in #201.
1 parent 4e6f560 commit a99ac00

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

wrapping/itkCurvilinearArraySpecialCoordinatesImage.wrap

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ itk_wrap_class("itk::CurvilinearArraySpecialCoordinatesImage" POINTER_WITH_SUPER
1212
endforeach()
1313
itk_end_wrap_class()
1414

15+
itk_wrap_include("itkImageSource.h")
16+
itk_wrap_class("itk::ImageSource" POINTER)
17+
foreach(d ${ITK_WRAP_IMAGE_DIMS})
18+
foreach(real_type ${WRAP_ITK_SCALAR})
19+
itk_wrap_template("CASCI${ITKM_${real_type}}${d}" "itk::CurvilinearArraySpecialCoordinatesImage<${ITKT_${real_type}},${d}>")
20+
endforeach()
21+
foreach(complex_type ${WRAP_ITK_COMPLEX_REAL})
22+
itk_wrap_template("CASCI${ITKM_${complex_type}}${d}" "itk::CurvilinearArraySpecialCoordinatesImage<${ITKT_${complex_type}},${d}>")
23+
endforeach()
24+
endforeach()
25+
itk_end_wrap_class()
26+
1527
itk_wrap_include("itkCastImageFilter.h")
1628
itk_wrap_class("itk::CastImageFilter" POINTER_WITH_2_SUPERCLASSES)
1729
foreach(d ${ITK_WRAP_IMAGE_DIMS})
@@ -38,7 +50,7 @@ itk_wrap_class("itk::RescaleIntensityImageFilter" POINTER_WITH_2_SUPERCLASSES)
3850
endforeach()
3951
itk_end_wrap_class()
4052

41-
itk_wrap_class("itk::ImageToImageFilter" POINTER_WITH_SUPERCLASS)
53+
itk_wrap_class("itk::ImageToImageFilter" POINTER)
4254
foreach(d ${ITK_WRAP_IMAGE_DIMS})
4355
foreach(t ${WRAP_ITK_SCALAR})
4456
foreach(ut ${WRAP_ITK_INT})

wrapping/itkFrequencyDomain1DImageFilter.wrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
itk_wrap_include("itkCurvilinearArraySpecialCoordinatesImage.h")
22

3-
itk_wrap_class("itk::FrequencyDomain1DImageFilter" POINTER_WITH_2_SUPERCLASSES )
3+
itk_wrap_class("itk::FrequencyDomain1DImageFilter" POINTER_WITH_SUPERCLASS )
44
itk_wrap_image_filter("${WRAP_ITK_COMPLEX_REAL}" 2 2+)
55
foreach(d ${ITK_WRAP_IMAGE_DIMS})
66
foreach(t3 ${WRAP_ITK_COMPLEX_REAL})

0 commit comments

Comments
 (0)