93 Vertex getCursorVertex() const; |
93 Vertex getCursorVertex() const; |
94 bool keyReleased(QKeyEvent* ev) override; |
94 bool keyReleased(QKeyEvent* ev) override; |
95 virtual int maxVertices() const; |
95 virtual int maxVertices() const; |
96 bool mouseReleased(const AbstractEditMode::MouseEventData& data) override; |
96 bool mouseReleased(const AbstractEditMode::MouseEventData& data) override; |
97 virtual bool preAddVertex(Vertex const&); |
97 virtual bool preAddVertex(Vertex const&); |
|
98 Vertex projectToDrawPlane(const Vertex& vertex) const; |
98 void renderPolygon(QPainter& painter, const QVector<Vertex>& poly3d, bool withlengths, bool withangles) const; |
99 void renderPolygon(QPainter& painter, const QVector<Vertex>& poly3d, bool withlengths, bool withangles) const; |
99 }; |
100 }; |
100 |
101 |
101 /* |
102 /* |
102 * Base class for select-like edit modes |
103 * Base class for select-like edit modes |