forked from InsightSoftwareConsortium/ITK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Add option to access index in point set registration
- Add superclass to PointSetToPointSetMetricv4 to permit index based access in GetLocalNeighborhodXXX methods. - Fix python wrapping.
- Loading branch information
1 parent
2b34388
commit b6a142a
Showing
12 changed files
with
1,256 additions
and
944 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
484 changes: 484 additions & 0 deletions
484
Modules/Registration/Metricsv4/include/itkPointSetToPointSetMetricWithIndexv4.h
Large diffs are not rendered by default.
Oops, something went wrong.
697 changes: 697 additions & 0 deletions
697
Modules/Registration/Metricsv4/include/itkPointSetToPointSetMetricWithIndexv4.hxx
Large diffs are not rendered by default.
Oops, something went wrong.
328 changes: 44 additions & 284 deletions
328
Modules/Registration/Metricsv4/include/itkPointSetToPointSetMetricv4.h
Large diffs are not rendered by default.
Oops, something went wrong.
653 changes: 0 additions & 653 deletions
653
Modules/Registration/Metricsv4/include/itkPointSetToPointSetMetricv4.hxx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
Modules/Registration/Metricsv4/wrapping/itkPointSetToPointSetMetricWithIndexv4.wrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
itk_wrap_include("itkPointSet.h") | ||
itk_wrap_include("itkDefaultStaticMeshTraits.h") | ||
|
||
UNIQUE(types "${WRAP_ITK_SCALAR};D") | ||
|
||
itk_wrap_class("itk::PointSetToPointSetMetricWithIndexv4" POINTER_WITH_SUPERCLASS) | ||
foreach(d ${ITK_WRAP_IMAGE_DIMS}) | ||
foreach(t ${types}) | ||
itk_wrap_template("PS${ITKM_${t}}${d}" "itk::PointSet< ${ITKT_${t}},${d} >") | ||
endforeach() | ||
endforeach() | ||
itk_end_wrap_class() |
12 changes: 12 additions & 0 deletions
12
Modules/Registration/Metricsv4/wrapping/itkPointSetToPointSetMetricv4.wrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
itk_wrap_include("itkPointSet.h") | ||
itk_wrap_include("itkDefaultStaticMeshTraits.h") | ||
|
||
UNIQUE(types "${WRAP_ITK_SCALAR};D") | ||
|
||
itk_wrap_class("itk::PointSetToPointSetMetricv4" POINTER_WITH_2_SUPERCLASSES) | ||
foreach(d ${ITK_WRAP_IMAGE_DIMS}) | ||
foreach(t ${types}) | ||
itk_wrap_template("PS${ITKM_${t}}${d}" "itk::PointSet< ${ITKT_${t}},${d} >") | ||
endforeach() | ||
endforeach() | ||
itk_end_wrap_class() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters