Public Types | Public Member Functions | List of all members
iblob::IBlobFilterParams Class Referenceabstract

Interface for parameters of the blob filtering. More...

#include <IBlobFilterParams.h>

Inheritance diagram for iblob::IBlobFilterParams:
iser::ISerializable i2d::ICalibrationProvider istd::IChangeable istd::IChangeable istd::IPolymorphic istd::IPolymorphic iblob::CBlobFilterParams iblob::CBlobFilterParamsComp

Public Types

enum  FilterOperation { FO_INCLUDE, FO_EXCLUDE }
 
enum  FilterCondition {
  FC_BETWEEN, FC_OUTSIDE, FC_LESS, FC_EQUAL,
  FC_GREATER, FC_LESS_EQUAL, FC_GREATER_EQUAL, FC_NOT_EQUAL
}
 

Public Member Functions

 I_DECLARE_ENUM (FilterCondition, FC_BETWEEN, FC_OUTSIDE, FC_LESS, FC_EQUAL, FC_GREATER, FC_LESS_EQUAL, FC_GREATER_EQUAL, FC_NOT_EQUAL) struct Filter
 
virtual const iprm::IOptionsListGetSupportedProperties () const =0
 
virtual bool IsFiltersEnabled () const =0
 
virtual void SetFiltersEnabled (bool enabled=true)=0
 
virtual int GetFiltersCount () const =0
 
virtual Filter & GetFilterAt (int index)=0
 
virtual const Filter & GetFilterAt (int index) const =0
 
virtual void RemoveFilterAt (int index)=0
 
virtual void ResetFilters ()=0
 
virtual void AddFilter (const Filter &filterInfo)=0
 
- Public Member Functions inherited from i2d::ICalibrationProvider
virtual const ICalibration2dGetCalibration () const =0
 

Detailed Description

Interface for parameters of the blob filtering.

Definition at line 22 of file IBlobFilterParams.h.

Member Enumeration Documentation

Enumerator
FC_BETWEEN 
FC_OUTSIDE 
FC_LESS 
FC_EQUAL 
FC_GREATER 
FC_LESS_EQUAL 
FC_GREATER_EQUAL 
FC_NOT_EQUAL 

Definition at line 40 of file IBlobFilterParams.h.

Enumerator
FO_INCLUDE 

If the extracted blob feature matches specified conditions, it will be passed through.

FO_EXCLUDE 

If the extracted blob feature matches specified conditions, it will be exculded from the result list.

Definition at line 25 of file IBlobFilterParams.h.

Member Function Documentation

virtual void iblob::IBlobFilterParams::AddFilter ( const Filter &  filterInfo)
pure virtual

Implemented in iblob::CBlobFilterParams.

virtual Filter& iblob::IBlobFilterParams::GetFilterAt ( int  index)
pure virtual

Implemented in iblob::CBlobFilterParams.

virtual const Filter& iblob::IBlobFilterParams::GetFilterAt ( int  index) const
pure virtual

Implemented in iblob::CBlobFilterParams.

virtual int iblob::IBlobFilterParams::GetFiltersCount ( ) const
pure virtual

Implemented in iblob::CBlobFilterParams.

virtual const iprm::IOptionsList* iblob::IBlobFilterParams::GetSupportedProperties ( ) const
pure virtual

Implemented in iblob::CBlobFilterParams.

iblob::IBlobFilterParams::I_DECLARE_ENUM ( FilterCondition  ,
FC_BETWEEN  ,
FC_OUTSIDE  ,
FC_LESS  ,
FC_EQUAL  ,
FC_GREATER  ,
FC_LESS_EQUAL  ,
FC_GREATER_EQUAL  ,
FC_NOT_EQUAL   
)
inline

Definition at line 52 of file IBlobFilterParams.h.

References FC_BETWEEN, and FO_INCLUDE.

virtual bool iblob::IBlobFilterParams::IsFiltersEnabled ( ) const
pure virtual

Implemented in iblob::CBlobFilterParams.

virtual void iblob::IBlobFilterParams::RemoveFilterAt ( int  index)
pure virtual

Implemented in iblob::CBlobFilterParams.

virtual void iblob::IBlobFilterParams::ResetFilters ( )
pure virtual

Implemented in iblob::CBlobFilterParams.

virtual void iblob::IBlobFilterParams::SetFiltersEnabled ( bool  enabled = true)
pure virtual

Implemented in iblob::CBlobFilterParams.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy