Skip to content

Commit e9b3d24

Browse files
authored
Merge pull request InsightSoftwareConsortium#4842 from allemangD/fix-gpu-python-wrapping
COMP: Fix Python GPU Wrapping
2 parents 93925fb + 3e90110 commit e9b3d24

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Modules/Filtering/GPUImageFilterBase/wrapping/itkGPUCastImageFilter.wrap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ foreach(from ${from_types})
2323
endforeach()
2424
itk_end_wrap_class()
2525

26-
itk_wrap_class("itk::CastImageFilter" POINTER)
26+
itk_wrap_class("itk::CastImageFilter" POINTER_WITH_SUPERCLASS)
2727
foreach(d ${ITK_WRAP_IMAGE_DIMS})
2828
# Add from == to pixel type first for preference
2929
foreach(to ${to_types})
@@ -183,7 +183,7 @@ foreach(d ${ITK_WRAP_IMAGE_DIMS})
183183
endforeach()
184184
itk_end_wrap_class()
185185

186-
itk_wrap_class("itk::GPUCastImageFilter" POINTER)
186+
itk_wrap_class("itk::GPUCastImageFilter" POINTER_WITH_SUPERCLASS)
187187
foreach(d ${ITK_WRAP_IMAGE_DIMS})
188188
# Add from == to pixel type first for preference
189189
foreach(to ${to_types})

Modules/Filtering/GPUSmoothing/wrapping/itkGPUDiscreteGaussianImageFilter.wrap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
set(types "${WRAP_ITK_SCALAR}")
2+
itk_wrap_include("itkGPUImage.h")
3+
14
itk_wrap_class("itk::DiscreteGaussianImageFilter" POINTER)
25
foreach(d ${ITK_WRAP_IMAGE_DIMS})
36
foreach(t ${types})

0 commit comments

Comments
 (0)