ICircleFinderParams.h
Go to the documentation of this file.
1 #ifndef iipr_ICircleFinderParams_included
2 #define iipr_ICircleFinderParams_included
3 
4 
5 // ACF includes
6 #include <iser/ISerializable.h>
7 #include <imath/IUnitInfo.h>
8 
9 
10 namespace iipr
11 {
12 
13 
18 {
19 public:
20 
25  {
30 
35  };
36 
37 
42  virtual int GetCaliperMode() const = 0;
43 
48  virtual void SetCaliperMode(int caliperMode) = 0;
49 
53  virtual bool IsOutlierEliminationEnabled() const = 0;
54 
58  virtual void SetOutlierEliminationEnabled(bool isOutlierEliminationEnabled = true) = 0;
59 
63  virtual double GetMinOutlierDistance() const = 0;
64 
68  virtual void SetMinOutlierDistance(double minOutlierDistance) = 0;
69 
73  virtual const imath::IUnitInfo* GetDistanceUnitInfo() const = 0;
74 
78  virtual int GetRaysCount() const = 0;
79 
83  virtual void SetRaysCount(int raysCount) = 0;
84 };
85 
86 
87 } // namespace iipr
88 
89 
90 #endif // !iipr_ICircleFinderParams_included
91 
92 
virtual const imath::IUnitInfo * GetDistanceUnitInfo() const =0
Get information about distance unit.
virtual void SetRaysCount(int raysCount)=0
Set the number of projection rays using for the find the circle points.
virtual double GetMinOutlierDistance() const =0
Get the minimal outlier distance.
virtual void SetOutlierEliminationEnabled(bool isOutlierEliminationEnabled=true)=0
Enable the outlier elimination.
virtual void SetCaliperMode(int caliperMode)=0
Set caliper mode.
virtual bool IsOutlierEliminationEnabled() const =0
Return true, if the outlier elimination is activated.
Interface for the circle finder parameter.
The first found caliper is taked for circle calculation.
The best found caliper is taked for circle calculation.
virtual int GetRaysCount() const =0
Get the number of projection rays using for the find the circle points.
virtual void SetMinOutlierDistance(double minOutlierDistance)=0
Set minimal outlier distance.
virtual int GetCaliperMode() const =0
Get caliper mode.

© 2007-2017 Witold Gantzke and Kirill Lepskiy