src/glRenderer.h

changeset 825
f7649c9bfd9a
parent 823
1a2f593f0c02
child 827
82469b40567e
equal deleted inserted replaced
824:6add2126e7ff 825:f7649c9bfd9a
157 Vertex coordconv2_3 (const QPoint& pos2d, bool snap) const; 157 Vertex coordconv2_3 (const QPoint& pos2d, bool snap) const;
158 QPoint coordconv3_2 (const Vertex& pos3d) const; 158 QPoint coordconv3_2 (const Vertex& pos3d) const;
159 EditModeType currentEditModeType() const; 159 EditModeType currentEditModeType() const;
160 void drawBlip (QPainter& paint, QPoint pos) const; 160 void drawBlip (QPainter& paint, QPoint pos) const;
161 void drawGLScene(); 161 void drawGLScene();
162 void endDraw (bool accept);
163 void forgetObject (LDObjectPtr obj); 162 void forgetObject (LDObjectPtr obj);
164 Axis getCameraAxis (bool y, ECamera camid = (ECamera) -1); 163 Axis getCameraAxis (bool y, ECamera camid = (ECamera) -1);
165 const char* getCameraName() const; 164 const char* getCameraName() const;
166 double getDepthValue() const; 165 double getDepthValue() const;
167 LDFixedCamera const& getFixedCamera (ECamera cam) const; 166 LDFixedCamera const& getFixedCamera (ECamera cam) const;
239 inline double& pan (Axis ax); 238 inline double& pan (Axis ax);
240 inline const double& pan (Axis ax) const; 239 inline const double& pan (Axis ax) const;
241 void pick (int mouseX, int mouseY); 240 void pick (int mouseX, int mouseY);
242 LDObjectPtr pickOneObject (int mouseX, int mouseY); 241 LDObjectPtr pickOneObject (int mouseX, int mouseY);
243 inline double& rot (Axis ax); 242 inline double& rot (Axis ax);
244 void updateRectVerts();
245 inline double& zoom(); 243 inline double& zoom();
246 void zoomToFit(); 244 void zoomToFit();
247 void zoomAllToFit(); 245 void zoomAllToFit();
248 246
249 template<typename... Args> 247 template<typename... Args>

mercurial