Package qupath.lib.objects
Enum Class PathObjectFilter
- All Implemented Interfaces:
- Serializable,- Comparable<PathObjectFilter>,- Constable,- Predicate<PathObject>
Enumeration of filters (predicates) that can be used to select objects based on their type.
 
 See also PathObjectPredicates for more complex JSON-serializable predicates.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionAccept annotation objectsAccept cellsAccept any object that has a classification set (no matter what it is)Accept detection objects (no subtypes, e.g.Accept detection objects (all subtypes)Accept any object that has a ROIAccept any object that has an area ROIAccept any object that has a line ROIAccept any object that has a points ROIAccept tilesAccept TMA coresAccept any object that does not have a classification setAccept any object that is 'unlocked'
- 
Method SummaryModifier and TypeMethodDescriptionbooleantest(PathObject p) toString()static PathObjectFilterReturns the enum constant of this class with the specified name.static PathObjectFilter[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ANNOTATIONSAccept annotation objects
- 
DETECTIONSAccept detection objects (no subtypes, e.g. cells)
- 
DETECTIONS_ALLAccept detection objects (all subtypes)
- 
CELLSAccept cells
- 
TILESAccept tiles
- 
TMA_CORESAccept TMA cores
- 
UNLOCKEDAccept any object that is 'unlocked'
- 
ROIAccept any object that has a ROI
- 
ROI_LINEAccept any object that has a line ROI
- 
ROI_AREAAccept any object that has an area ROI
- 
ROI_POINTAccept any object that has a points ROI
- 
UNCLASSIFIEDAccept any object that does not have a classification set
- 
CLASSIFIEDAccept any object that has a classification set (no matter what it is)
 
- 
- 
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<PathObjectFilter>
 
- 
test- Specified by:
- testin interface- Predicate<PathObject>
 
 
-