39 { |
39 { |
40 Q_OBJECT |
40 Q_OBJECT |
41 |
41 |
42 public: |
42 public: |
43 // This is used to construct the free camera |
43 // This is used to construct the free camera |
44 enum FreeToken { FreeCamera }; |
44 enum { FreeCamera }; |
45 |
45 |
46 GLCamera(QString name, FixedCameraParameters&& bag); |
46 GLCamera(QString name, FixedCameraParameters&& bag); |
47 GLCamera(QString name, FreeToken); |
47 GLCamera(QString name, decltype(FreeCamera)); |
48 |
48 |
49 Axis axisX() const; |
49 Axis axisX() const; |
50 Axis axisY() const; |
50 Axis axisY() const; |
51 Axis axisZ() const; |
51 Axis axisZ() const; |
52 Vertex convert2dTo3d(const QPoint& pos2d, Grid* grid = nullptr) const; |
52 Vertex convert2dTo3d(const QPoint& pos2d, Grid* grid = nullptr) const; |