CNoneCalibrationShape.h
Go to the documentation of this file.
1 #ifndef icalibgui_CNoneCalibrationShape_included
2 #define icalibgui_CNoneCalibrationShape_included
3 
4 
5 // ACF includes
6 #include <iview/CShapeBase.h>
7 
8 
9 namespace icalibgui
10 {
11 
12 
18 {
19 public:
21 
22  // reimplemented (iview::IVisualizable)
23  virtual void Draw(QPainter& drawContext) const;
24 
25  // reimplemented (iview::IInteractiveShape)
26  virtual TouchState IsTouched(istd::CIndex2d position) const;
27 
28  // reimplemented (iview::IMouseActionObserver)
29  virtual bool OnMouseButton(istd::CIndex2d position, Qt::MouseButton buttonType, bool downFlag);
30  virtual bool OnMouseMove(istd::CIndex2d position);
31 
32 protected:
36  virtual const i2d::ICalibration2d* GetCalibration() const;
37 
38  // reimplemented (iview::CInteractiveShapeBase)
39  virtual void BeginLogDrag(const i2d::CVector2d& reference);
40  virtual void SetLogDragPosition(const i2d::CVector2d& position);
41 
42  // reimplemented (iview::CShapeBase)
43  virtual i2d::CRect CalcBoundingBox() const;
44 };
45 
46 
47 } // namespace icalibgui
48 
49 
50 #endif // !icalibgui_CNoneCalibrationShape_included
51 
52 
virtual bool OnMouseButton(istd::CIndex2d position, Qt::MouseButton buttonType, bool downFlag)
virtual i2d::CRect CalcBoundingBox() const
virtual bool OnMouseMove(istd::CIndex2d position)
Shape object for none calibration.
virtual void BeginLogDrag(const i2d::CVector2d &reference)
virtual TouchState IsTouched(istd::CIndex2d position) const
virtual const i2d::ICalibration2d * GetCalibration() const
Get access to calibration.
virtual void Draw(QPainter &drawContext) const
virtual void SetLogDragPosition(const i2d::CVector2d &position)

© 2007-2017 Witold Gantzke and Kirill Lepskiy