src/editmodes/abstractEditMode.h

changeset 1390
3eace926af7f
parent 1326
69a90bd2dba2
child 1419
f7c53002a990
equal deleted inserted replaced
1389:3fb8ad4d27b1 1390:3eace926af7f
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

mercurial