CAffineCalibration2d.h
Go to the documentation of this file.
1 #ifndef icalib_CAffineCalibration2d_included
2 #define icalib_CAffineCalibration2d_included
3 
4 
5 // ACF includes
6 #include <i2d/ICalibration2d.h>
8 #include <i2d/CAffine2d.h>
9 
10 
11 namespace icalib
12 {
13 
14 
20  virtual public i2d::ICalibration2d
21 {
22 public:
24 
26 
27  explicit CAffineCalibration2d(const i2d::CAffine2d& transformation);
28 
29  void SetArgumentArea(const i2d::CRectangle* areaPtr);
30  void SetResultArea(const i2d::CRectangle* areaPtr);
31  void SetArgumentUnitInfo(const imath::IUnitInfo* unitInfoPtr);
32  void SetResultUnitInfo(const imath::IUnitInfo* unitInfoPtr);
33 
34  // reimplemented (i2d::ICalibration2d)
35  virtual const i2d::CRectangle* GetArgumentArea() const;
36  virtual const i2d::CRectangle* GetResultArea() const;
37  virtual const imath::IUnitInfo* GetArgumentUnitInfo() const;
38  virtual const imath::IUnitInfo* GetResultUnitInfo() const;
39  virtual const i2d::ICalibration2d* CreateCombinedCalibration(const i2d::ITransformation2d& transformation) const;
40 
41  // reimplemented (istd::IChangeable)
42  virtual int GetSupportedOperations() const;
43  virtual bool CopyFrom(const istd::IChangeable& object, CompatibilityMode mode = CM_WITHOUT_REFS);
45  virtual bool ResetData(CompatibilityMode mode = CM_WITHOUT_REFS);
46 
47 private:
48  const i2d::CRectangle* m_argumentAreaPtr;
49  const i2d::CRectangle* m_resultAreaPtr;
50  const imath::IUnitInfo* m_argumentUnitInfoPtr;
51  const imath::IUnitInfo* m_resultUnitInfoPtr;
52 };
53 
54 
55 } // namespace icalib
56 
57 
58 #endif // !icalib_CAffineTransformation2d_included
59 
60 
virtual istd::IChangeable * CloneMe(CompatibilityMode mode=CM_WITHOUT_REFS) const
virtual const imath::IUnitInfo * GetResultUnitInfo() const
virtual int GetSupportedOperations() const
virtual const i2d::CRectangle * GetResultArea() const
void SetResultArea(const i2d::CRectangle *areaPtr)
virtual bool CopyFrom(const istd::IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
virtual const imath::IUnitInfo * GetArgumentUnitInfo() const
virtual bool ResetData(CompatibilityMode mode=CM_WITHOUT_REFS)
void SetArgumentUnitInfo(const imath::IUnitInfo *unitInfoPtr)
void SetArgumentArea(const i2d::CRectangle *areaPtr)
Definition of an affine transformation for 2D-spaces.
virtual const i2d::CRectangle * GetArgumentArea() const
virtual const i2d::ICalibration2d * CreateCombinedCalibration(const i2d::ITransformation2d &transformation) const
void SetResultUnitInfo(const imath::IUnitInfo *unitInfoPtr)
i2d::CAffineTransformation2d BaseClass

© 2007-2017 Witold Gantzke and Kirill Lepskiy