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
itk::PointSetBase
as abstract base class of itk::PointSet
Allows an algorithm to process the points of a `PointSet` object, without having to know its `PixelType` at compile-time. The algorithm may then just use a pointer or reference to its abstract base class, `PointSetBase`. Doing so may reduce the "code bloat" caused by template instantiations, and ease wrapping the algorithm for Python. With this commit, its `PixelType` and its `PointData` container are still defined inside `itk::PointSet`, while the other properties (its points and its region information) are moved to its base class, `PointSetBase`.
- Loading branch information
Showing
5 changed files
with
598 additions
and
428 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
Oops, something went wrong.