ISearchConstraints.h
Go to the documentation of this file.
1 #ifndef iipr_IISearchParamsConstraints_included
2 #define iipr_IISearchParamsConstraints_included
3 
4 
5 #include <istd/IChangeable.h>
6 #include <istd/TRange.h>
7 
8 
9 namespace iipr
10 {
11 
12 
17 {
18 public:
24  {
25  SSF_NONE = 0,
29  SSF_TRANSLATION = 1 << 0,
33  SSF_ROTATION = 1 << 1,
37  SSF_SCALING = 1 << 2,
46  };
47 
51  virtual int GetSearchSupportedFlags() const = 0;
55  virtual const istd::CRange& GetRotationRangeConstraints() const = 0;
59  virtual const istd::CRange& GetScaleRangeConstraints() const = 0;
63  virtual const istd::CIntRange& GetResultsCountConstraints() const = 0;
64 };
65 
66 
67 } // namespace iipr
68 
69 
70 #endif // !iipr_IISearchParamsConstraints_included
71 
Translation is supported by model search.
virtual const istd::CIntRange & GetResultsCountConstraints() const =0
Get boundaries of result count.
More than one result is supported.
virtual const istd::CRange & GetScaleRangeConstraints() const =0
Get boundaries of scaling range.
virtual const istd::CRange & GetRotationRangeConstraints() const =0
Get boundaries of rotation range.
Scaling is supported by model search.
Interface for search algorithm limitations.
virtual int GetSearchSupportedFlags() const =0
Get set of supported options.
Rotation is supported by model search.
SearchSupportedFlags
List of flags for supported options.
Quality score threshold is supported.

© 2007-2017 Witold Gantzke and Kirill Lepskiy