Skip to content

Commit

Permalink
ENH: PointSet metric and registration method supports perspective proj.
Browse files Browse the repository at this point in the history
Extended wrapping configuration for PointSetToPointSetMetric and
for PointSetToPointSetRegistrationMethod to support perspective
transform for 2D to 3D registration.
  • Loading branch information
Natalie Johnston authored and dzenanz committed Apr 13, 2022
1 parent 59b001f commit 5bd7088
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@ itk_wrap_class("itk::PointSetToPointSetMetric" POINTER_WITH_2_SUPERCLASSES)
itk_wrap_template("PS${ITKM_${t}}${d}" "itk::PointSet< ${ITKT_${t}},${d} >, itk::PointSet< ${ITKT_${t}},${d} >")
endforeach()
endforeach()
if(d3 AND d2)
foreach(t ${types})
itk_wrap_template("PS${ITKM_${t}}23" "itk::PointSet< ${ITKT_${t}},2 >, itk::PointSet< ${ITKT_${t}},3 >")
endforeach()
endif()
itk_end_wrap_class()
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ UNIQUE(types "${WRAP_ITK_REAL};D")

itk_wrap_class("itk::PointSetToPointSetRegistrationMethod" POINTER)
foreach(d ${ITK_WRAP_DIMS})
foreach(t ${WRAP_ITK_REAL})
foreach(t ${types})
itk_wrap_template("REG${ITKM_${t}}${d}${ITKM_${t}}${d}"
"itk::PointSet< ${ITKT_${t}}, ${d} >, itk::PointSet< ${ITKT_${t}}, ${d} >")
endforeach()
endforeach()
if(d3 AND d2)
foreach(t ${types})
itk_wrap_template("REG${ITKM_${t}}2${ITKM_${t}}3"
"itk::PointSet< ${ITKT_${t}}, 2 >, itk::PointSet< ${ITKT_${t}}, 3 >")
endforeach()
endif()
itk_end_wrap_class()

0 comments on commit 5bd7088

Please sign in to comment.