CPerspectiveCalibrationShape.h
Go to the documentation of this file.
1 #ifndef icalibgui_CPerspectiveCalibrationShape_included
2 #define icalibgui_CPerspectiveCalibrationShape_included
3 
4 
6 
7 
8 namespace icalibgui
9 {
10 
11 
17 {
18 public:
20 
21  // reimplemented (imod::IObserver)
22  virtual void Invalidate();
23 
24  // reimplemented (iview::IVisualizable)
25  virtual void Draw(QPainter& drawContext) const;
26 
27 protected:
28  bool GetLineScreenPosition(const i2d::ICalibration2d& calib, const i2d::CLine2d& logLine, int gridSize, QPointF& point1, QPointF& point2) const;
29 };
30 
31 
32 } // namespace icalibgui
33 
34 
35 #endif // !icalibgui_CPerspectiveCalibrationShape_included
36 
37 
Shape object for none calibration.
virtual void Draw(QPainter &drawContext) const
Shape object for perspective calibration.
bool GetLineScreenPosition(const i2d::ICalibration2d &calib, const i2d::CLine2d &logLine, int gridSize, QPointF &point1, QPointF &point2) const

© 2007-2017 Witold Gantzke and Kirill Lepskiy