Class Neighborhood3D

java.lang.Object
inra.ijpb.data.Neighborhood3D
Direct Known Subclasses:
Neighborhood3DC26, Neighborhood3DC6

public abstract class Neighborhood3D
extends java.lang.Object
Defines a neighborhood around a voxel in a 3D image.
See Also:
Neighborhood2D
  • Constructor Summary

    Constructors
    Constructor Description
    Neighborhood3D()  
  • Method Summary

    Modifier and Type Method Description
    Cursor3D getCursor()  
    abstract java.lang.Iterable<Cursor3D> getNeighbors()  
    void setCursor​(Cursor3D cursor)
    Sets the position of the Neighborhood3D.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Neighborhood3D

      public Neighborhood3D()
  • Method Details

    • getNeighbors

      public abstract java.lang.Iterable<Cursor3D> getNeighbors()
      Returns:
      an Iterable over the neighbors of the voxel corresponding to the cursor referenced by this Neighborhood.
    • setCursor

      public void setCursor​(Cursor3D cursor)
      Sets the position of the Neighborhood3D.
      Parameters:
      cursor - the new position of the Neighborhood3D
    • getCursor

      public Cursor3D getCursor()
      Returns:
      the position of the Neighborhood3D.