Package qupath.lib.objects
Interface PathObjectConnectionGroup
- All Known Implementing Classes:
DefaultPathObjectConnectionGroup
,DelaunayTriangulation
Deprecated.
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 Summary
Modifier and TypeMethodDescriptionboolean
containsObject
(PathObject pathObject) Deprecated.Returns true if the specified PathObject is contained within this group.getConnectedObjects
(PathObject pathObject) Deprecated.Get all the connections to a specified PathObject stored in this group.Deprecated.Get an unmodifiable collection containing all the PathObjects contained within this group.default Collection
<PathObject> getPathObjectsForRegion
(ImageRegion region) Deprecated.Get all the objects with connections that may intersect the specified region.
-
Method Details
-
containsObject
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
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
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.
-
DelaunayTools.Subdivision