Skip to content

Commit 36cf67b

Browse files
committed
ENH: Add functors in rtkJosephBackProjectionImageFilter wrapper
1 parent 1aefb20 commit 36cf67b

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
set(WRAPPER_AUTO_INCLUDE_HEADERS OFF)
2-
itk_wrap_named_class("rtk::Functor::SplatWeightMultiplication" "rtkFunctorSplatWeightMultiplication")
2+
itk_wrap_include("rtkJosephBackProjectionImageFilter.h")
3+
itk_wrap_include("rtkStoreSparseMatrixSplatWeightMultiplication.h")
4+
itk_wrap_named_class("rtk::Functor::InterpolationWeightMultiplicationBackProjection" "rtkFunctorInterpolationWeightMultiplicationBackProjection")
5+
foreach(t ${WRAP_ITK_REAL})
6+
itk_wrap_template("${ITKM_${t}}${ITKM_${t}}" "${ITKT_${t}}, ${ITKT_${t}}")
7+
endforeach()
8+
itk_end_wrap_class()
9+
itk_wrap_named_class("rtk::Functor::StoreSparseMatrixSplatWeightMultiplication" "rtkFunctorStoreSparseMatrixSplatWeightMultiplication")
310
foreach(t ${WRAP_ITK_REAL})
411
itk_wrap_template("${ITKM_${t}}D${ITKM_${t}}" "${ITKT_${t}}, double, ${ITKT_${t}}")
512
endforeach()
@@ -9,6 +16,8 @@ set(WRAPPER_AUTO_INCLUDE_HEADERS ON)
916
itk_wrap_class("rtk::JosephBackProjectionImageFilter" POINTER)
1017
foreach(t ${WRAP_ITK_REAL})
1118
itk_wrap_template("I${ITKM_${t}}3I${ITKM_${t}}3SWM${ITKM_${t}}D${ITKM_${t}}"
12-
"itk::Image<${ITKT_${t}}, 3>, itk::Image< ${ITKT_${t}}, 3>")
19+
"itk::Image<${ITKT_${t}}, 3>, itk::Image<${ITKT_${t}}, 3>")
20+
itk_wrap_template("I${ITKM_${t}}3I${ITKM_${t}}3IWMBP${ITKM_${t}}${ITKM_${t}}SSM${ITKM_${t}}D${ITKM_${t}}"
21+
"itk::Image<${ITKT_${t}}, 3>, itk::Image<${ITKT_${t}}, 3>, rtk::Functor::InterpolationWeightMultiplicationBackProjection<${ITKT_${t}}, ${ITKT_${t}}>, rtk::Functor::StoreSparseMatrixSplatWeightMultiplication<${ITKT_${t}}, double, ${ITKT_${t}}>")
1322
endforeach()
1423
itk_end_wrap_class()

0 commit comments

Comments
 (0)