ISearchParams.h
Go to the documentation of this file.
1 #ifndef iipr_IISearchParams_included
2 #define iipr_IISearchParams_included
3 
4 
5 // ACF includes
6 #include "iser/ISerializable.h"
7 #include "i2d/CRectangle.h"
8 #include "iimg/IBitmap.h"
9 
10 
11 namespace iipr
12 {
13 
14 
15 class ISearchConstraints;
16 
17 
21 class ISearchParams: virtual public iser::ISerializable
22 {
23 public:
27  virtual const ISearchConstraints* GetSearchConstraints() const = 0;
28 
32  virtual double GetMinScore() const = 0;
33 
37  virtual void SetMinScore(double minScore) = 0;
38 
42  virtual const istd::CRange& GetRotationRange() const = 0;
43 
48  virtual void SetRotationRange(const istd::CRange& angleRange) = 0;
49 
54  virtual const istd::CRange& GetScaleRange() const = 0;
55 
59  virtual void SetScaleRange(const istd::CRange& scaleRange) = 0;
60 
64  virtual int GetNominalModelsCount() const = 0;
65 
70  virtual void SetNominalModelsCount(int nominalModelsCount) = 0;
71 };
72 
73 
74 } // namespace iipr
75 
76 
77 #endif // !iipr_IISearchParams_included
78 
Common interface for a set of parameters for a model search.
Definition: ISearchParams.h:21
virtual int GetNominalModelsCount() const =0
Get the number of models that should be found for a successfull search result.
virtual const istd::CRange & GetRotationRange() const =0
Get rotation range for the model search.
virtual const ISearchConstraints * GetSearchConstraints() const =0
Get constraints for the search parameters.
virtual void SetMinScore(double minScore)=0
Set minimum score for a succefull search.
Interface for search algorithm limitations.
virtual void SetRotationRange(const istd::CRange &angleRange)=0
Set rotation range for the model search.
virtual void SetNominalModelsCount(int nominalModelsCount)=0
Set the number of models that should be found for a successfull search result.
virtual void SetScaleRange(const istd::CRange &scaleRange)=0
Set scale range for the model search.
virtual double GetMinScore() const =0
Get minimum score for a succefull search.
virtual const istd::CRange & GetScaleRange() const =0
Get scale range for the model search.

© 2007-2011 Witold Gantzke and Kirill Lepskiy