This interface provide functionalities of data blob filtering. More...
Public Member Functions | |
BOOL | Filter (ILDataBlob *blob) |
ILDataBlobResults * | FilterResults (ILDataBlobResults *blobResults) |
void | SetFilterFeature (LPVDataBlobFeatures feature, LPVAggregation aggType, double lowerBound, double upperBound) |
![]() | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
Additional Inherited Members | |
![]() | |
LString | Name [get, set] |
Name of the object. By default, the object has no name. In most cases, LPV classes don't make use of the names. The name is drawn on canvas around the object if ILDrawable::SetDrawName() is enabled. More... | |
This interface provide functionalities of data blob filtering.
Data blob filter is used to filter data blobs of interest according to their features. There's two common ways to use the data blob filter:
You can have multiple data blob filters in a data blob analysis tool, for each data blob candidate, it's reported as a result if one of the filters' criteria is satisfied.
You can define multiple filtering features in a data blob filter, for each data blob candidate, it's reported as a result if all filtering features' limitations are satisfied.
To use this interface, you should create a LDataBlobFilter object.
BOOL Filter | ( | ILDataBlob * | blob | ) |
Apply the filter on a single data blob.
[in] | blob | The input data blob. |
val | Return true if the input data blob meet the filter's criteria; otherwise, return false. |
ILDataBlobResults* FilterResults | ( | ILDataBlobResults * | blobResults | ) |
Apply the filter on a collection of data blob, and return the filtered new collection.
[in] | blobResults | The input data blob collection. |
filterResults | Return the filtered data blob collection. |
void SetFilterFeature | ( | LPVDataBlobFeatures | feature, |
LPVAggregation | aggType, | ||
double | lowerBound, | ||
double | upperBound | ||
) |
Configure the filtering feature and its limitation. You can define multiple joint filtering features in one data blob filter.
[in] | feature | The filtering feature, see LPVDataBlobFeatures. |
[in] | aggType | The aggregation type of the data, works only for LPVDataBlobData. |
[in] | lowerBound | The lower bound of the limitation. |
[in] | upperBound | The upper bound of the limitation. |