Package qupath.lib.gui.viewer
Enum Class RegionFilter.StandardRegionFilters
java.lang.Object
java.lang.Enum<RegionFilter.StandardRegionFilters>
qupath.lib.gui.viewer.RegionFilter.StandardRegionFilters
- All Implemented Interfaces:
Serializable
,Comparable<RegionFilter.StandardRegionFilters>
,Constable
,BiPredicate<ImageData<?>,
,RegionRequest> RegionFilter
- Enclosing interface:
RegionFilter
public static enum RegionFilter.StandardRegionFilters
extends Enum<RegionFilter.StandardRegionFilters>
implements RegionFilter
Standard classification regions (hopefully all you will ever need).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface qupath.lib.gui.viewer.RegionFilter
RegionFilter.StandardRegionFilters
-
Enum Constant Summary
Enum ConstantDescriptionRegions overlapping the ROIs of any annotationsRegions overlapping the bounding box of any annotationsRegions overlapping the ROIs of any objectsRegions overlapping the bounding box of any objectsAccept all requestsAccept all requests for the image where the region is non-empty -
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(ImageData<?> imageData, RegionRequest region) toString()
Returns the enum constant of this class with the specified name.static RegionFilter.StandardRegionFilters[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Enum Constant Details
-
EVERYWHERE
Accept all requests -
ANY_OBJECTS
Regions overlapping the ROIs of any objects -
ANY_ANNOTATIONS
Regions overlapping the ROIs of any annotations -
ANY_OBJECTS_BOUNDS
Regions overlapping the bounding box of any objects -
ANY_ANNOTATIONS_BOUNDS
Regions overlapping the bounding box of any annotations -
IMAGE
Accept all requests for the image where the region is non-empty
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<RegionFilter.StandardRegionFilters>
-
test
- Specified by:
test
in interfaceBiPredicate<ImageData<?>,
RegionRequest>
-