CBlobFilterParams.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 // ACF includes
6 
7 
8 namespace iblob
9 {
10 
11 
12 class CBlobFilterParams: virtual public IBlobFilterParams
13 {
14 public:
16 
20  void SetSupportedProperties(const iprm::IOptionsList* featureListPtr);
21 
22  // reimplemented (IBlobFilterParams)
23  virtual const iprm::IOptionsList* GetSupportedProperties() const;
24  virtual bool IsFiltersEnabled() const;
25  virtual void SetFiltersEnabled(bool enabled = true);
26  virtual int GetFiltersCount() const;
27  virtual Filter& GetFilterAt(int index);
28  virtual const Filter& GetFilterAt(int index) const;
29  virtual void RemoveFilterAt(int index);
30  virtual void ResetFilters();
31  virtual void AddFilter(const Filter& filterInfo);
32 
33  // reimplemented (i2d::ICalibrationProvider)
34  virtual const i2d::ICalibration2d* GetCalibration() const;
35 
36  // reimplemented (i2d::ICalibrationProvider)
37  virtual bool Serialize(iser::IArchive& archive);
38 
39 private:
40  typedef QList<Filter> FilterList;
41  FilterList m_filters;
42 
43  bool m_filtersEnabled;
44 
45  const iprm::IOptionsList* m_supportedFeaturesListPtr;
46 };
47 
48 
49 } // namespace iblob
50 
51 
virtual void AddFilter(const Filter &filterInfo)
virtual const iprm::IOptionsList * GetSupportedProperties() const
virtual int GetFiltersCount() const
void SetSupportedProperties(const iprm::IOptionsList *featureListPtr)
Set list of supported features.
virtual void SetFiltersEnabled(bool enabled=true)
virtual const i2d::ICalibration2d * GetCalibration() const
virtual Filter & GetFilterAt(int index)
virtual bool IsFiltersEnabled() const
virtual void ResetFilters()
Interface for parameters of the blob filtering.
virtual bool Serialize(iser::IArchive &archive)
virtual void RemoveFilterAt(int index)

© 2007-2017 Witold Gantzke and Kirill Lepskiy