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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface qupath.lib.gui.viewer.RegionFilterRegionFilter.StandardRegionFilters
- 
Enum Constant SummaryEnum ConstantsEnum 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 SummaryModifier and TypeMethodDescriptionbooleantest(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.Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfMethods inherited from interface java.util.function.BiPredicateand, negate, or
- 
Enum Constant Details- 
EVERYWHEREAccept all requests
- 
ANY_OBJECTSRegions overlapping the ROIs of any objects
- 
ANY_ANNOTATIONSRegions overlapping the ROIs of any annotations
- 
ANY_OBJECTS_BOUNDSRegions overlapping the bounding box of any objects
- 
ANY_ANNOTATIONS_BOUNDSRegions overlapping the bounding box of any annotations
- 
IMAGEAccept all requests for the image where the region is non-empty
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
toString- Overrides:
- toStringin class- Enum<RegionFilter.StandardRegionFilters>
 
- 
test- Specified by:
- testin interface- BiPredicate<ImageData<?>,- RegionRequest> 
 
 
-