Package PamView.paneloverlay.overlaymark
Interface MarkDataSelector
- All Known Implementing Classes:
BasicMarkDataSelector
,DetectionGroupProcess.DataSelector
public interface MarkDataSelector
Class that helps to chose whether a data unit within a given mark is
actually wanted or not. These are generally held and managed by things
that receive marks, rather than mark providers.
- Author:
- Doug Gillespie
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionboolean
wantDataUnit
(PamDataUnit dataUnit, int overlapLevel) Test a data unit that within a mark to see if it's wanted or not.
-
Field Details
-
OVERLAP_NONE
static final int OVERLAP_NONE- See Also:
-
OVERLAP_SOME
static final int OVERLAP_SOME- See Also:
-
OVERLAP_ALL
static final int OVERLAP_ALL- See Also:
-
-
Method Details
-
wantDataUnit
Test a data unit that within a mark to see if it's wanted or not.- Parameters:
dataUnit
- data unitoverlapLevel
- level of overlap with the mark.- Returns:
- true if we want to keep the data unit.
-