Skip to content

Commit

Permalink
WIP: Handle user vector wrapping specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
tbirdso committed Jul 9, 2021
1 parent 16d1e92 commit f1f28bf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ itk_wrap_include("itkBlockMatchingMultiResolutionSearchRegionImageSource.h")
itk_wrap_class("itk::BlockMatching::MultiResolutionSearchRegionImageSource" POINTER)
foreach(t ${WRAP_ITK_REAL})
foreach(d ${ITK_WRAP_IMAGE_DIMS})
itk_wrap_template("I${ITKM_${t}}${d}I${ITKM_${t}}${d}IV${ITKM_${t}}${d}${d}"
"itk::Image<${ITKT_${t}},${d}>, itk::Image<${ITKT_${t}},${d}>, itk::Image<itk::Vector<${ITKT_${t}},${d}>,${d}>")
foreach(vt ${WRAP_ITK_VECTOR_REAL})
itk_wrap_template("I${ITKM_${t}}${d}I${ITKM_${t}}${d}I${ITKM_${vt}${d}}${d}"
"itk::Image<${ITKT_${t}},${d}>, itk::Image<${ITKT_${t}},${d}>, itk::Image<${ITKT_${vt}${d}},${d}>")
endforeach()
endforeach()
endforeach()
itk_end_wrap_class()
Expand All @@ -35,8 +37,10 @@ itk_wrap_include("itkBlockMatchingMultiResolutionFixedSearchRegionImageSource.h"
itk_wrap_class("itk::BlockMatching::MultiResolutionFixedSearchRegionImageSource" POINTER)
foreach(t ${WRAP_ITK_REAL})
foreach(d ${ITK_WRAP_IMAGE_DIMS})
itk_wrap_template("I${ITKM_${t}}${d}I${ITKM_${t}}${d}IV${ITKM_${t}}${d}${d}"
"itk::Image<${ITKT_${t}},${d}>, itk::Image<${ITKT_${t}},${d}>, itk::Image<itk::Vector<${ITKT_${t}},${d}>,${d}>")
foreach(vt ${WRAP_ITK_VECTOR_REAL})
itk_wrap_template("I${ITKM_${t}}${d}I${ITKM_${t}}${d}I${ITKM_${vt}${d}}${d}"
"itk::Image<${ITKT_${t}},${d}>, itk::Image<${ITKT_${t}},${d}>, itk::Image<${ITKT_${vt}${d}},${d}>")
endforeach()
endforeach()
endforeach()
itk_end_wrap_class()
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ itk_wrap_include("itkImage.h")
itk_wrap_include("itkImageRegion.h")

# Wrap base classes for itk::BlockMatching::MetricImageToDisplacementCalculator public members
#itk_wrap_class("itk::SmartPointer")
# foreach(t ${WRAP_ITK_REAL})
# foreach(d ${ITK_WRAP_IMAGE_DIMS})
# itk_wrap_template("I${ITKM_${t}}${d}" "itk::Image<${ITKT_${t}},${d}>")
# endforeach()
# endforeach()
#itk_end_wrap_class()

itk_wrap_class("itk::Image" POINTER)
foreach(t ${WRAP_ITK_REAL})
foreach(d ${ITK_WRAP_IMAGE_DIMS})
Expand Down

0 comments on commit f1f28bf

Please sign in to comment.