- All Implemented Interfaces:
- Iterator<LevelsetSolveNonPDE.CoordInt3D>
- Enclosing class:
- LevelsetSolveNonPDE
private class LevelsetSolveNonPDE.LevelsetIteratorContourPoints
extends LevelsetSolveNonPDE.LevelsetIterator
implements Iterator<LevelsetSolveNonPDE.CoordInt3D>
Iterator for all contour pixels/voxels of the level set function
excluding invalid pixels/voxels.
Note: it is decided at the time of the instantiation of an iterator
whether a pixel/voxel is a contour pixels/voxels, i.e. according to the current state
of the level set function,
The 4 neighborhood is used, e.g. a pixel/voxel is consider a contour pixel, if
it has a 4 neighbor with a different phase.
Note: currently only for 2D level set functions.