Interface PathObjectConnectionGroup

All Known Implementing Classes:
DefaultPathObjectConnectionGroup, DelaunayTriangulation

@Deprecated public interface PathObjectConnectionGroup
Deprecated.
v0.6.0, to be replaced by DelaunayTools.Subdivision
Interface defining a basic structure to represent relationships between PathObjects that do not fit with the parent-child idea of the PathObjectHierarchy.

Example applications would be Delaunay triangulation.

Such connections can be represented on an overlay by drawing lines between object centroids.

  • Method Details

    • containsObject

      boolean containsObject(PathObject pathObject)
      Deprecated.
      Returns true if the specified PathObject is contained within this group.
      Parameters:
      pathObject -
      Returns:
    • getPathObjects

      Collection<PathObject> getPathObjects()
      Deprecated.
      Get an unmodifiable collection containing all the PathObjects contained within this group.
      Returns:
    • getConnectedObjects

      List<PathObject> getConnectedObjects(PathObject pathObject)
      Deprecated.
      Get all the connections to a specified PathObject stored in this group.

      If containsObject(pathObject) returns null, this will return an empty list (and not null).

      Parameters:
      pathObject -
      Returns:
    • getPathObjectsForRegion

      default Collection<PathObject> getPathObjectsForRegion(ImageRegion region)
      Deprecated.
      Get all the objects with connections that may intersect the specified region.
      Parameters:
      region -
      Returns:
      Implementation Note
      the default implementation simply checks the z and t values of the region, and ensures they match with the ROI of an object being returned. Subclasses should provide more optimized implementations.