CNoneCalibration2d.h
Go to the documentation of this file.
1 #ifndef icalib_CNoneCalibration2d
2 #define icalib_CNoneCalibration2d
3 
4 
5 // ACF includes
6 #include <i2d/ICalibration2d.h>
7 
8 
9 namespace icalib
10 {
11 
12 
17 {
18 public:
19  // reimplemented (i2d::ICalibration2d)
20  virtual const i2d::CRectangle* GetArgumentArea() const;
21  virtual const i2d::CRectangle* GetResultArea() const;
22  virtual const imath::IUnitInfo* GetArgumentUnitInfo() const;
23  virtual const imath::IUnitInfo* GetResultUnitInfo() const;
24  virtual const ICalibration2d* CreateCombinedCalibration(const ITransformation2d& transformation) const;
25 
26  // reimplemented (i2d::ITransformation2d)
27  virtual int GetTransformationFlags() const;
28  virtual bool GetDistance(
29  const i2d::CVector2d& origPos1,
30  const i2d::CVector2d& origPos2,
31  double& result,
32  i2d::ITransformation2d::ExactnessMode mode = EM_NONE) const;
33  virtual bool GetLocalTransform(const i2d::CVector2d& logPosition, i2d::CAffine2d& result, ExactnessMode mode = EM_NONE) const;
34  virtual bool GetLocalInvTransform(const i2d::CVector2d& viewPosition, i2d::CAffine2d& result, ExactnessMode mode = EM_NONE) const;
35  virtual bool GetPositionAt(const i2d::CVector2d& viewPosition, i2d::CVector2d& result, ExactnessMode mode = EM_NONE) const;
36  virtual bool GetInvPositionAt(const i2d::CVector2d& logPosition, i2d::CVector2d& result, ExactnessMode mode = EM_NONE) const;
37 
38  // reimplemented (imath::TISurjectFunction)
39  virtual bool GetInvValueAt(const i2d::CVector2d& argument, i2d::CVector2d& result) const;
40  virtual i2d::CVector2d GetInvValueAt(const i2d::CVector2d& argument) const;
41 
42  // reimplemented (imath::TIMathFunction)
43  virtual bool GetValueAt(const i2d::CVector2d& argument, i2d::CVector2d& result) const;
44  virtual i2d::CVector2d GetValueAt(const i2d::CVector2d& argument) const;
45 
46  // reimplemented (iser::ISerializable)
47  virtual bool Serialize(iser::IArchive& archive);
48 
49  // static methods
50  static const CNoneCalibration2d& GetInstance();
51 
52 private:
53  // static attributes
54  static CNoneCalibration2d s_defaultInstance;
55 };
56 
57 
58 } // namespace icalib
59 
60 
61 #endif // !icalib_CNoneCalibration2d
62 
63 
virtual int GetTransformationFlags() const
virtual bool GetInvPositionAt(const i2d::CVector2d &logPosition, i2d::CVector2d &result, ExactnessMode mode=EM_NONE) const
virtual bool GetInvValueAt(const i2d::CVector2d &argument, i2d::CVector2d &result) const
virtual bool GetDistance(const i2d::CVector2d &origPos1, const i2d::CVector2d &origPos2, double &result, i2d::ITransformation2d::ExactnessMode mode=EM_NONE) const
virtual const imath::IUnitInfo * GetArgumentUnitInfo() const
virtual const i2d::CRectangle * GetResultArea() const
virtual bool GetValueAt(const i2d::CVector2d &argument, i2d::CVector2d &result) const
virtual const imath::IUnitInfo * GetResultUnitInfo() const
virtual const ICalibration2d * CreateCombinedCalibration(const ITransformation2d &transformation) const
virtual bool Serialize(iser::IArchive &archive)
virtual bool GetLocalTransform(const i2d::CVector2d &logPosition, i2d::CAffine2d &result, ExactnessMode mode=EM_NONE) const
static const CNoneCalibration2d & GetInstance()
virtual bool GetPositionAt(const i2d::CVector2d &viewPosition, i2d::CVector2d &result, ExactnessMode mode=EM_NONE) const
virtual const i2d::CRectangle * GetArgumentArea() const
Identity calibration, no transformation will be done.
virtual bool GetLocalInvTransform(const i2d::CVector2d &viewPosition, i2d::CAffine2d &result, ExactnessMode mode=EM_NONE) const

© 2007-2017 Witold Gantzke and Kirill Lepskiy