Package qupath.lib.gui.measure
Class MeasurementListValueFactory
java.lang.Object
qupath.lib.gui.measure.MeasurementListValueFactory
- All Implemented Interfaces:
PathObjectValueFactory
Measurements that only extract metadata from objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<qupath.lib.lazy.interfaces.LazyValue<qupath.lib.objects.PathObject, ?>> createValues(PathObjectListWrapper wrapper) Create the lazy values for the objects contained in the wrapper.
-
Constructor Details
-
MeasurementListValueFactory
public MeasurementListValueFactory()
-
-
Method Details
-
createValues
public List<qupath.lib.lazy.interfaces.LazyValue<qupath.lib.objects.PathObject,?>> createValues(PathObjectListWrapper wrapper) Description copied from interface:PathObjectValueFactoryCreate the lazy values for the objects contained in the wrapper.A simple implementation might return a fixed list of lazy values that extract properties common to all objects. But other implementations might query the objects to be measured, and return values that are relevant to their contents.
- Specified by:
createValuesin interfacePathObjectValueFactory- Parameters:
wrapper- a wrapper that encapsulate the relevant objects and the image they belong to- Returns:
- a list of lazy values
-