Skip to content

Commit

Permalink
ENH: MIP image filter python wrapper update
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Polkovnikov committed Feb 28, 2024
1 parent 9a6e6b5 commit 177cdf0
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions wrapping/rtkMaximumIntensityProjectionImageFilter.wrap
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
if(RTK_USE_CUDA)
itk_wrap_include(itkCudaImage.h)
endif()
#if(RTK_USE_CUDA)
# itk_wrap_include(itkCudaImage.h)
#endif()

itk_wrap_class("rtk::MaximumIntensityProjectionImageFilter" POINTER)
#itk_wrap_class("rtk::MaximumIntensityProjectionImageFilter" POINTER)

itk_wrap_image_filter("${WRAP_ITK_REAL}" 2 3)
# itk_wrap_image_filter("${WRAP_ITK_REAL}" 2 3)

# Force VECTOR_COMPONENTS to "2;3;4;5"
set(vectorComponents 2 3 4 5)
foreach(component ${vectorComponents})
foreach(vt ${WRAP_ITK_VECTOR_REAL})
itk_wrap_template("I${ITKM_${vt}${component}}3I${ITKM_${vt}${component}}3" "itk::Image<${ITKT_${vt}${component}},3>, itk::Image<${ITKT_${vt}${component}},3>")
endforeach()
endforeach()
# # Force VECTOR_COMPONENTS to "2;3;4;5"
# set(vectorComponents 2 3 4 5)
# foreach(component ${vectorComponents})
# foreach(vt ${WRAP_ITK_VECTOR_REAL})
# itk_wrap_template("I${ITKM_${vt}${component}}3I${ITKM_${vt}${component}}3" "itk::Image<${ITKT_${vt}${component}},3>, itk::Image<${ITKT_${vt}${component}},3>")
# endforeach()
# endforeach()

#itk_end_wrap_class()

itk_wrap_class("rtk::MaximumIntensityProjectionImageFilter" POINTER)
foreach(t ${WRAP_ITK_REAL})
itk_wrap_template("I${ITKM_${t}}3I${ITKM_${t}}3SWM${ITKM_${t}}D${ITKM_${t}}"
"itk::Image<${ITKT_${t}}, 3>, itk::Image< ${ITKT_${t}}, 3>")
endforeach()
itk_end_wrap_class()

0 comments on commit 177cdf0

Please sign in to comment.