Skip to content

Commit

Permalink
ENH: Add Python wrapping.
Browse files Browse the repository at this point in the history
Add Python wrapping.
  • Loading branch information
jhlegarreta committed Mar 19, 2019
1 parent 6db06cf commit ac25317
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wrapping/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
itk_wrap_module(NDReg)
itk_auto_load_submodules()
itk_end_wrap_module()
3 changes: 3 additions & 0 deletions wrapping/itkMetamorphosisImageRegistrationMethodv4.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
itk_wrap_class("itk::MetamorphosisImageRegistrationMethodv4" POINTER)
itk_wrap_image_filter("${WRAP_ITK_SCALAR}" 2)
itk_end_wrap_class()
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
itk_wrap_class("itk::TimeVaryingVelocityFieldSemiLagrangianIntegrationImageFilter" POINTER)
itk_wrap_image_filter("${WRAP_ITK_SCALAR}" 2)
itk_end_wrap_class()
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
itk_wrap_class("itk::TimeVaryingVelocityFieldSemiLagrangianTransform" POINTER)
foreach(d ${ITK_WRAP_IMAGE_DIMS})
itk_wrap_template("${ITKM_D}${d}" "${ITKT_D},${d}")
endforeach()
itk_end_wrap_class()
7 changes: 7 additions & 0 deletions wrapping/itkWrapExtrapolateImageFunction.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
itk_wrap_class("itk::WrapExtrapolateImageFunction" POINTER)
foreach(d ${ITK_WRAP_IMAGE_DIMS})
foreach(t ${WRAP_ITK_SCALAR})
itk_wrap_template("${ITKM_I${t}${d}}${ITKM_D}" "${ITKT_I${t}${d}},${ITKT_D}")
endforeach()
endforeach()
itk_end_wrap_class()

0 comments on commit ac25317

Please sign in to comment.