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 const imath::IUnitInfo* GetDistanceUnitInfo() const;
25  virtual int GetRaysCount() const;
26  virtual void SetRaysCount(int raysCount);
27 
28  // reimplemented (iser::ISerializable)
29  virtual bool Serialize(iser::IArchive& archive);
30 
31 private:
32  bool m_isOutlierEliminationEnabled;
33  double m_minOutlierDistance;
34  int m_raysCount;
35  int m_caliperMode;
36 };
37 
38 
39 } // namespace iipr
40 
41 
42 #endif // !iipr_CCircleFinderParams_included
43 
44 
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 const imath::IUnitInfo * GetDistanceUnitInfo() const
Get information about distance unit.
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-2017 Witold Gantzke and Kirill Lepskiy