Skip to content

Commit

Permalink
ENH: Wrap reorder projections filter for vector and CUDA images
Browse files Browse the repository at this point in the history
  • Loading branch information
arobert01 committed Sep 19, 2024
1 parent 6956127 commit 9d00b3f
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion wrapping/rtkReorderProjectionsImageFilter.wrap
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
if(RTK_USE_CUDA)
itk_wrap_include(itkCudaImage.h)
endif()

itk_wrap_class("rtk::ReorderProjectionsImageFilter" POINTER)
itk_wrap_image_filter("${WRAP_ITK_ALL_TYPES}" 2 3)
itk_wrap_image_filter("${WRAP_ITK_ALL_TYPES}" 2 3)

# Force VECTOR_COMPONENTS to contain "2;3;4;5"
set(vectorComponents 2 3 4 5)

foreach(nmat ${vectorComponents})
foreach(vt ${WRAP_ITK_VECTOR_REAL})

itk_wrap_template("I${ITKM_${vt}${nmat}}3I${ITKM_${vt}${nmat}}3" "itk::Image<${ITKT_${vt}${nmat}},3>, itk::Image<${ITKT_${vt}${nmat}},3>")

endforeach()

if(RTK_USE_CUDA)
itk_wrap_template("CI${ITKM_VF${nmat}}3CI${ITKM_VF${nmat}}3" "itk::CudaImage<${ITKT_VF${nmat}},3>, itk::CudaImage<${ITKT_VF${nmat}},3>")
endif()
endforeach()
itk_end_wrap_class()

0 comments on commit 9d00b3f

Please sign in to comment.