CPerspectiveCalibration2dComp.h
Go to the documentation of this file.
1 #ifndef icalib_CPerspectiveCalibration2dComp_included
2 #define icalib_CPerspectiveCalibration2dComp_included
3 
4 
5 // ACF includes
6 #include <icomp/CComponentBase.h>
7 
8 // ACF-Solutions includes
10 
11 
12 namespace icalib
13 {
14 
15 
20 {
21 public:
24 
25  I_BEGIN_COMPONENT(CPerspectiveCalibration2dComp);
26  I_REGISTER_INTERFACE(ICalibration2d);
27  I_REGISTER_INTERFACE(ITransformation2d);
28  I_REGISTER_INTERFACE(iser::ISerializable);
29  I_REGISTER_INTERFACE(CPerspectiveCalibration2d);
30  I_ASSIGN(m_argumentAreaCompPtr, "ArgumentArea", "Area where argument positions are guilty", false, "ArgumentArea");
31  I_ASSIGN(m_resultAreaCompPtr, "ResultArea", "Area where result positions are guilty", false, "ResultArea");
32  I_ASSIGN(m_argumentUnitInfoCompPtr, "ArgumentUnitInfo", "Unit information for calibration argument", false, "ArgumentUnitInfo");
33  I_ASSIGN(m_resultUnitInfoCompPtr, "ResultUnitInfo", "Unit information for calibration argument", false, "ResultUnitInfo");
34  I_END_COMPONENT;
35 
36 protected:
37  // reimplemented (icomp::CComponentBase)
38  virtual void OnComponentCreated();
39  virtual void OnComponentDestroyed();
40 
41 private:
42  I_REF(i2d::CRectangle, m_argumentAreaCompPtr);
43  I_REF(i2d::CRectangle, m_resultAreaCompPtr);
44  I_REF(imath::IUnitInfo, m_argumentUnitInfoCompPtr);
45  I_REF(imath::IUnitInfo, m_resultUnitInfoCompPtr);
46 };
47 
48 
49 } // namespace icalib
50 
51 
52 #endif // !icalib_CPerspectiveCalibration2dComp_included
53 
54 
Attributable component for perspective 2D calibration.

© 2007-2017 Witold Gantzke and Kirill Lepskiy