CCircleFinderParams.h
Go to the documentation of this file.
1 #ifndef iipr_CCircleFinderParams_included
2 #define iipr_CCircleFinderParams_included
3 
4 
6 
7 
8 namespace iipr
9 {
10 
11 
13 {
14 public:
16 
17  // reimplemented (iipr::ICircleFinderParams)
18  virtual int GetCaliperMode() const;
19  virtual void SetCaliperMode(int caliperMode);
20  virtual bool IsOutlierEliminationEnabled() const;
21  virtual void SetOutlierEliminationEnabled(bool isOutlierEliminationEnabled = true);
22  virtual double GetMinOutlierDistance() const;
23  virtual void SetMinOutlierDistance(double minOutlierDistance);
24  virtual int GetRaysCount() const;
25  virtual void SetRaysCount(int raysCount);
26 
27  // reimplemented (iser::ISerializable)
28  virtual bool Serialize(iser::IArchive& archive);
29 
30 private:
31  bool m_isOutlierEliminationEnabled;
32  double m_minOutlierDistance;
33  int m_raysCount;
34  int m_caliperMode;
35 };
36 
37 
38 } // namespace iipr
39 
40 
41 #endif // !iipr_CCircleFinderParams_included
42 
43 
virtual int GetRaysCount() const
Get the number of projection rays using for the find the circle points.
virtual double GetMinOutlierDistance() const
Get the minimal outlier distance.
virtual void SetCaliperMode(int caliperMode)
Set caliper mode.
virtual void SetRaysCount(int raysCount)
Set the number of projection rays using for the find the circle points.
virtual void SetOutlierEliminationEnabled(bool isOutlierEliminationEnabled=true)
Enable the outlier elimination.
virtual bool Serialize(iser::IArchive &archive)
virtual int GetCaliperMode() const
Get caliper mode.
Interface for the circle finder parameter.
virtual void SetMinOutlierDistance(double minOutlierDistance)
Set minimal outlier distance.
virtual bool IsOutlierEliminationEnabled() const
Return true, if the outlier elimination is activated.

© 2007-2011 Witold Gantzke and Kirill Lepskiy